Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron...
[wine-gecko.git] / embedding / qa / testembed / nsICmdParams.h
blobdc040e17f123ca8940f08dad72d127e819ce6adb
1 #if !defined(AFX_NSICMDPARAMS_H__E2105F5B_B953_11D6_9BE4_00C04FA02BE6__INCLUDED_)
2 #define AFX_NSICMDPARAMS_H__E2105F5B_B953_11D6_9BE4_00C04FA02BE6__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // nsICmdParams.h : header file
8 //
10 #include "QaUtils.h"
11 #include "BrowserFrm.h"
12 #include "BrowserImpl.h"
13 #include "BrowserView.h"
14 #include "Tests.h"
15 #include "nsICommandMgr.h"
17 /////////////////////////////////////////////////////////////////////////////
18 // nsICmdParams window
20 class CnsICommandMgr;
22 class CnsICmdParams
24 // Construction
25 public:
26 CnsICmdParams(nsIWebBrowser *mWebBrowser);
28 nsCOMPtr<nsIWebBrowser> qaWebBrowser;
29 nsCOMPtr<nsICommandManager> cmdMgrObj;
30 nsCOMPtr<nsICommandParams> cmdParamObj;
31 // Attributes
32 public:
34 // Operations
35 public:
37 // Overrides
38 // ClassWizard generated virtual function overrides
39 //{{AFX_VIRTUAL(CnsICmdParams)
40 //}}AFX_VIRTUAL
42 // Implementation
43 static nsICommandParams * GetCommandParamObject();
44 void GetValueTypeTest(const char *, const char *, int);
45 void GetBooleanValueTest(const char *, const char *, int);
46 void GetLongValueTest(PRInt32, const char *, int);
47 void GetDoubleValueTest(double, const char *, int);
48 void GetStringValueTest(char *, const char *, int);
49 void GetCStringValueTest(const char *, const char *, int);
51 void SetBooleanValueTest(PRBool, const char *, int);
52 void SetLongValueTest(PRInt32, const char *, int);
53 void SetDoubleValueTest(double, const char *, int);
54 void SetStringValueTest(char *, const char *, int);
55 void SetCStringValueTest(char *, const char *, int);
57 void OnStartTests(UINT nMenuID);
58 void RunAllTests();
60 public:
61 virtual ~CnsICmdParams();
63 // Generated message map functions
64 protected:
68 /////////////////////////////////////////////////////////////////////////////
70 //{{AFX_INSERT_LOCATION}}
71 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
73 #endif // !defined(AFX_NSICMDPARAMS_H__E2105F5B_B953_11D6_9BE4_00C04FA02BE6__INCLUDED_)