#ifndef _PROTOCOL_MANAGER_H #define _PROTOCOL_MANAGER_H #include class ProtocolManager { public: static QMap nameToNumberMap; static QMap factory; public: ProtocolManager(); void registerProtocol(int protoNumber, QString protoName, void *protoCreator); }; #endif