summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-26 15:26:46 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-26 15:26:46 +0300
commit53452cdfd0f64b78eb91d80f2a266ecdcc4953c0 (patch)
tree5de6cf2c5af039f4e2cc64ee01bfed99647ec399 /plugins/ExternalAPI
parentdcc996f1eee938ef6acf6895708f519951c84933 (diff)
code simplification + cleaning
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_smileyadd.h6
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
};