Changed due to moving RegistrarDefs.h stuff into the BPrivate namespace and replacing kRosterPortName.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10813 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-01-18 01:11:39 +00:00
parent 0ffb21a672
commit 289adc045d
7 changed files with 13 additions and 2 deletions

View File

@ -1317,7 +1317,7 @@ const char*
looper_name_for(const char *signature)
{
if (signature && !strcasecmp(signature, kRegistrarSignature))
return kRosterPortName;
return BPrivate::get_roster_port_name();
return "AppLooperPort";
}

View File

@ -41,6 +41,8 @@
// Globals ---------------------------------------------------------------------
BClipboard *be_clipboard = NULL;
using namespace BPrivate;
BClipboard::BClipboard(const char *name, bool transient)
{

View File

@ -31,6 +31,8 @@
#include <Roster.h>
#include <RosterPrivate.h>
using namespace BPrivate;
// constructor
/*! \brief Creates and initializes a new BMessageRunner.

View File

@ -18,6 +18,8 @@
#define DBG(x)
#define OUT printf
using namespace BPrivate;
/*!
\class RegistrarThreadManager
\brief RegistrarThreadManager is the master of all threads spawned by the registrar

View File

@ -53,6 +53,7 @@
#include <Volume.h>
using namespace std;
using namespace BPrivate;
// debugging
//#define DBG(x) x
@ -2180,7 +2181,7 @@ BRoster::InitMessengers()
{
DBG(OUT("BRoster::InitMessengers()\n"));
// find the registrar port
port_id rosterPort = find_port(kRosterPortName);
port_id rosterPort = find_port(BPrivate::get_roster_port_name());
port_info info;
if (rosterPort >= 0 && get_port_info(rosterPort, &info) == B_OK) {
DBG(OUT(" found roster port\n"));

View File

@ -23,6 +23,8 @@
#include <unistd.h>
#include <sys/ioctl.h>
using namespace BPrivate;
enum {
NOT_IMPLEMENTED = B_ERROR,
};

View File

@ -20,6 +20,8 @@
#include <RegistrarDefs.h>
#include <RosterPrivate.h> // For SendTo()
using namespace BPrivate;
// Private helper functions
bool isValidMimeChar(const char ch);
status_t toLower(const char *str, char *result);