EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MailMgrService.h
Go to the documentation of this file.
1 /*
2  ------------------------------------------------------------------------------------
3  LICENSE:
4  ------------------------------------------------------------------------------------
5  This file is part of EVEmu: EVE Online Server Emulator
6  Copyright 2006 - 2021 The EVEmu Team
7  For the latest information visit https://evemu.dev
8  ------------------------------------------------------------------------------------
9  This program is free software; you can redistribute it and/or modify it under
10  the terms of the GNU Lesser General Public License as published by the Free Software
11  Foundation; either version 2 of the License, or (at your option) any later
12  version.
13 
14  This program is distributed in the hope that it will be useful, but WITHOUT
15  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public License along with
19  this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20  Place - Suite 330, Boston, MA 02111-1307, USA, or go to
21  http://www.gnu.org/copyleft/lesser.txt.
22  ------------------------------------------------------------------------------------
23  Author: Luck, caytchen
24 */
25 
26 #ifndef MAIL_MGR_SERIVCE_H
27 #define MAIL_MGR_SERVICE_H
28 
29 #include "PyService.h"
30 
31 class MailDB;
32 
33 class MailMgrService : public PyService
34 {
35 public:
37  virtual ~MailMgrService();
38 
39 protected:
41 
42  class Dispatcher;
43  Dispatcher *const m_dispatch;
44 
45  PyCallable_DECL_CALL(SendMail);
46  PyCallable_DECL_CALL(PrimeOwners);
47  PyCallable_DECL_CALL(SyncMail);
48  PyCallable_DECL_CALL(GetMailHeaders);
49  PyCallable_DECL_CALL(MoveToTrash);
50  PyCallable_DECL_CALL(MoveFromTrash);
51  PyCallable_DECL_CALL(MarkAsUnread);
52  PyCallable_DECL_CALL(MarkAsRead);
53  PyCallable_DECL_CALL(MoveAllToTrash);
54  PyCallable_DECL_CALL(MoveToTrashByLabel);
55  PyCallable_DECL_CALL(MoveToTrashByList);
56  PyCallable_DECL_CALL(MarkAllAsUnread);
57  PyCallable_DECL_CALL(MarkAsUnreadByLabel);
58  PyCallable_DECL_CALL(MarkAsUnreadByList);
59  PyCallable_DECL_CALL(MarkAllAsRead);
60  PyCallable_DECL_CALL(MarkAsReadByLabel);
61  PyCallable_DECL_CALL(MarkAsReadByList);
62  PyCallable_DECL_CALL(MoveAllFromTrash);
63  PyCallable_DECL_CALL(EmptyTrash);
64  PyCallable_DECL_CALL(DeleteMail);
65  PyCallable_DECL_CALL(GetBody);
66  PyCallable_DECL_CALL(AssignLabels);
67  PyCallable_DECL_CALL(RemoveLabels);
68 
69  // implemented
70  PyCallable_DECL_CALL(GetLabels);
71  PyCallable_DECL_CALL(EditLabel);
72  PyCallable_DECL_CALL(CreateLabel);
73  PyCallable_DECL_CALL(DeleteLabel);
74 };
75 
76 
77 #endif /* MAIL_MGR_SERVICE_H */
78 
79 /*{'messageKey': 'EveMailCanOnlySendToOwnMailinglists', 'dataID': 17875556, 'suppressable': False, 'bodyID': 256552, 'messageType': 'info', 'urlAudio': '', 'urlIcon': '', 'titleID': 256551, 'messageID': 3301}
80  * {'messageKey': 'EveMailDiscardWelcomeMail', 'dataID': 17876727, 'suppressable': True, 'bodyID': 256987, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 256986, 'messageID': 3236}
81  * {'messageKey': 'EveMailNoCharFound', 'dataID': 17876940, 'suppressable': False, 'bodyID': 257064, 'messageType': 'notify', 'urlAudio': '', 'urlIcon': '', 'titleID': None, 'messageID': 3172}
82  * {'messageKey': 'EvemailCantFindRecipient', 'dataID': 17876069, 'suppressable': False, 'bodyID': 256740, 'messageType': 'notify', 'urlAudio': '', 'urlIcon': '', 'titleID': None, 'messageID': 3451}
83  * {'messageKey': 'EvemailCantSendToAllianceNoRole', 'dataID': 17876527, 'suppressable': False, 'bodyID': 256909, 'messageType': 'notify', 'urlAudio': '', 'urlIcon': '', 'titleID': None, 'messageID': 3205}
84  * {'messageKey': 'EvemailCantSendToNPCCorp', 'dataID': 17876524, 'suppressable': False, 'bodyID': 256908, 'messageType': 'notify', 'urlAudio': '', 'urlIcon': '', 'titleID': None, 'messageID': 3204}
85  * {'messageKey': 'EvemailCantSendToOtherAlliance', 'dataID': 17876530, 'suppressable': False, 'bodyID': 256910, 'messageType': 'notify', 'urlAudio': '', 'urlIcon': '', 'titleID': None, 'messageID': 3206}
86  * {'messageKey': 'EvemailCantSendToOtherCorp', 'dataID': 17876521, 'suppressable': False, 'bodyID': 256907, 'messageType': 'notify', 'urlAudio': '', 'urlIcon': '', 'titleID': None, 'messageID': 3203}
87  * {'messageKey': 'EvemailMailMarkAllRead', 'dataID': 17876757, 'suppressable': True, 'bodyID': 256999, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 256998, 'messageID': 3226}
88  * {'messageKey': 'EvemailMailReadLabelGroup', 'dataID': 17877035, 'suppressable': True, 'bodyID': 257099, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 257098, 'messageID': 3227}
89  * {'messageKey': 'EvemailMailReadMailinglistGroup', 'dataID': 17877045, 'suppressable': True, 'bodyID': 257103, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 257102, 'messageID': 3228}
90  * {'messageKey': 'EvemailMailRestoreAll', 'dataID': 17876732, 'suppressable': True, 'bodyID': 256989, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 256988, 'messageID': 3231}
91  * {'messageKey': 'EvemailMailTrashAll', 'dataID': 17876737, 'suppressable': True, 'bodyID': 256991, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 256990, 'messageID': 3225}
92  * {'messageKey': 'EvemailMailTrashLabelGroup', 'dataID': 17877040, 'suppressable': True, 'bodyID': 257101, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 257100, 'messageID': 3229}
93  * {'messageKey': 'EvemailMailTrashMailinglistGroup', 'dataID': 17877050, 'suppressable': True, 'bodyID': 257105, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 257104, 'messageID': 3230}
94  * {'messageKey': 'EvemailMaillDeleteAll', 'dataID': 17876762, 'suppressable': True, 'bodyID': 257001, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 257000, 'messageID': 3232}
95  * {'messageKey': 'EvemailMaxListOrCorp', 'dataID': 17876937, 'suppressable': False, 'bodyID': 257063, 'messageType': 'notify', 'urlAudio': 'wise:/msg_uiwarning03_play', 'urlIcon': '', 'titleID': None, 'messageID': 3110}
96  * {'messageKey': 'EvemailMaxRecipients', 'dataID': 17876894, 'suppressable': False, 'bodyID': 257048, 'messageType': 'notify', 'urlAudio': 'wise:/msg_uiwarning03_play', 'urlIcon': '', 'titleID': None, 'messageID': 3109}
97  * {'messageKey': 'EvemailNotificationsDeleteAll', 'dataID': 17876767, 'suppressable': True, 'bodyID': 257003, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 257002, 'messageID': 3212}
98  * {'messageKey': 'EvemailNotificationsDeleteGroup', 'dataID': 17876742, 'suppressable': True, 'bodyID': 256993, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 256992, 'messageID': 3216}
99  * {'messageKey': 'EvemailNotificationsMarkAllRead', 'dataID': 17876747, 'suppressable': True, 'bodyID': 256995, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 256994, 'messageID': 3214}
100  * {'messageKey': 'EvemailNotificationsMarkGroupRead', 'dataID': 17876752, 'suppressable': True, 'bodyID': 256997, 'messageType': 'question', 'urlAudio': '', 'urlIcon': '', 'titleID': 256996, 'messageID': 3215}
101  * {'messageKey': 'EvemailSendingFailed', 'dataID': 17876535, 'suppressable': False, 'bodyID': 256912, 'messageType': 'info', 'urlAudio': '', 'urlIcon': '', 'titleID': 256911, 'messageID': 3208}
102  */
PyCallable_DECL_CALL(SendMail)
MailMgrService(PyServiceMgr *mgr)
Dispatcher *const m_dispatch
Definition: MailDB.h:36
virtual ~MailMgrService()