~AllocateRequestList();
AllocateRequestList(const AllocateRequestList &obj) = delete;
+ typedef std::function<void(const WMClient *)> onEndDraw;
+ typedef std::function<void(const WMClient *)> onReverted;
+
+ // Client Database Interface
void addClient(WMClient* client);
+ WMClient* loopUpClient(const char* appid);
+
+ // Request Interface
+ bool hasRequestingApp(const char *appid);
+ void revertRequestingState();
+ void removeAllRequesting();
+ bool addRequest(WMClient *, onEndDraw, onReverted);
+
+ //void revertRequestingState();//???
/* bool queue(int request_num);
bool pushTop(int request_num);