AudioAgent.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 
00022 #ifndef __AUDIOAGENT
00023 #define __AUDIOAGENT
00024 
00025 #include <Y2.h>
00026 #include <scr/SCRAgent.h>
00027 
00028 using std::string;
00029 using std::vector;
00030 using std::map;
00031 
00032 #include "AlsaAudio.h"
00033 #include "OSSAudio.h"
00034 
00035 /* An interface class between YaST2 and RcFile */
00036 class AudioAgent : public SCRAgent {
00037 public:
00038     AudioAgent();
00039     virtual ~AudioAgent();
00040     
00041     virtual YCPValue Read (     const YCPPath &path,
00042                                 const YCPValue& arg = YCPNull(),
00043                                 const YCPValue& opt = YCPNull());
00044 
00045     virtual YCPBoolean Write (  const YCPPath &path,
00046                                 const YCPValue& value,
00047                                 const YCPValue& arg = YCPNull());
00048     
00049     virtual YCPList Dir (       const YCPPath& path);
00050     
00051     virtual YCPValue Execute (  const YCPPath& path,
00052                                 const YCPValue& value = YCPNull(),
00053                                 const YCPValue& arg = YCPNull());
00054     
00055     virtual YCPValue otherCommand(const YCPTerm& term);
00056 };
00057 
00058 #endif /* _AudioAgent_h */

Generated on Thu Jul 6 00:28:51 2006 for yast2-sound by  doxygen 1.4.6