Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
CalDAV: WIP CalDAV support
[xestiacalendar/.git] / source / forms / actmgr / frmActivityMgr.h
1 // frmActivityMgr.cpp - frmActivityMgr form functions header.
2 //
3 // (c) 2016-2017 Xestia Software Development.
4 //
5 // This file is part of Xestia Calendar.
6 //
7 // Xestia Calendar is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by the
9 // Free Software Foundation, version 3 of the license.
10 //
11 // Xestia Calendar is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License along
17 // with Xestia Calendar. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __frmActivityMgr__
20 #define __frmActivityMgr__
22 /**
23 @file
24 Subclass of frmActivityMgrADT, which is generated by wxFormBuilder.
25 */
27 #include <wx/bitmap.h>
28 #include <wx/mstream.h>
30 #include <map>
31 #include <thread>
32 #include <list>
34 #include "svrblist.h"
35 #include "../bitmaps.h"
36 #include "../../AppXestiaCalendar.h"
38 //// end generated include
40 struct ActivityMgrAccountSettings{
41         wxString Address;
42         int Port;
43         wxString Username;
44         wxString Password;
45         bool SSL;
46         wxString Prefix;
47         wxString Dir;
48 };
50 /** Implementing frmActivityMgrADT */
51 class frmActivityMgr : public frmActivityMgrADT
52 {
53         private:
54                 /*wxBitmap SleepBitmap;
55                 std::map<int,int> ActivityList;
56                 std::map<int,int> ActivityListType;
57                 std::map<int,long> ActivityListIndex;
58                 std::map<int,wxString> ActivityListData;
59                 std::map<int,wxString> ActivityListURL;
60                 std::map<int,bool> ActivityListEditMode;
61                 std::map<int,wxString> ActivityListTaskDetail;
62                 std::map<int,wxString> ActivityListAccount;
63                 std::map<int,wxString> ActivityListFilename;
64                 std::map<int,wxString> ActivityListFullFilename;
65                 //std::map<int,ConnectionObject*> ActivityListConnObject;
66                 std::map<int,ActivityMgrAccountSettings> ActivityListAccSettings;
67                 std::map<int,wxString> ActivityListETag;
68                 std::map<int,wxString> ActivityListETagOriginal;
69                 std::map<int,wxDateTime> ActivityListFinDate;
70                 std::map<int,wxArrayString> ActivityListLog;*/
71         protected:
72                 // Handlers for frmActivityMgrADT events.
73                 void CloseWindow( wxCloseEvent& event );
74                 void CloseWindow( wxCommandEvent& event );
75                 void StopTask( wxCommandEvent& event );
76                 void StopAllTasks( wxCommandEvent& event );
77                 void RetryTask( wxCommandEvent& event );
78                 void SleepMode( wxCommandEvent& event );
79         public:
80                 /** Constructor */
81                 frmActivityMgr( wxWindow* parent );
82         //// end generated class members
83         
84 };
86 #endif // __frmActivityMgr__
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy