Skip to content

Commit

Permalink
mail_daemon: Converted to BServer.
Browse files Browse the repository at this point in the history
  • Loading branch information
axeld committed Nov 28, 2015
1 parent f92aeed commit 893e3de
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion data/launch/user
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/servers/mail/Jamfile
Expand Up @@ -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 ;
Expand Down
3 changes: 1 addition & 2 deletions src/servers/mail/MailDaemonApplication.cpp
Expand Up @@ -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),
Expand Down
6 changes: 3 additions & 3 deletions src/servers/mail/MailDaemonApplication.h
@@ -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 <haiku@clemens-zeidler.de>
* Distributed under the terms of the MIT License.
Expand All @@ -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>
Expand All @@ -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();
Expand Down

0 comments on commit 893e3de

Please sign in to comment.