libcm/cmUiRtSysMstr.h
kevin 7ce3d9b72a cmRtSys.h/c and cmRtSysMsg.h: Replacement for cmAudioSys.h/c. Initial Commit.
cmUiRtSysMstr.h/c: Renamed from cmUiAudioSys.h/c.
2013-04-08 22:59:10 -07:00

41 рядки
1.0 KiB
C

#ifndef cmUiRtSysMstr_h
#define cmUiRtSysMstr_h
#ifdef __cplusplus
extern "C" {
#endif
enum
{
kOkAmRC = cmOkRC,
kUiFailAmRC,
kPanelNotFoundAmRC
};
typedef cmHandle_t cmUiRtMstrH_t;
typedef cmRC_t cmAmRC_t;
extern cmUiRtMstrH_t cmUiRtMstrNullHandle;
cmAmRC_t cmUiRtSysMstrAlloc( cmCtx_t* ctx, cmUiRtMstrH_t* hp, cmUiH_t uiH, cmRtSysH_t asH, unsigned appId );
cmAmRC_t cmUiRtSysMstrFree( cmUiRtMstrH_t* hp );
bool cmUiRtSysMstrIsValid( cmUiRtMstrH_t h );
cmAmRC_t cmUiRtSysMstrInitialize( cmUiRtMstrH_t h, const cmRtSysCtx_t* c, const cmChar_t* inDevLabel, const cmChar_t* outDevLabel );
// Receive UI events.
cmUiRC_t cmUiRtSysMstrOnUiEvent( cmUiRtMstrH_t h, const cmUiDriverArg_t* a );
// Receive UI status events
cmUiRC_t cmUiRtSysMstrOnStatusEvent( cmUiRtMstrH_t h, const cmRtSysStatus_t* m, const double* iMeterArray, const double* oMeterArray );
// Clear the status indicators.
void cmUiRtSysMstrClearStatus( cmUiRtMstrH_t h );
#ifdef __cplusplus
}
#endif
#endif