sbWindowMoveService Class Reference

#include <sbWindowMoveService.h>

Inheritance diagram for sbWindowMoveService:
[legend]
Collaboration diagram for sbWindowMoveService:
[legend]

Public Types

typedef std::map< HWND, HHOOK > hooks_t
 
typedef std::map< HWND, bool > resizing_t
 
typedef std::map< HWND,
nsCOMPtr< nsITimer > > 
timers_t
 
typedef std::map< nsITimer
*, HWND > 
timertohwnd_t
 

Public Member Functions

 sbWindowMoveService ()
 
nsresult Init ()
 
PRBool IsHooked (HWND aWnd)
 
- Public Member Functions inherited from sbIWindowMoveService
void startWatchingWindow (in nsISupports aWindow, in sbIWindowMoveListener aListener)
 
void stopWatchingWindow (in nsISupports aWindow, in sbIWindowMoveListener aListener)
 

Static Public Member Functions

static LRESULT CALLBACK CallWndProc (int aCode, WPARAM wParam, LPARAM lParam)
 

Public Attributes

NS_DECL_ISUPPORTS
NS_DECL_SBIWINDOWMOVESERVICE
NS_DECL_NSITIMERCALLBACK
typedef std::map< HWND,
nsCOMPtr
< sbIWindowMoveListener > > 
listeners_t
 

Protected Member Functions

virtual ~sbWindowMoveService ()
 

Protected Attributes

listeners_t mListeners
 
hooks_t mHooks
 
resizing_t mResizing
 
timers_t mTimers
 
timertohwnd_t mTimersToWnd
 

Detailed Description

Definition at line 43 of file sbWindowMoveService.h.

Member Typedef Documentation

typedef std::map<HWND, HHOOK> sbWindowMoveService::hooks_t

Definition at line 58 of file sbWindowMoveService.h.

typedef std::map<HWND, bool> sbWindowMoveService::resizing_t

Definition at line 59 of file sbWindowMoveService.h.

typedef std::map<HWND, nsCOMPtr<nsITimer> > sbWindowMoveService::timers_t

Definition at line 61 of file sbWindowMoveService.h.

typedef std::map<nsITimer *, HWND> sbWindowMoveService::timertohwnd_t

Definition at line 62 of file sbWindowMoveService.h.

Constructor & Destructor Documentation

sbWindowMoveService::sbWindowMoveService ( )

Definition at line 37 of file sbWindowMoveService.cpp.

sbWindowMoveService::~sbWindowMoveService ( )
protectedvirtual

Definition at line 41 of file sbWindowMoveService.cpp.

Member Function Documentation

LRESULT CALLBACK sbWindowMoveService::CallWndProc ( int  aCode,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 87 of file sbWindowMoveService.cpp.

Here is the call graph for this function:

nsresult sbWindowMoveService::Init ( )

Definition at line 46 of file sbWindowMoveService.cpp.

PRBool sbWindowMoveService::IsHooked ( HWND  aWnd)

Definition at line 161 of file sbWindowMoveService.cpp.

Member Data Documentation

NS_DECL_ISUPPORTS NS_DECL_SBIWINDOWMOVESERVICE NS_DECL_NSITIMERCALLBACK typedef std::map<HWND, nsCOMPtr<sbIWindowMoveListener> > sbWindowMoveService::listeners_t

Definition at line 57 of file sbWindowMoveService.h.

hooks_t sbWindowMoveService::mHooks
protected

Definition at line 71 of file sbWindowMoveService.h.

listeners_t sbWindowMoveService::mListeners
protected

Definition at line 70 of file sbWindowMoveService.h.

resizing_t sbWindowMoveService::mResizing
protected

Definition at line 72 of file sbWindowMoveService.h.

timers_t sbWindowMoveService::mTimers
protected

Definition at line 74 of file sbWindowMoveService.h.

timertohwnd_t sbWindowMoveService::mTimersToWnd
protected

Definition at line 75 of file sbWindowMoveService.h.


The documentation for this class was generated from the following files: