diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-26 16:00:06 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-26 16:00:06 +0300 |
commit | be005fdd7a3a801ec698dc211cd2e0dd80030fb6 (patch) | |
tree | 2dd21c735e55845e2c86d0b1a51d5de3206281dc /plugins/ExternalAPI/m_smileyadd.h | |
parent | ba5a0a06e1ed5b0dc3e330dbb939f13a6651b750 (diff) |
SmileyAdd_LoadContactSmileys - helper function for adding custom smileys
Diffstat (limited to 'plugins/ExternalAPI/m_smileyadd.h')
-rw-r--r-- | plugins/ExternalAPI/m_smileyadd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/ExternalAPI/m_smileyadd.h b/plugins/ExternalAPI/m_smileyadd.h index 8b832479fd..1667c678d7 100644 --- a/plugins/ExternalAPI/m_smileyadd.h +++ b/plugins/ExternalAPI/m_smileyadd.h @@ -220,7 +220,11 @@ struct SMADD_CONT const wchar_t *path; // smiley category name for reference
};
-#define MS_SMILEYADD_LOADCONTACTSMILEYS "SmileyAdd/LoadContactSmileys"
+void __forceinline SmileyAdd_LoadContactSmileys(int type, const char *pszModule, const wchar_t *path)
+{
+ SMADD_CONT cont = { type, pszModule, path };
+ CallService("SmileyAdd/LoadContactSmileys", 0, LPARAM(&cont));
+}
/////////////////////////////////////////////////////////////////////////////////////////
// Displays SmileyTool window to choose a smiley
|