// frmContactEditor-Sound.cpp - frmContactEditor Sound tab subroutines.
//
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2016 Xestia Software Development.
//
// This file is part of Xestia Address Book.
//
frmContactEditorSound *frameCESound = new frmContactEditorSound ( this );
frameCESound->SetEditorMode(FALSE);
- intResult = GetLastInt(&SoundsList);
- frameCESound->SetupPointers(&SoundsList,
- &SoundsListAltID,
- &SoundsListPID,
- &SoundsListType,
- &SoundsListAudioType,
- &SoundsListAudioEncType,
- &SoundsListTokens,
- &SoundsListMediatype,
- &SoundsListPref,
+ intResult = GetLastInt(&ContactEditorData.SoundsList);
+ frameCESound->SetupPointers(&ContactEditorData.SoundsList,
+ &ContactEditorData.SoundsListAltID,
+ &ContactEditorData.SoundsListPID,
+ &ContactEditorData.SoundsListType,
+ &ContactEditorData.SoundsListAudioType,
+ &ContactEditorData.SoundsListAudioEncType,
+ &ContactEditorData.SoundsListTokens,
+ &ContactEditorData.SoundsListMediatype,
+ &ContactEditorData.SoundsListPref,
lboSounds,
(intValueSeek));
frameCESound->ShowModal();
}
frmContactEditorSound *frameCESound = new frmContactEditorSound ( this );
- frameCESound->SetupPointers(&SoundsList,
- &SoundsListAltID,
- &SoundsListPID,
- &SoundsListType,
- &SoundsListAudioType,
- &SoundsListAudioEncType,
- &SoundsListTokens,
- &SoundsListMediatype,
- &SoundsListPref,
+ frameCESound->SetupPointers(&ContactEditorData.SoundsList,
+ &ContactEditorData.SoundsListAltID,
+ &ContactEditorData.SoundsListPID,
+ &ContactEditorData.SoundsListType,
+ &ContactEditorData.SoundsListAudioType,
+ &ContactEditorData.SoundsListAudioEncType,
+ &ContactEditorData.SoundsListTokens,
+ &ContactEditorData.SoundsListMediatype,
+ &ContactEditorData.SoundsListPref,
lboSounds,
intSelectedData);
frameCESound->SetEditorMode(TRUE);
lboSounds->DeleteItem(longSelected);
- DeleteMapData(intSelectedData, &SoundsList, &SoundsListAltID,
- &SoundsListPID, &SoundsListType, &SoundsListAudioType,
- &SoundsListAudioEncType, &SoundsListTokens, &SoundsListMediatype,
- &SoundsListPref);
+ DeleteMapData(intSelectedData, &ContactEditorData.SoundsList, &ContactEditorData.SoundsListAltID,
+ &ContactEditorData.SoundsListPID, &ContactEditorData.SoundsListType, &ContactEditorData.SoundsListAudioType,
+ &ContactEditorData.SoundsListAudioEncType, &ContactEditorData.SoundsListTokens, &ContactEditorData.SoundsListMediatype,
+ &ContactEditorData.SoundsListPref);
}