summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber.h')
-rw-r--r--protocols/JabberG/src/jabber.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber.h b/protocols/JabberG/src/jabber.h
index d6c1b29490..f16f4b60aa 100644
--- a/protocols/JabberG/src/jabber.h
+++ b/protocols/JabberG/src/jabber.h
@@ -95,6 +95,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_xstatus.h>
#include <win2k.h>
#include <m_imgsrvc.h>
+#include <m_clc.h>
#include <m_addcontact.h>
#include <m_folders.h>
@@ -105,6 +106,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_proto_listeningto.h>
#include <m_nudge.h>
#include <m_skin_eng.h>
+#include <m_gui.h>
#include "../../plugins/zlib/src/zlib.h"
@@ -115,7 +117,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "jabber_byte.h"
#include "jabber_ibb.h"
#include "jabber_db_utils.h"
-#include "ui_utils.h"
struct CJabberProto;
@@ -140,6 +141,28 @@ protected:
}
};
+struct CFilterData;
+class CCtrlFilterListView : public CCtrlListView
+{
+ typedef CCtrlListView CSuper;
+
+public:
+ CCtrlFilterListView(CDlgBase* dlg, int ctrlId, bool trackFilter, bool keepHiglight);
+ ~CCtrlFilterListView();
+
+ TCHAR *GetFilterText();
+ CCallback<CCtrlFilterListView> OnFilterChanged;
+
+protected:
+ CFilterData *fdat;
+ bool m_trackFilter;
+ bool m_keepHiglight;
+
+ void OnInit();
+ LRESULT CustomWndProc(UINT msg, WPARAM wParam, LPARAM lParam);
+ void FilterHighlight(TCHAR *filter);
+};
+
#if !defined(OPENFILENAME_SIZE_VERSION_400)
#define OPENFILENAME_SIZE_VERSION_400 sizeof(OPENFILENAME)
#endif
@@ -747,6 +770,9 @@ CJabberProto *JabberChooseInstance(bool bIsLink=false);
bool JabberReadXep203delay(HXML node, time_t &msgTime);
+int UIEmulateBtnClick(HWND hwndDlg, UINT idcButton);
+void UIShowControls(HWND hwndDlg, int *idList, int nCmdShow);
+
//---- jabber_xml.cpp -------------------------------------------------------------------
void strdel(char* parBuffer, int len);