1 // frmActivityMgr.cpp - frmActivityMgr form functions header.
3 // (c) 2016-2017 Xestia Software Development.
5 // This file is part of Xestia Calendar.
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.
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.
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__
24 Subclass of frmActivityMgrADT, which is generated by wxFormBuilder.
27 #include <wx/bitmap.h>
28 #include <wx/mstream.h>
35 #include "../bitmaps.h"
36 #include "../../AppXestiaCalendar.h"
38 //// end generated include
40 struct ActivityMgrAccountSettings{
50 /** Implementing frmActivityMgrADT */
51 class frmActivityMgr : public frmActivityMgrADT
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;*/
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 );
81 frmActivityMgr( wxWindow* parent );
82 //// end generated class members
86 #endif // __frmActivityMgr__