diff options
author | George Hazan <ghazan@miranda.im> | 2020-08-16 14:54:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-08-16 14:54:26 +0300 |
commit | afa6a68cca2865a4d974143dc1a289e4f83a5e1c (patch) | |
tree | 60deb305af0207f31fd5f62da5b160c25668dbfb /plugins/ExternalAPI | |
parent | 8e0f6324331fa9ac7425bb155321cbe2726e0161 (diff) |
SmileyAdd:
- 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
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_smileyadd.h | 8 |
1 files changed, 2 insertions, 6 deletions
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
|