From ca98e36de4ba75bc01da565d2d1479e4758868e3 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 6 Mar 2016 17:21:10 +0000 Subject: [PATCH] Added SetMode to frmContact. --- source/frmContact.cpp | 6 ++++++ source/frmContact.h | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- 2.39.5