cwUiTest.cpp : Changed connect/disconnect info message.

This commit is contained in:
kevin.larke 2020-04-24 16:37:15 -04:00
parent 460e7d0048
commit 0fc0dcf1be

View File

@ -15,9 +15,9 @@ namespace cw
{ {
typedef struct ui_test_str typedef struct ui_test_str
{ {
const char* uiCfgFn; const char* uiCfgFn;
srv::handle_t wsUiSrvH; srv::handle_t wsUiSrvH;
bool appCheckFl; bool appCheckFl;
unsigned appSelectIndex; unsigned appSelectIndex;
int appInteger; int appInteger;
@ -68,7 +68,7 @@ namespace cw
if((rc = createDiv( uiH, divUuId, wsSessId, kInvalidId, "myDivId", kDivId, "divClass", "My Panel" )) != kOkRC ) if((rc = createDiv( uiH, divUuId, wsSessId, kInvalidId, "myDivId", kDivId, "divClass", "My Panel" )) != kOkRC )
goto errLabel; goto errLabel;
if((rc = createButton( uiH, uuid, wsSessId, divUuId, "myBtnId", kBtnId, "btnClass", "Push Me" )) != kOkRC ) if((rc = createButton( uiH, uuid, wsSessId, divUuId, "myBtnId", kBtnId, "btnClass", "Push Me" )) != kOkRC )
goto errLabel; goto errLabel;
@ -190,11 +190,11 @@ namespace cw
switch( opId ) switch( opId )
{ {
case kConnectOpId: case kConnectOpId:
cwLogInfo("Connect: wsSessId:%i.",wsSessId); cwLogInfo("UI Test Connect: wsSessId:%i.",wsSessId);
break; break;
case kDisconnectOpId: case kDisconnectOpId:
cwLogInfo("Disconnect: wsSessId:%i.",wsSessId); cwLogInfo("UI Test Disconnect: wsSessId:%i.",wsSessId);
break; break;
case kInitOpId: case kInitOpId: