Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added comments to describe functions in frmContactEditorSound
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 10:08:42 +0000 (10:08 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 10:08:42 +0000 (10:08 +0000)
source/contacteditor/frmContactEditorSound.cpp

index 3c92b7c..c903008 100644 (file)
@@ -30,25 +30,36 @@ frmContactEditorSound::frmContactEditorSound( wxWindow* parent )
 :
 frmContactEditorSoundADT( parent )
 {
+       
+       // Setup the window.
+       
        EditorMode = FALSE;
        sliPriority->Disable();
        
        cmbType->Append(wxT(""));
        cmbType->Append(_("Home"));
        cmbType->Append(_("Work"));     
+       
 }
 
 void frmContactEditorSound::EnablePriority( wxCommandEvent& event )
 {
+       
+       // Enable/disable the priority setting.
+       
        if (chkUsePref->IsChecked()){
                sliPriority->Enable();
        } else {
                sliPriority->Disable();
        }
+       
 }
 
 void frmContactEditorSound::ProcessData( wxCommandEvent& event )
 {
+       
+       // Process audio data.
+       
        long ListCtrlIndex;
        
        if (EditorMode == FALSE){
@@ -275,11 +286,18 @@ void frmContactEditorSound::ProcessData( wxCommandEvent& event )
 
 void frmContactEditorSound::CloseWindow( wxCommandEvent& event )
 {
+       
+       // Close this window.
+       
        this->Close();
+       
 }
 
 void frmContactEditorSound::SetEditorMode(bool EditMode)
 {
+       
+       // Set the editor mode.
+       
        // Set if the editor is adding or editing an address.
        // FALSE = Add
        // TRUE = Edit
@@ -358,6 +376,8 @@ void frmContactEditorSound::SetupPointers(std::map<int, std::string> *SoundList,
        wxListCtrl *SoundListCtrl,
        int SoundIndex )
 {
+       
+       // Setup the pointers.
 
        SoundListPtr = SoundList;
        SoundListAltIDPtr = SoundListAltID;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy