diff options
Diffstat (limited to 'include/erebos/contact.h')
-rw-r--r-- | include/erebos/contact.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/erebos/contact.h b/include/erebos/contact.h index 24a4c89..963e22a 100644 --- a/include/erebos/contact.h +++ b/include/erebos/contact.h @@ -73,20 +73,18 @@ struct ContactAccepted; class ContactService : public PairingService<ContactAccepted> { public: - ContactService(); + ContactService(Config &&, const Server &); virtual ~ContactService(); UUID uuid() const override; - void serverStarted(const class Server &) override; - void request(const Peer &); protected: virtual Stored<ContactAccepted> handlePairingComplete(const Peer &) override; virtual void handlePairingResult(Context &, Stored<ContactAccepted>) override; - const class Server * server; + const Server & server; }; template<class T> class Signed; |