summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_hotkeys.h4
-rw-r--r--include/m_srmm_int.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/include/m_hotkeys.h b/include/m_hotkeys.h
index d1a4adc0cf..61728eca8b 100644
--- a/include/m_hotkeys.h
+++ b/include/m_hotkeys.h
@@ -35,8 +35,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
struct HOTKEYDESC
{
const char *pszName; // name to refer to hotkey when playing and in db
- MAllStrings szDescription; // description for options dialog
- MAllStrings szSection; // section name used to group sounds (NULL is acceptable)
+ MAllCStrings szDescription; // description for options dialog
+ MAllCStrings szSection; // section name used to group sounds (NULL is acceptable)
const char *pszService; // Service to call when HotKey Pressed
uint16_t DefHotKey; // default hot key for action
uint32_t dwFlags; // one of HKD_* constants
diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h
index 24fcadda68..bb7d29f411 100644
--- a/include/m_srmm_int.h
+++ b/include/m_srmm_int.h
@@ -210,7 +210,6 @@ protected:
CCtrlRichEdit m_message;
SESSION_INFO *m_si;
COLORREF m_clrInputBG, m_clrInputFG;
- time_t m_iLastEnterTime;
// user typing support;
uint32_t m_nLastTyping = 0;
@@ -219,7 +218,7 @@ protected:
const USERINFO* m_pUserTyping = nullptr;
CCtrlListBox m_nickList;
- CCtrlButton m_btnColor, m_btnBkColor;
+ CCtrlButton m_btnColor, m_btnBkColor, m_btnOk;
CCtrlButton m_btnBold, m_btnItalic, m_btnUnderline;
CCtrlButton m_btnHistory, m_btnChannelMgr, m_btnNickList, m_btnFilter;
@@ -289,6 +288,11 @@ EXTERN_C MIR_APP_DLL(DWORD) CALLBACK Srmm_LogStreamCallback(DWORD_PTR dwCookie,
EXTERN_C MIR_APP_DLL(void) Srmm_Broadcast(UINT, WPARAM, LPARAM);
/////////////////////////////////////////////////////////////////////////////////////////
+// creates plugin-specific hot key for sending messages
+
+EXTERN_C MIR_APP_DLL(void) Srmm_CreateHotkey(const char *pszSection, const char *pszDescription);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// finds a SRMM window using hContact
EXTERN_C MIR_APP_DLL(HWND) Srmm_FindWindow(MCONTACT hContact);