NS_IMETHOD SetObserverManager(nsIXPFCObserverManager * aObserverManager); NS_IMETHOD_(nsIXPFCObserverManager *) GetObserverManager();
CLASS_EXPORT_XPFC nsXPFCToolkit : public nsIXPFCToolkit{public:  nsXPFCToolkit();  NS_DECL_ISUPPORTS  NS_IMETHOD Init(nsIApplicationShell * aApplicationShell) ;  NS_IMETHOD SetObserverManager(nsIXPFCObserverManager * aObserverManager);  NS_IMETHOD_(nsIXPFCObserverManager *) GetObserverManager();  NS_IMETHOD SetCanvasManager(nsIXPFCCanvasManager * aCanvasManager);  NS_IMETHOD_(nsIXPFCCanvasManager *) GetCanvasManager();  NS_IMETHOD GetRootCanvas(nsIXPFCCanvas ** aCanvas);  NS_IMETHOD_(EVENT_CALLBACK) GetShellEventCallback() ;  NS_IMETHOD SetApplicationShell(nsIApplicationShell * aApplicationShell) ;  NS_IMETHOD_(nsIApplicationShell *) GetApplicationShell() ;  NS_IMETHOD_(nsIViewManager *) GetViewManager() ;protected:  ~nsXPFCToolkit();private:  nsIApplicationShell * mApplicationShell;  nsIXPFCObserverManager * mObserverManager;  nsIXPFCCanvasManager * mCanvasManager;};