// registration.h // Autor: Allen Porter // // Manages registration of bonjour services, a thin wrapper around the // APIs exposed by dns_sd.h. #ifndef __BTUNNEL_REGISTRATION_H__ #define __BTUNNEL_REGISTRATION_H__ #include #include #include namespace btunnel { class Service; class ServiceManager { public: ServiceManager(); ~ServiceManager(); bool Register(Service* service); bool Unregister(Service* service); private: typedef std::map ServiceMap; ServiceMap services_; }; } // namespace btunnel #endif // __BTUNNEL_REGISTRATION_H__