27 #ifndef SB_MAC_WINDOW_TITLEBAR_SERVICE_H_
28 #define SB_MAC_WINDOW_TITLEBAR_SERVICE_H_
50 #include <nsIGenericFactory.h>
53 #include <Cocoa/Cocoa.h>
66 #define SB_MAC_WINDOW_TITLEBAR_SERVICE_CLASSNAME "sbMacWindowTitlebarService"
67 #define SB_MAC_WIDNOW_TITLEBAR_SERVICE_DESCRIPTION \
68 "Songbird Mac Window Titlebar Service"
69 #define SB_MAC_WINDOW_TITLEBAR_SERVICE_CONTRACTID \
70 "@songbirdnest.com/Songbird/MacWindowTitlebarService;1"
71 #define SB_MAC_WINDOW_TITLEBAR_SERVICE_CID \
76 { 0x89, 0x17, 0xec, 0x63, 0xbb, 0x08, 0x5a, 0xa0 } \
126 static NS_METHOD
RegisterSelf(nsIComponentManager* aCompMgr,
128 const char* aLoaderStr,
130 const nsModuleComponentInfo* aInfo);
137 const char* aLoaderStr,
138 const nsModuleComponentInfo* aInfo);
185 - (void)_sbDrawRect:(NSRect)aDirtyRect;
192 - (void)_sbOrigDrawRect:(NSRect)aDirtyRect;
196 #endif // SB_MAC_WINDOW_TITLEBAR_SERVICE_H_
static NS_METHOD UnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
static NS_METHOD RegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
NSRect _titlebarTitleRect()
NS_DECL_ISUPPORTS sbMacWindowTitlebarService()
virtual ~sbMacWindowTitlebarService()