sessions dynamically removed
This commit is contained in:
parent
1cee03aba6
commit
70f5475849
9 changed files with 114 additions and 73 deletions
|
|
@ -66,8 +66,11 @@ public:
|
|||
Endpoint* getEndpoint();
|
||||
|
||||
/*Session*/
|
||||
void addSession(Session* session);
|
||||
void addSessionSendFront(Session* session);
|
||||
void setAddSessionWidgetFunction(std::function<void(SessionHandler*)> addSessionWidget);
|
||||
void setRemoveSessionWidgetFunction(std::function<void(SessionHandler*)> removeSessionWidget);
|
||||
void sendSessionToFront(SessionHandler* sh);
|
||||
void removeSessionFromFront(SessionHandler* sh);
|
||||
|
||||
~EndpointHandler();
|
||||
private:
|
||||
|
|
@ -86,6 +89,7 @@ private:
|
|||
EndpointNewSessionCallback* ensc;
|
||||
std::vector<SessionHandler*> sessionHandlers;
|
||||
std::function<void(SessionHandler*)> addSessionWidget;
|
||||
std::function<void(SessionHandler*)> removeSessionWidget;
|
||||
//QSlider *slidy;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue