30 #ifndef __SB_WINDOWMOVE_SERVICE_H__
31 #define __SB_WINDOWMOVE_SERVICE_H__
33 #include "sbIWindowMoveService.h"
36 #include <nsHashKeys.h>
37 #include <nsInterfaceHashtable.h>
54 NS_DECL_SBIWINDOWMOVESERVICE
55 NS_DECL_NSITIMERCALLBACK
57 typedef std::map<HWND, nsCOMPtr<sbIWindowMoveListener> >
listeners_t;
61 typedef std::map<HWND, nsCOMPtr<nsITimer> >
timers_t;
66 static LRESULT CALLBACK
CallWndProc(
int aCode, WPARAM wParam, LPARAM lParam);
NS_DECL_ISUPPORTS NS_DECL_SBIWINDOWMOVESERVICE NS_DECL_NSITIMERCALLBACK typedef std::map< HWND, nsCOMPtr< sbIWindowMoveListener > > listeners_t
PRBool IsHooked(HWND aWnd)
std::map< HWND, bool > resizing_t
timertohwnd_t mTimersToWnd
std::map< nsITimer *, HWND > timertohwnd_t
virtual ~sbWindowMoveService()
std::map< HWND, HHOOK > hooks_t
std::map< HWND, nsCOMPtr< nsITimer > > timers_t
static LRESULT CALLBACK CallWndProc(int aCode, WPARAM wParam, LPARAM lParam)