X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor.h;h=f623ac33986eb5dada2af6f60feb4601047bd0e1;hb=26523a1ba309b07a865b4a9e4720216cc40c7e87;hp=f0e73a75b27ad491f205eb3e47bee5c08945a9c6;hpb=5b2b2bcea1ab1dfd2b74589573cd16ee9326c4b9;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor.h b/source/contacteditor/frmContactEditor.h index f0e73a7..f623ac3 100644 --- a/source/contacteditor/frmContactEditor.h +++ b/source/contacteditor/frmContactEditor.h @@ -1,3 +1,21 @@ +// 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 + #ifndef __frmContactEditor__ #define __frmContactEditor__ @@ -293,13 +311,16 @@ class frmContactEditor : public frmContactEditorADT 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 ); @@ -350,6 +371,7 @@ class frmContactEditor : public frmContactEditorADT void SetupPointers(frmActivityMgr *ActMgr, wxETagProcessTimer *ETagProc, frmMain *MainPtrInc); bool LoadContact(wxString Filename); + void SetMode(bool StartupEditMode); void SetUID(int UID); private: @@ -1210,6 +1232,7 @@ class frmContactEditor : public frmContactEditorADT int intValue3 = 0; bool BinaryDataProc = FALSE; bool EditMode = FALSE; + bool StartupEditMode = FALSE; bool DialogOpen = FALSE; /*