summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-07 19:51:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-07 19:51:59 +0300
commit9852392895d7c94c84ff3b4ff8966676a493f87c (patch)
tree7b6216e6bf0f51792b4971bd30521b42d5ccd874 /include
parenta64964a329edfeb8c6fafb1265163015d4a579ce (diff)
common chats sound & icon processing code moved to the core
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index c62a649b75..8318ba2371 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -191,6 +191,8 @@ struct MIR_APP_EXPORT GCSessionInfoBase : public MZeroedObject, public MNonCopya
__forceinline LIST<USERINFO>& getKeyList()
{ return (pParent != nullptr) ? pParent->arKeys : arKeys;
}
+
+ const char* getSoundName(int iEventType) const;
};
struct GCLogStreamDataBase
@@ -347,6 +349,9 @@ struct CHAT_MANAGER
char **pLogIconBmpBits;
CMOption<bool> bRightClickFilter;
+ // public API
+ MIR_APP_DLL(HICON) getIcon(int iEventType) const;
+
// user-defined custom callbacks
void (*OnCreateModule)(MODULEINFO*);
void (*OnDestroyModule)(MODULEINFO*);