+// frmContactEditor.h - frmContactEditor form header.
+//
+// (c) 2012-2015 Xestia Software Development.
+//
+// This file is part of Xestia Address Book.
+//
+// Xestia Address Book is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by the
+// Free Software Foundation, version 3 of the license.
+//
+// Xestia Address Book is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
+
#ifndef __frmContactEditor__
#define __frmContactEditor__
#include "../common/etag.h"
#include "../common/timers.h"
-#include "../frmActivityMgr.h"
+#include "../actmgr/frmActivityMgr.h"
#include "../frmMain.h"
#define CE_NICKNAME wxT("Nickname")
void ModifyPicture( wxCommandEvent& event );
void DeletePicture( wxCommandEvent& event );
void LoadPicture( wxListEvent& event );
+ void SavePicture( wxCommandEvent& event);
void AddLogo( wxCommandEvent& event );
void ModifyLogo( wxCommandEvent& event );
void DeleteLogo( wxCommandEvent& event );
- void LoadLogo( wxListEvent& event );
+ void LoadLogo( wxListEvent& event );
+ void SaveLogo( wxCommandEvent& event);
void AddSound( wxCommandEvent& event );
void ModifySound( wxCommandEvent& event );
void DeleteSound( wxCommandEvent& event );
+ void SaveSound( wxCommandEvent& event);
void PlaySoundDetach();
void PlaySound( wxCommandEvent& event );
void StopSound( wxCommandEvent& event );
void SetupPointers(frmActivityMgr *ActMgr, wxETagProcessTimer *ETagProc,
frmMain *MainPtrInc);
bool LoadContact(wxString Filename);
+ void SetMode(bool StartupEditMode);
void SetUID(int UID);
private:
int intValue3 = 0;
bool BinaryDataProc = FALSE;
bool EditMode = FALSE;
+ bool StartupEditMode = FALSE;
bool DialogOpen = FALSE;
/*