cwIo.h/cpp, cwPresetSel.h : Added comments.

This commit is contained in:
kevin 2024-01-06 08:43:42 -05:00
parent 7d7f0c1bc9
commit c7cbb5f62f
3 changed files with 7 additions and 2 deletions

View File

@ -2366,6 +2366,7 @@ cw::rc_t cw::io::exec( handle_t h, void* execCbArg )
if( p->wsUiH.isValid() )
{
ui::flushCache( ui::ws::uiHandle( p->wsUiH ));
// Note this call blocks on the websocket handle: See cwUi.h:ws:exec()
rc = ui::ws::exec( p->wsUiH );
}

4
cwIo.h
View File

@ -164,7 +164,11 @@ namespace cw
rc_t start( handle_t h );
rc_t pause( handle_t h );
rc_t stop( handle_t h );
// Note that this call blocks on the the UI websocket handle.
// See ui:ws:exec().
rc_t exec( handle_t h, void* execCbArg=nullptr );
bool isShuttingDown( handle_t h );
void report( handle_t h );
void realTimeReport( handle_t h );

View File

@ -13,8 +13,8 @@ namespace cw
bool playFl; // play this preset
bool seqFl; // play this preset during sequencing.
unsigned preset_idx; // preset index into preset_labelA[].
unsigned order; //
char* alt_str;
unsigned order; // selection label
char* alt_str; // 'alt' label
} preset_t;
typedef struct frag_str