Back to index

lightning-sunbird  0.9+nobinonly
nsICmdParams.h
Go to the documentation of this file.
00001 #if !defined(AFX_NSICMDPARAMS_H__E2105F5B_B953_11D6_9BE4_00C04FA02BE6__INCLUDED_)
00002 #define AFX_NSICMDPARAMS_H__E2105F5B_B953_11D6_9BE4_00C04FA02BE6__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // nsICmdParams.h : header file
00008 //
00009 
00010 #include "QaUtils.h"
00011 #include "BrowserFrm.h"
00012 #include "BrowserImpl.h"
00013 #include "BrowserView.h"
00014 #include "Tests.h"
00015 #include "nsICommandMgr.h"
00016 
00018 // nsICmdParams window
00019 
00020 class CnsICommandMgr;
00021 
00022 class CnsICmdParams
00023 {
00024 // Construction
00025 public:
00026        CnsICmdParams(nsIWebBrowser *mWebBrowser);
00027 
00028        nsCOMPtr<nsIWebBrowser> qaWebBrowser;
00029        nsCOMPtr<nsICommandManager> cmdMgrObj;
00030        nsCOMPtr<nsICommandParams> cmdParamObj;
00031 // Attributes
00032 public:
00033 
00034 // Operations
00035 public:
00036 
00037 // Overrides
00038        // ClassWizard generated virtual function overrides
00039        //{{AFX_VIRTUAL(CnsICmdParams)
00040        //}}AFX_VIRTUAL
00041 
00042 // Implementation
00043        static nsICommandParams * GetCommandParamObject();
00044        void GetValueTypeTest(const char *, const char *, int);
00045        void GetBooleanValueTest(const char *, const char *, int);
00046        void GetLongValueTest(PRInt32, const char *, int);
00047        void GetDoubleValueTest(double, const char *, int);
00048        void GetStringValueTest(char *, const char *, int);
00049        void GetCStringValueTest(const char *, const char *, int);
00050 
00051        void SetBooleanValueTest(PRBool, const char *, int);
00052        void SetLongValueTest(PRInt32, const char *, int);
00053        void SetDoubleValueTest(double, const char *, int);
00054        void SetStringValueTest(char *, const char *, int);
00055        void SetCStringValueTest(char *, const char *, int);
00056 
00057        void OnStartTests(UINT nMenuID);
00058        void RunAllTests();
00059 
00060 public:
00061        virtual ~CnsICmdParams();
00062 
00063        // Generated message map functions
00064 protected:
00065 
00066 };
00067 
00069 
00070 //{{AFX_INSERT_LOCATION}}
00071 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00072 
00073 #endif // !defined(AFX_NSICMDPARAMS_H__E2105F5B_B953_11D6_9BE4_00C04FA02BE6__INCLUDED_)