Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

MUserClient.h

00001 /*
00002 
00003     This file is part of la Marmite.
00004     Copyright (C) 2005 Nicolas Falquet.
00005 
00006     La Marmite is free software ; you can redistribute it and/or
00007     modify it under the terms of the GNU General Public License as
00008     published by the Free Software Foundation ; either version 2 of
00009     the License, or (at your option) any later version.
00010 
00011     La Marmite is distributed in the hope that it will be useful, but
00012     WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014     General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with la Marmite ; if not, write to the Free Software
00018     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00019     02111-1307  USA
00020 
00021 */
00022 
00023 #ifndef M_USER_CLIENT_H
00024 #define M_USER_CLIENT_H
00025 
00026 #include "MClient.h"
00027 
00036 class MUserClient : public MClient
00037 {
00038 
00039   Q_OBJECT
00040 
00041 public :
00042 
00043   // constructor - destructor
00044 
00051   static MUserClient * Create ( const string & name, QObject * parent = 0 );
00052 
00053   virtual ~ MUserClient ( ) { }
00054 
00055   // functions
00056 
00060   MClientAudioInputPort * CreateAudioInput ( const string & portName );
00061 
00065   MClientAudioOutputPort * CreateAudioOutput ( const string & portName );
00066   //  virtual void CreateControlInput ( const string & portName );
00067   //  virtual void CreateControlOutput ( const string & portName );
00068 
00072   virtual void RemovePort ( MPort * port );
00073 
00077   virtual void SetCallbackProcess ( MProcess * callback );
00078 
00082   virtual void RemoveCallbackProcess ( );
00083 
00084 protected :
00085 
00086   // protected constructor
00087 
00088   MUserClient ( const string & name, jack_client_t * jackClient, QObject * parent )
00089     : MClient ( name, jackClient, parent ) { };
00090 
00091 };
00092 
00093 #endif // M_USER_CLIENT_H

Generated on Mon Jan 31 12:43:31 2005 for la Marmite by Doxygen 1.4.1