X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor.h;h=49dd826f21407e3386aa08f07c238441386b6447;hb=074e2db3331d35762f1d2dcf06d98f15200fc225;hp=de254e6ecb4202ec37fa4faa48840f88a10ff118;hpb=bdb9b72aab760553074868e4cd6afbea69a38b9f;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor.h b/source/contacteditor/frmContactEditor.h index de254e6..49dd826 100644 --- a/source/contacteditor/frmContactEditor.h +++ b/source/contacteditor/frmContactEditor.h @@ -39,6 +39,7 @@ Subclass of frmContactEditorADT, which is generated by wxFormBuilder. #include "../actmgr/frmActivityMgr.h" #include "../frmMain.h" +#include "frmContactEditorSound.h" #include "cdo/ContactDataObject.h" @@ -311,8 +312,10 @@ class frmContactEditor : public frmContactEditorADT public: /** Constructor */ frmContactEditor( wxWindow* parent ); + ~frmContactEditor(); void SetupHeaders(); void SetupContact(wxString AccountName); + void SetupAccountData(bool UnsupportedAccount); void SetupPointers(frmActivityMgr *ActMgr, wxETagProcessTimer *ETagProc, frmMain *MainPtrInc); bool LoadContact(wxString Filename); @@ -402,6 +405,7 @@ class frmContactEditor : public frmContactEditorADT ProcessSaveDataB(args...); std::map::iterator strIter; + std::map::iterator strDataTypeIter; wxString strMainValue; int intSeekData = (*iterDataStringPtr)->first; @@ -710,6 +714,8 @@ class frmContactEditor : public frmContactEditorADT wxString wxSContactFilename; wxString wxSContactAccount; bool boolContactModified; + bool boolUnsupportedAccount = false; + int intSeekSelectedData; /* Section for saving/loading data */ @@ -747,9 +753,7 @@ class frmContactEditor : public frmContactEditorADT size_t base64declen; std::string base64dec; - sf::Music AudioPlayback; - AudioStream AudioStreamPlayback; - sf::SoundBuffer AudioBuffer; + AudioStream *AudioStreamPlaybackPointer = nullptr; wxBitmap PictureImage; wxBitmap LogoImage;