diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-26 15:26:46 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-26 15:26:46 +0300 |
commit | 53452cdfd0f64b78eb91d80f2a266ecdcc4953c0 (patch) | |
tree | 5de6cf2c5af039f4e2cc64ee01bfed99647ec399 /plugins/ExternalAPI | |
parent | dcc996f1eee938ef6acf6895708f519951c84933 (diff) |
code simplification + cleaning
Diffstat (limited to 'plugins/ExternalAPI')
-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 cfb46fb509..8b832479fd 100644 --- a/plugins/ExternalAPI/m_smileyadd.h +++ b/plugins/ExternalAPI/m_smileyadd.h @@ -209,9 +209,13 @@ struct FVCNDATA_NMHDR // wParam = (WPARAM) 0; not used
// lParam = (LPARAM) (SMADD_CONT*) &dir; // pointer to directory to load smiley from
+#define SMADD_SMILEPACK 0
+#define SMADD_FILE 1
+#define SMADD_FOLDER 2
+
struct SMADD_CONT
{
- int type; // 0 - directory, 1 - file;
+ int type; // SMADD_* constant
const char *pszModule; // module name
const wchar_t *path; // smiley category name for reference
};
|