Handle job notification.
This commit is contained in:
parent
1ecee56eb6
commit
4c06d8b080
5 changed files with 37 additions and 2 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
|
||||
class Client;
|
||||
class Job;
|
||||
|
||||
|
||||
class IClientListener
|
||||
|
@ -33,7 +34,9 @@ class IClientListener
|
|||
public:
|
||||
virtual ~IClientListener() {}
|
||||
|
||||
virtual void onJobReceived(Client *client, const Job &job) = 0;
|
||||
virtual void onLoginCredentialsRequired(Client *client) = 0;
|
||||
virtual void onLoginSuccess(Client *client) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue