From afa6a68cca2865a4d974143dc1a289e4f83a5e1c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Aug 2020 14:54:26 +0300 Subject: SmileyAdd: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - major update for custom smileys APIs (cause we have no MSN, there's no need to save MCONTACT for custom smileys); - added path type = 2 to download whole folder for custom smileys; - fixes #2524 (ICQ: стикеры должны приходить как custom smileys, а не как передачи файлов); - fixes #2533 (SmileyAdd не всегда распознаёт стикеры); - fixes #2532 (Полученные стикеры пропадают при переоткрытии окна); - version bump --- plugins/ExternalAPI/m_smileyadd.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_smileyadd.h b/plugins/ExternalAPI/m_smileyadd.h index 667ac2fea3..80381a96e3 100644 --- a/plugins/ExternalAPI/m_smileyadd.h +++ b/plugins/ExternalAPI/m_smileyadd.h @@ -68,7 +68,6 @@ typedef struct LPARAM targetWParam; //Target WParam to be sent (LParam will be char* to select smiley) //see the example file. HWND hwndParent; //Parent window for smiley dialog - MCONTACT hContact; //Contact handle } SMADD_SHOWSEL3; //Show smiley selection window @@ -88,7 +87,6 @@ typedef struct //NULL if the buttonicon is not defined... int NumberOfVisibleSmileys; //Number of visible smileys defined. int NumberOfSmileys; //Number of total smileys defined - MCONTACT hContact; //Contact handle } SMADD_INFO2; //get button smiley icon @@ -134,7 +132,6 @@ typedef struct unsigned numSmileys; //Number of Smileys found, this parameter filled by SmileyAdd unsigned oflag; //One of the SAFL_ flags specifies content of the parse results //this parameter filled by SmileyAdd - MCONTACT hContact; //Contact handle } SMADD_BATCHPARSE2; typedef struct @@ -239,10 +236,9 @@ typedef struct typedef struct { - unsigned cbSize; // size of the structure - MCONTACT hContact; int type; // 0 - directory, 1 - file; - TCHAR* path; // smiley category name for reference + const char *pszModule; // module name + const wchar_t *path; // smiley category name for reference } SMADD_CONT; //Loads all smileys for the contact -- cgit v1.2.3