diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-08 12:14:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-08 12:14:56 +0000 |
commit | ac13aa1584ca595da727308406c87ec1bd9f5a21 (patch) | |
tree | 2cbda67ad0e66eec4614643c6b0a91f2584c4484 /plugins/FavContacts/src/cserver.h | |
parent | abebf2658d6cb4c879f0952b77a576733494c96f (diff) |
FavContacts:
- broken group functionality restored;
- metacontacts support (patch by bio);
- built-in http server wiped out;
- optimized memory usage;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@9730 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FavContacts/src/cserver.h')
-rw-r--r-- | plugins/FavContacts/src/cserver.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/plugins/FavContacts/src/cserver.h b/plugins/FavContacts/src/cserver.h deleted file mode 100644 index f96c87b2c1..0000000000 --- a/plugins/FavContacts/src/cserver.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef cserver_h__
-#define cserver_h__
-
-class IConnectionProcessor
-{
-public:
- virtual ~IConnectionProcessor() {}
- virtual void ProcessConnection() = 0;
-};
-
-class IConnectionProcessorFactory
-{
-public:
- virtual IConnectionProcessor *Create(CSocket *s) = 0;
-};
-
-class CServer
-{
-private:
- SOCKET m_socket;
- IConnectionProcessorFactory *m_connectionProcessorFactory;
-
- DWORD ConnectionAcceptThread();
- DWORD ConnectionProcessThread(SOCKET s);
-
- static void GlobalConnectionAcceptThread(void *arg);
-
- struct GlobalConnectionProcessThreadArgs
- {
- CServer *m_server;
- SOCKET m_socket;
-
- GlobalConnectionProcessThreadArgs(CServer *server, SOCKET s): m_server(server), m_socket(s) {}
- };
- static void GlobalConnectionProcessThread(void *arg);
-
-public:
- void Start(int port, IConnectionProcessorFactory *connectionProcessorFactory, bool background);
- void Stop();
-};
-
-#endif // cserver_h__
|