Fix the build of the registrar for the app_server test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25200 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright 2008, Ingo Weinhold, [email protected]. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#include "FakeAuthenticationManager.h"
|
||||
|
||||
|
||||
AuthenticationManager::AuthenticationManager()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
AuthenticationManager::~AuthenticationManager()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
AuthenticationManager::Init()
|
||||
{
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright 2008, Ingo Weinhold, [email protected]. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef FAKE_AUTHENTICATION_MANAGER_H
|
||||
#define FAKE_AUTHENTICATION_MANAGER_H
|
||||
|
||||
|
||||
#include <OS.h>
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
class KMessage;
|
||||
}
|
||||
|
||||
|
||||
class AuthenticationManager {
|
||||
public:
|
||||
AuthenticationManager();
|
||||
~AuthenticationManager();
|
||||
|
||||
status_t Init();
|
||||
|
||||
private:
|
||||
class UserDB;
|
||||
class GroupDB;
|
||||
|
||||
private:
|
||||
port_id fRequestPort;
|
||||
thread_id fRequestThread;
|
||||
UserDB* fUserDB;
|
||||
GroupDB* fGroupDB;
|
||||
BPrivate::KMessage* fPasswdDBReply;
|
||||
BPrivate::KMessage* fGroupDBReply;
|
||||
BPrivate::KMessage* fShadowPwdDBReply;
|
||||
};
|
||||
|
||||
|
||||
#endif // FAKE_AUTHENTICATION_MANAGER_H
|
||||
@@ -77,6 +77,7 @@ Server haiku_registrar
|
||||
Event.cpp
|
||||
EventMaskWatcher.cpp
|
||||
EventQueue.cpp
|
||||
FakeAuthenticationManager.cpp
|
||||
MessageDeliverer.cpp
|
||||
MessageEvent.cpp
|
||||
MessageHandler.cpp
|
||||
|
||||
Reference in New Issue
Block a user