mail_daemon: Converted to BServer.

This commit is contained in:
Axel Dörfler
2015-11-28 14:18:18 +01:00
parent f92aeedd7f
commit 893e3de866
4 changed files with 5 additions and 7 deletions
-1
View File
@@ -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 {
+1 -1
View File
@@ -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 ;
+1 -2
View File
@@ -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),
+3 -3
View File
@@ -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();