Browse Source

Add enabled() predicate to LASH_Client...

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
8af768cb90
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      Timeline/LASH_Client.C
  2. +1
    -1
      Timeline/LASH_Client.H

+ 6
- 0
Timeline/LASH_Client.C 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 )


+ 1
- 1
Timeline/LASH_Client.H 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 );


Loading…
Cancel
Save