зеркало из https://github.com/mozilla/pjs.git
Remove definition of NS_DECL_IOBSERVER and SERVICE and replace uses with xpidl-generated NS_DECL_NSIOBSERVER macro.
This commit is contained in:
Родитель
2eaf064647
Коммит
b601095f5d
|
@ -57,7 +57,7 @@ public:
|
|||
PRUint32 numOfAttributes, const PRUnichar* nameArray[],
|
||||
const PRUnichar* valueArray[]);
|
||||
|
||||
NS_DECL_IOBSERVER
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public:
|
|||
NS_IMETHOD SI_SignonViewerReturn(nsAutoString results);
|
||||
|
||||
// nsIObserver
|
||||
NS_DECL_IOBSERVER
|
||||
NS_DECL_NSIOBSERVER
|
||||
NS_IMETHOD Notify(nsIContent* formNode);
|
||||
|
||||
// nsIDocumentLoaderObserver
|
||||
|
|
|
@ -68,7 +68,7 @@ public:
|
|||
const PRUnichar* nameArray[], const PRUnichar* valueArray[]);
|
||||
|
||||
/* methode for nsIObserver */
|
||||
NS_DECL_IOBSERVER
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
||||
/* methode for nsIMetaCharsetService */
|
||||
NS_IMETHOD Start();
|
||||
|
|
|
@ -68,7 +68,7 @@ public:
|
|||
const PRUnichar* nameArray[], const PRUnichar* valueArray[]);
|
||||
|
||||
/* methode for nsIObserver */
|
||||
NS_DECL_IOBSERVER
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
||||
/* methode for nsIXMLEncodingService */
|
||||
NS_IMETHOD Start();
|
||||
|
|
|
@ -41,7 +41,4 @@ interface nsIObserver : nsISupports {
|
|||
|
||||
#define NS_OBSERVER_CLASSNAME "Observer"
|
||||
|
||||
#define NS_DECL_IOBSERVER \
|
||||
NS_IMETHOD Observe( nsISupports*, const PRUnichar*, const PRUnichar* );
|
||||
|
||||
%}
|
||||
|
|
|
@ -38,10 +38,4 @@ interface nsIObserverService : nsISupports {
|
|||
|
||||
#define NS_OBSERVERSERVICE_CLASSNAME "Observer Service"
|
||||
|
||||
#define NS_DECL_IOBSERVERSERVICE \
|
||||
NS_IMETHOD AddObserver(nsIObserver*, const PRUnichar*); \
|
||||
NS_IMETHOD RemoveObserver(nsIObserver*, const PRUnichar*); \
|
||||
NS_IMETHOD EnumerateObserverList(const PRUnichar*, nsIEnumerator**); \
|
||||
NS_IMETHOD Notify(nsISupports*, const PRUnichar*, const PRUnichar*); \
|
||||
|
||||
%}
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
|
||||
NS_DEFINE_STATIC_CID_ACCESSOR( NS_OBSERVER_CID )
|
||||
|
||||
NS_DECL_IOBSERVER
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
||||
nsObserver(nsISupports* outer);
|
||||
virtual ~nsObserver(void);
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
static nsresult GetObserverService(nsIObserverService** anObserverService);
|
||||
|
||||
NS_DECL_IOBSERVERSERVICE
|
||||
NS_DECL_NSIOBSERVERSERVICE
|
||||
|
||||
nsObserverService();
|
||||
virtual ~nsObserverService(void);
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
}
|
||||
virtual ~TestObserver() {}
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_IOBSERVER
|
||||
NS_DECL_NSIOBSERVER
|
||||
nsString mName;
|
||||
};
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ class nsBrowserAppCore : public nsBaseAppCore,
|
|||
|
||||
|
||||
// nsIObserver
|
||||
NS_DECL_IOBSERVER
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
||||
|
||||
// nsISessionHistory methods
|
||||
|
|
Загрузка…
Ссылка в новой задаче