From 53452cdfd0f64b78eb91d80f2a266ecdcc4953c0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 26 Oct 2023 15:26:46 +0300 Subject: code simplification + cleaning --- plugins/ExternalAPI/m_smileyadd.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/ExternalAPI') 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 }; -- cgit v1.2.3