extern const char kKeyScale[];
extern const char kKeyIds[];
+typedef struct WMClientCtxt
+{
+ std::string name;
+ std::string role;
+ WMClientCtxt(const char *appName, const char* appRole)
+ {
+ name = appName;
+ role = appRole;
+ }
+} WMClientCtxt;
+
struct id_allocator
{
unsigned next = 1;
const char* convertRoleOldToNew(char const *role);
// Do not use this function
void timerHandler();
+ void onApplicationTerminated(const WMClientCtxt& ctxt);
private:
bool pop_pending_events();