From: Steve Brokenshire Date: Sun, 6 Mar 2016 17:21:10 +0000 (+0000) Subject: Added SetMode to frmContact. X-Git-Tag: release-0.10~7 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=ca98e36de4ba75bc01da565d2d1479e4758868e3;p=xestiaab%2F.git Added SetMode to frmContact. --- diff --git a/source/frmContact.cpp b/source/frmContact.cpp index da88511..2bd4585 100644 --- a/source/frmContact.cpp +++ b/source/frmContact.cpp @@ -130,6 +130,12 @@ bool frmContact::SetupContactData(vCard *vCardObj){ return TRUE; } +void frmContact::SetMode(bool StartupModeIn){ + + StartupMode = StartupModeIn; + +} + void frmContact::SetupPointers(std::map *MemoryFSListIncPtr){ MemoryFSListPtr = MemoryFSListIncPtr; diff --git a/source/frmContact.h b/source/frmContact.h index d5a5d13..a3a7b3c 100644 --- a/source/frmContact.h +++ b/source/frmContact.h @@ -39,8 +39,11 @@ class frmContact : public frmContactADT wxString SessionID; wxString OldSessionID; int ContactUID; - void CloseWindowProcessing(); wxString vCardFilename; + bool StartupMode; + + void CloseWindowProcessing(); + public: /** Constructor */ frmContact( wxWindow* parent ); @@ -49,6 +52,7 @@ class frmContact : public frmContactADT void CloseWindow( wxCommandEvent& event ); void SetupPointers(std::map *MemoryFSListIncPtr); void SetUID(int UID); + void SetMode(bool StartupModeIn); wxString GetFilename(); DECLARE_EVENT_TABLE(); //// end generated class members