#include "common/timers.h"
#include "common/events.h"
#include "common/etag.h"
+#include "common/structs.h"
#include "bitmaps.h"
#include "common/sslcertstructs.h"
#include "widgets/XABContactMenu.h"
//// end generated include
DECLARE_EVENT_TYPE(CE_UPDATECONTACTLIST, wxID_ANY)
-DECLARE_EVENT_TYPE(CE_UPDATEACCOUNTLIST, wxID_ANY)
DECLARE_EVENT_TYPE(SE_UPDATECONTACTNOTIF, wxID_ANY)
DECLARE_EVENT_TYPE(CE_OPENCONTACT, wxID_ANY)
DECLARE_EVENT_TYPE(CE_OPENCONTACTLIST, wxID_ANY)
void *SCHWinPtr;
};
-struct QRNotif{
- int *QResponse;
- bool *PausePtr;
-};
-
struct XABViewMode{
int SortMode;
std::map<int, wxString> AccountAccDirList;
#if defined(__APPLE__)
std::map<int, SecTrustRef> AccountTrustData;
+ NSRunningApplication *helpBrowserProcess = nil;
#elif defined(__WIN32__)
std::map<int, PCCERT_CONTEXT> AccountCertificateData;
#else
std::map<int,wxMenuItem*> WindowListPointersMenu;
std::map<int,void*> WindowListPointers;
std::map<int,int> WindowListType;
- //std::map<int,int> WindowListType;
wxMenuItem *mnuContactWindows;
wxMenuItem *mnuContactEditorWindows;
wxMenuItem *mnuSearchWindows;
bool RevealWait = FALSE;
wxString SessionID;
wxString OldSessionID;
+ wxColour ContactBackgroundColour;
wxIcon IconEmp;
- //wxIcon Emp;
- //wxComboCtrl* AccControl = new wxGenericComboCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize);
- //wxComboCtrl* AccControl = new wxComboCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxCB_READONLY|wxEXPAND|wxCC_STD_BUTTON);
- //wxStaticBitmap* AccIcon = new wxStaticBitmap(this, wxID_ANY, IconEmp, wxDefaultPosition, wxSize(16,16), wxALL|wxEXPAND, wxStaticBitmapNameStr);
XABAccountView* treAccounts = new XABAccountView();
wxImageList *AccImgList = new wxImageList(16,16,true);
wxImageList *ActMgrImgList = new wxImageList(16,16,true);
- //wxIcon wxIAccInet;
int AccountID;
int AccountNetID;
int AccountGrpID;
wxBitmap *imgSSLWarning = NULL;
wxBitmap *imgOnline = NULL;
wxBitmap *imgOffline = NULL;
+ wxBitmap *imgAddAddressBook = NULL;
+ wxBitmap *imgPreferences = NULL;
+ wxBitmap *imgSearchContacts = NULL;
+ wxBitmap *imgAddContact = NULL;
+ wxBitmap *imgEditContact = NULL;
+ wxBitmap *imgDeleteContact = NULL;
int ActivityIconStatus = 0;
int SearchUID = 0;
int ContactUID = 0;
#if defined(__APPLE__)
void DisplayCertificate(SecTrustRef SecurityTrustObject);
void DisplayTrustPanel( wxCommandEvent& event );
+ void DisplayHelpBrowser();
+ void TerminateHelpBrowserProcess();
#endif
protected:
// Handlers for frmMainADT events.
void OpenPreferences( wxCommandEvent& event );
void OpenNewABDialog( wxCommandEvent& event );
void LoadPreferences( wxActivateEvent& event );
- void LoadPreferences();
+ void LoadPreferences(bool skipWindowSizeReload);
void ShowContactInfo( wxListEvent& event );
void OpenContactInfoList( wxListEvent& event );
void OpenContactInfoList( wxCommandEvent& event );
const std::wstring &name);
void ConflictResolution( wxCommandEvent& event );
void UpdateContactList( wxCommandEvent& event );
- void UpdateAccountList( wxCommandEvent& event );
void UpdateSearchContactLists( wxCommandEvent& event );
void OpenFindContactsWindow(wxCommandEvent& event);
void RevealContact( wxCommandEvent& event );
#else
void UpdateSSLAccountStatus(int AccountID, int SSLStatus, SSLCertCollectionString SSLCertInc);
#endif
+ bool CloseAllWindows();
DECLARE_EVENT_TABLE()
//// end generated class members