summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/include')
-rw-r--r--plugins/TabSRMM/src/include/functions.h2
-rw-r--r--plugins/TabSRMM/src/include/msgs.h1
-rw-r--r--plugins/TabSRMM/src/include/resource.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/include/functions.h b/plugins/TabSRMM/src/include/functions.h
index 4efdc9662e..8d3dabb7ba 100644
--- a/plugins/TabSRMM/src/include/functions.h
+++ b/plugins/TabSRMM/src/include/functions.h
@@ -88,7 +88,9 @@ TContainerData* TSAPI CreateContainer(const TCHAR *name, int iTemp, HANDLE hCont
TContainerData* TSAPI FindContainerByName(const TCHAR *name);
int TSAPI GetTabIndexFromHWND(HWND hwndTab, HWND hwnd);
+HWND TSAPI GetHWNDFromTabIndex(HWND hwndTab, int idx);
int TSAPI GetTabItemFromMouse(HWND hwndTab, POINT *pt);
+void TSAPI CloseOtherTabs(HWND hwndTab, TWindowData &dat);
int TSAPI ActivateTabFromHWND(HWND hwndTab, HWND hwnd);
void TSAPI AdjustTabClientRect(TContainerData *pContainer, RECT *rc);
void TSAPI ReflashContainer(TContainerData *pContainer);
diff --git a/plugins/TabSRMM/src/include/msgs.h b/plugins/TabSRMM/src/include/msgs.h
index fe24199adb..3e95b494c0 100644
--- a/plugins/TabSRMM/src/include/msgs.h
+++ b/plugins/TabSRMM/src/include/msgs.h
@@ -1016,6 +1016,7 @@ typedef struct {
#define TABSRMM_HK_FILTERTOGGLE 29
#define TABSRMM_HK_LISTTOGGLE 30
#define TABSRMM_HK_MUC_SHOWSERVER 31
+#define TABSRMM_HK_CLOSE_OTHER 32
#define TABSRMM_HK_SECTION_IM LPGEN("Message windows - IM")
#define TABSRMM_HK_SECTION_GENERIC LPGEN("Message windows - all")
diff --git a/plugins/TabSRMM/src/include/resource.h b/plugins/TabSRMM/src/include/resource.h
index 25f9547d0f..d92c793c35 100644
--- a/plugins/TabSRMM/src/include/resource.h
+++ b/plugins/TabSRMM/src/include/resource.h
@@ -628,6 +628,7 @@
#define ID_TABCONTEXT_PREVTAB 40029
#define ID_CLOSETAB 40030
#define ID_TABMENU_CLOSETAB 40031
+#define ID_TABMENU_CLOSEOTHERTABS 40032
#define ID_TABMENU_SAVELOCALESETTINGFORTHISCONTACT 40034
#define ID_TABMENU_OPENWINDOWSERVICE 40035
#define ID_TABMENU_ATTACHTOCONTAINER 40036
@@ -658,6 +659,7 @@
#define ID_FILE_CLOSEMESSAGESESSION 40086
#define ID_VIEW_SHOWMULTISENDCONTACTLIST 40087
#define ID_VIEW_TITLEBAR 40088
+#define ID_FILE_CLOSEOTHERMSGSESSIONS 40090
#define ID_VIEW_TABSATBOTTOM 40093
#define ID_VIEW_STAYONTOP 40095
#define ID_HELP 40096