diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-11 22:27:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-12 12:43:48 +0300 |
commit | f2656f118f63643151e53694bd223018c29b4a55 (patch) | |
tree | 2733f155bb5fd9313ea08255209da75f738bcedf /include/delphi/m_helpers.inc | |
parent | 69409021aced78b31da0c9f2def7332a4c4b973e (diff) |
old good sound services became finally functions
Diffstat (limited to 'include/delphi/m_helpers.inc')
-rw-r--r-- | include/delphi/m_helpers.inc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc index d5160da04c..f155f94866 100644 --- a/include/delphi/m_helpers.inc +++ b/include/delphi/m_helpers.inc @@ -33,9 +33,6 @@ function Langpack_Register:int_ptr; function CreateProtoServiceFunction(const szModule, szService: PAnsiChar; serviceProc: TMIRANDASERVICE): int_ptr;
-function SkinAddNewSound(const name, description, defaultFile: PAnsiChar): int_ptr;
-function SkinPlaySound (const name: PAnsiChar): int_ptr;
-
function Menu_AddContextFrameMenuItem(mi:PMO_MenuItem):HGENMENU;
function Menu_AddMainMenuItem (mi:PMO_MenuItem):HGENMENU;
function Menu_AddContactMenuItem (mi:PMO_MenuItem):HGENMENU;
@@ -276,24 +273,6 @@ begin Result := CreateServiceFunction(szStr, @serviceProc);
end;
-function SkinAddNewSound(const name, description, defaultFile: PAnsiChar): int_ptr;
-var
- ssd: TSKINSOUNDDESCEX;
-begin
- FillChar(ssd,SizeOf(ssd),0);
- ssd.cbSize := sizeof(ssd);
- ssd.pszName := name;
- ssd.pszDescription.a := description;
- ssd.pszDefaultFile.a := defaultFile;
- Result := CallService(MS_SKIN_ADDNEWSOUND, hLangpack, lParam(@ssd));
-end;
-
-function SkinPlaySound (const name: PAnsiChar): int_ptr;
- {$IFDEF AllowInline}inline;{$ENDIF}
-begin
- Result := CallService(MS_SKIN_PLAYSOUND, 0, lParam(name));
-end;
-
function Menu_AddContextFrameMenuItem(mi:PMO_MenuItem):HGENMENU;
begin
|