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:
Stephan Aßmus
2008-04-26 21:55:26 +00:00
parent 9fa346e6cc
commit f709730477
3 changed files with 64 additions and 0 deletions
@@ -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
+1
View File
@@ -77,6 +77,7 @@ Server haiku_registrar
Event.cpp
EventMaskWatcher.cpp
EventQueue.cpp
FakeAuthenticationManager.cpp
MessageDeliverer.cpp
MessageEvent.cpp
MessageHandler.cpp