Re-arrange to fix win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@32255 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4d49159014
commit
258ae5e444
@ -117,27 +117,7 @@ struct nsWindowInfo
|
||||
|
||||
};
|
||||
|
||||
class nsWindowEnumerator : public nsISimpleEnumerator
|
||||
{
|
||||
|
||||
public:
|
||||
nsWindowEnumerator ( nsString* inTypeString, nsWindowMediator& inMediator );
|
||||
virtual ~nsWindowEnumerator();
|
||||
NS_IMETHOD HasMoreElements(PRBool *retval);
|
||||
NS_IMETHOD GetNext(nsISupports **retval);
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
private:
|
||||
friend nsWindowMediator;
|
||||
|
||||
PRInt32 FindNext();
|
||||
void WindowRemoved( PRInt32 inIndex);
|
||||
|
||||
nsCOMPtr<nsWindowMediator> mWindowMediator;
|
||||
nsString mType;
|
||||
PRInt32 mCurrentPosition;
|
||||
};
|
||||
|
||||
class nsWindowEnumerator;
|
||||
|
||||
class nsWindowMediator : public nsIWindowMediator
|
||||
{
|
||||
@ -273,6 +253,30 @@ private:
|
||||
static nsIRDFDataSource* mInner;
|
||||
};
|
||||
|
||||
|
||||
class nsWindowEnumerator : public nsISimpleEnumerator
|
||||
{
|
||||
|
||||
public:
|
||||
nsWindowEnumerator ( nsString* inTypeString, nsWindowMediator& inMediator );
|
||||
virtual ~nsWindowEnumerator();
|
||||
NS_IMETHOD HasMoreElements(PRBool *retval);
|
||||
NS_IMETHOD GetNext(nsISupports **retval);
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
private:
|
||||
friend nsWindowMediator;
|
||||
|
||||
PRInt32 FindNext();
|
||||
void WindowRemoved( PRInt32 inIndex);
|
||||
|
||||
nsCOMPtr<nsWindowMediator> mWindowMediator;
|
||||
nsString mType;
|
||||
PRInt32 mCurrentPosition;
|
||||
};
|
||||
|
||||
|
||||
|
||||
nsIRDFResource *nsWindowMediator::kNC_WindowMediatorRoot = NULL;
|
||||
nsIRDFResource *nsWindowMediator::kNC_Name = NULL;
|
||||
nsIRDFResource *nsWindowMediator::kNC_URL = NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user