X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor.h;h=bdd393c45cbfb62d9645986258e1ee14df5b9638;hb=17d33f5a39d1b64be75d308a78467290e96b7e38;hp=f0e73a75b27ad491f205eb3e47bee5c08945a9c6;hpb=5b2b2bcea1ab1dfd2b74589573cd16ee9326c4b9;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor.h b/source/contacteditor/frmContactEditor.h index f0e73a7..bdd393c 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__ @@ -19,7 +37,7 @@ Subclass of frmContactEditorADT, which is generated by wxFormBuilder. #include "../common/etag.h" #include "../common/timers.h" -#include "../frmActivityMgr.h" +#include "../actmgr/frmActivityMgr.h" #include "../frmMain.h" #define CE_NICKNAME wxT("Nickname") @@ -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; /*