Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Improved importing support.
[xestiaab/.git] / source / import / frmImportContacts.h
1 #ifndef __frmImportContacts__
2 #define __frmImportContacts__
4 /**
5 @file
6 Subclass of frmImportContactsADT, which is generated by wxFormBuilder.
7 */
9 #include <map>
11 #include "../AppXestiaAddrBk.h"
12 #include "../widgets/XABAccountView.h"
13 #include "import-struct.h"
15 //// end generated include
17 /** Implementing frmImportContactsADT */
18 class frmImportContacts : public frmImportContactsADT
19 {
20         private:
21                 wxComboCtrl* AccControl = new wxComboCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxCB_READONLY|wxEXPAND);
22                 XABAccountView* treAccounts = new XABAccountView();
23                 wxImageList *AccImgList =  new wxImageList(16,16,true);
24                 //wxComboCtrl* AccControl;
25                 //XABAccountView* treAccounts;
26                 std::map<int, wxString> AccountAccDirList;
27                 std::map<int, wxString> AccountAccTypeList;
28                 //wxImageList *AccImgList;
29                 int AccountID;
30                 int AccountNetID;
31                 int AccountGrpID;
32                 bool DialogResult;
33         protected:
34                 // Handlers for frmImportContactsADT events.
35                 void CloseWindow( wxCommandEvent& event );
36                 void ImportContacts( wxCommandEvent& event );
37                 void GetResult();
38                 void GetContacts();
39         public:
40                 /** Constructor */
41                 frmImportContacts( wxWindow* parent );
42                 ~frmImportContacts();
43                 void SetupList(std::map<int,ImportDataContact>* ContactDataInc);
44                 void GetResults(std::map<int,ImportDataContact>* ContactDataInc);
45                 bool GetDialogResult();
46                 wxString GetAccount();
47                 wxString GetAccountType();
48                 wxString GetAccountDirName();
49         //// end generated class members
50         
51 };
53 #endif // __frmImportContacts__
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