cwIo.h/cpp : Changes due to changes in cwUi interface.

This commit is contained in:
kevin 2021-11-04 09:34:15 -04:00
parent 9848068d3c
commit dd0f7a1aba
2 changed files with 6 additions and 6 deletions

View File

@ -2539,7 +2539,7 @@ cw::rc_t cw::io::socketSend( handle_t h, unsigned sockIdx, const void* data,
//
// UI
//
/*
unsigned cw::io::uiFindElementAppId( handle_t h, unsigned parentUuId, const char* eleName )
{
rc_t rc;
@ -2554,7 +2554,7 @@ unsigned cw::io::uiFindElementUuId( handle_t h, unsigned parentUuId, const
rc_t rc;
ui::handle_t uiH;
if((rc = _handleToUiHandle(h,uiH)) == kOkRC )
return ui::findElementUuId(uiH, parentUuId, eleName );
return ui::parentAndNameToUuId(uiH, parentUuId, eleName );
return kInvalidId;
}
@ -2566,7 +2566,7 @@ const char* cw::io::uiFindElementName( handle_t h, unsigned uuId )
return ui::findElementName(uiH, uuId );
return nullptr;
}
*/
unsigned cw::io::uiFindElementAppId( handle_t h, unsigned uuId )
{
rc_t rc;

6
cwIo.h
View File

@ -266,9 +266,9 @@ namespace cw
// Find id's associated with elements.
unsigned uiFindElementAppId( handle_t h, unsigned parentUuId, const char* eleName );
unsigned uiFindElementUuId( handle_t h, unsigned parentUuId, const char* eleName );
unsigned uiFindElementUuId( handle_t h, unsigned parentUuId, unsigned appId );
//unsigned uiFindElementAppId( handle_t h, unsigned parentUuId, const char* eleName );
//unsigned uiFindElementUuId( handle_t h, unsigned parentUuId, const char* eleName );
//unsigned uiFindElementUuId( handle_t h, unsigned parentUuId, unsigned appId );
const char* uiFindElementName( handle_t h, unsigned uuId );
unsigned uiFindElementAppId( handle_t h, unsigned uuId );