mail_daemon: Converted to BServer.
This commit is contained in:
@@ -17,7 +17,6 @@ target desktop {
|
||||
if setting ~/config/settings/Mail/new_mail_daemon DaemonAutoStarts
|
||||
on initial_volumes_mounted
|
||||
no_safemode
|
||||
legacy
|
||||
}
|
||||
|
||||
job user-bootscript {
|
||||
|
||||
@@ -7,7 +7,7 @@ if $(TARGET_PLATFORM) != haiku {
|
||||
}
|
||||
|
||||
UsePublicHeaders [ FDirName add-ons mail_daemon ] ;
|
||||
UsePrivateHeaders mail shared tracker ;
|
||||
UsePrivateHeaders app mail shared tracker ;
|
||||
SubDirHdrs $(HAIKU_TOP) src kits tracker ;
|
||||
|
||||
AddResources mail_daemon : mail_daemon.rdef DeskbarViewIcons.rdef ;
|
||||
|
||||
@@ -162,8 +162,7 @@ account_protocols::account_protocols()
|
||||
|
||||
MailDaemonApplication::MailDaemonApplication()
|
||||
:
|
||||
BApplication(B_MAIL_DAEMON_SIGNATURE),
|
||||
|
||||
BServer(B_MAIL_DAEMON_SIGNATURE, true, NULL),
|
||||
fAutoCheckRunner(NULL)
|
||||
{
|
||||
fErrorLogWindow = new ErrorLogWindow(BRect(200, 200, 500, 250),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2007-2013, Haiku, Inc. All rights reserved.
|
||||
* Copyright 2007-2015, Haiku, Inc. All rights reserved.
|
||||
* Copyright 2001-2002 Dr. Zoidberg Enterprises. All rights reserved.
|
||||
* Copyright 2011, Clemens Zeidler <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
#include <map>
|
||||
|
||||
#include <Application.h>
|
||||
#include <ObjectList.h>
|
||||
#include <Message.h>
|
||||
#include <MessageRunner.h>
|
||||
#include <Node.h>
|
||||
#include <Query.h>
|
||||
#include <Server.h>
|
||||
#include <String.h>
|
||||
|
||||
#include <MailProtocol.h>
|
||||
@@ -41,7 +41,7 @@ struct account_protocols {
|
||||
typedef std::map<int32, account_protocols> AccountMap;
|
||||
|
||||
|
||||
class MailDaemonApplication : public BApplication {
|
||||
class MailDaemonApplication : public BServer {
|
||||
public:
|
||||
MailDaemonApplication();
|
||||
virtual ~MailDaemonApplication();
|
||||
|
||||
Reference in New Issue
Block a user