diff options
author | Javier <dev.git@javispedro.com> | 2016-01-01 22:05:42 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2016-01-01 22:05:42 +0100 |
commit | a45977185a485624095bff1a15024e9199eee676 (patch) | |
tree | 6cc57d085bdd01e493477c870dbe0548137998e1 /sapconnectionrequest.h | |
parent | a24034bdfea259cdc09c74217be75d4f9de0dce5 (diff) | |
download | sapd-a45977185a485624095bff1a15024e9199eee676.tar.gz sapd-a45977185a485624095bff1a15024e9199eee676.zip |
reorganize source files into SAP and agents
Diffstat (limited to 'sapconnectionrequest.h')
-rw-r--r-- | sapconnectionrequest.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sapconnectionrequest.h b/sapconnectionrequest.h deleted file mode 100644 index bbb4a0e..0000000 --- a/sapconnectionrequest.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef SAPCONNECTIONREQUEST_H -#define SAPCONNECTIONREQUEST_H - -#include <QtCore/QList> - -class SAPPeer; -class SAPConnection; - -class SAPConnectionRequest -{ - SAPConnectionRequest(SAPConnection *conn, int initiatorId, int acceptorId); - -public: - SAPPeer * peer(); - SAPConnection *connection(); - - void accept(); - void reject(int reason = 1); - -protected: - int initiatorId() const; - int acceptorId() const; - -private: - SAPConnection *_conn; - int _initiator; - int _acceptor; - - friend class SAPPeer; -}; - -#endif // SAPCONNECTIONREQUEST_H |