X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor.h;h=dbad3554794457d2a60fae42534ca3723ce85c3f;hp=1cd897ec4eeee344189ac3eb40d439e7a4194079;hb=f17747e21a80b71447654462a60fca6baaf64a17;hpb=a514ec16ece648eb87cb946b5da7bdf09bcf9311 diff --git a/source/contacteditor/frmContactEditor.h b/source/contacteditor/frmContactEditor.h index 1cd897e..dbad355 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); @@ -711,6 +714,8 @@ class frmContactEditor : public frmContactEditorADT wxString wxSContactFilename; wxString wxSContactAccount; bool boolContactModified; + bool boolUnsupportedAccount = false; + int intSeekSelectedData; /* Section for saving/loading data */ @@ -739,6 +744,7 @@ class frmContactEditor : public frmContactEditorADT bool EditMode = FALSE; bool StartupEditMode = FALSE; bool DialogOpen = FALSE; + bool saveSuccess = false; /* std::string base64dec; @@ -748,9 +754,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;