yast2-sound
AudioAgent.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 
22 #ifndef __AUDIOAGENT
23 #define __AUDIOAGENT
24 
25 #include <scr/SCRAgent.h>
26 
27 using std::string;
28 using std::vector;
29 using std::map;
30 
31 #include "AlsaAudio.h"
32 #include "OSSAudio.h"
33 
34 /* An interface class between YaST2 and RcFile */
35 class AudioAgent : public SCRAgent {
36 public:
37  AudioAgent();
38  virtual ~AudioAgent();
39 
40  virtual YCPValue Read ( const YCPPath &path,
41  const YCPValue& arg = YCPNull(),
42  const YCPValue& opt = YCPNull());
43 
44  virtual YCPBoolean Write ( const YCPPath &path,
45  const YCPValue& value,
46  const YCPValue& arg = YCPNull());
47 
48  virtual YCPList Dir ( const YCPPath& path);
49 
50  virtual YCPValue Execute ( const YCPPath& path,
51  const YCPValue& value = YCPNull(),
52  const YCPValue& arg = YCPNull());
53 
54  virtual YCPValue otherCommand(const YCPTerm& term);
55 };
56 
57 #endif /* _AudioAgent_h */

Generated on a sunny day for yast2-sound by doxygen 1.8.2