//---------------------------------------------------------------------------- // // Copyright (C) Intel Corporation, 2006 - 2007. // // File: MPS_Class.h // // Contents: A singelton class which holds some of the MPS needed objects // such as the acceptor and connector, // initializes them, and provide access to them. // // Notes: //---------------------------------------------------------------------------- #ifndef MPS_CLASS_H #define MPS_CLASS_H #include "SocksSvcHandler.h" #include "TunnelHandler.h" #include "acceptor.h" // A singelton class which holds all the formats, initializes them, and provide access to them class MPS_Class { public: // Return pointer to Singleton. static MPS_Class * instance(); // Dtor ~MPS_Class() {} Acceptor _socks_acceptor; Acceptor _amt_acceptor; private: // private ctor MPS_Class() {} // ConfigFormats Singleton instance. static MPS_Class * _instance; }; #endif