/* * Copyright 2001-2009, Haiku. * Distributed under the terms of the MIT License. * * Authors: * Ingo Weinhold (bonefish@users.sf.net) */ //! API classes - registrar interface. #include #include namespace BPrivate { // names #ifdef HAIKU_TARGET_PLATFORM_HAIKU const char* kRegistrarSignature = "application/x-vnd.haiku-registrar"; const char* kRAppLooperPortName = "rAppLooperPort"; #else const char* kRegistrarSignature = "application/x-vnd.test-registrar"; const char* kRAppLooperPortName = "haiku-test:rAppLooperPort"; #endif const char* kRosterThreadName = "_roster_thread_"; /*! \brief Returns the name of the main request port of the registrar (roster). \return the name of the registrar request port. */ const char* get_roster_port_name() { #ifdef HAIKU_TARGET_PLATFORM_HAIKU return "system:roster"; #else return "haiku-test:roster"; #endif } } // namespace BPrivate