* Moved everything into the BPrivate namespace.
* Replaced the constant kRosterPortName by a function returning that name (we need different port names under BeOS and Haiku, and already at libbe init time). * The settings directory is obtained via find_directory() (critized by Axel :-). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10812 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -30,12 +30,15 @@
|
||||
#include <Errors.h>
|
||||
#include <Roster.h>
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
// names
|
||||
extern const char *kRegistrarSignature;
|
||||
extern const char *kRosterThreadName;
|
||||
extern const char *kRosterPortName;
|
||||
extern const char *kRAppLooperPortName;
|
||||
|
||||
extern const char *get_roster_port_name();
|
||||
|
||||
// message constants
|
||||
enum {
|
||||
// replies
|
||||
@@ -159,5 +162,7 @@ struct flat_app_info {
|
||||
char ref_name[B_FILE_NAME_LENGTH + 1];
|
||||
};
|
||||
|
||||
} // namespace BPrivate
|
||||
|
||||
#endif // REGISTRAR_DEFS_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user