Add enabled() predicate to LASH_Client...

This commit is contained in:
Jonathan Moore Liles 2008-05-15 20:01:56 -05:00
parent 558cec0965
commit 8af768cb90
2 changed files with 7 additions and 1 deletions

View File

@ -52,6 +52,12 @@ LASH_Client::init ( const char *jack_name, const char *long_name, int *argc, cha
return true; return true;
} }
bool
LASH_Client::enabled ( void )
{
return lash_enabled( _client );
}
/** process any queued events */ /** process any queued events */
void void
LASH_Client::poll ( void ) LASH_Client::poll ( void )

View File

@ -17,7 +17,6 @@
/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/*******************************************************************************/ /*******************************************************************************/
/* generic master class for interfacing with LASH... */ /* generic master class for interfacing with LASH... */
#pragma once #pragma once
@ -39,6 +38,7 @@ public:
virtual ~LASH_Client ( ); virtual ~LASH_Client ( );
bool init ( const char *jack_name, const char *full_name, int *argc, char ***argv ); bool init ( const char *jack_name, const char *full_name, int *argc, char ***argv );
bool enabled ( void );
void poll ( void ); void poll ( void );
void project_save ( void ); void project_save ( void );