зеркало из https://github.com/mozilla/gecko-dev.git
Remove unused explicit NS_DECL_IFOO declarations from %{C++ blocks in the header files; these are replaced by xpidl-generated NS_DECL_NSIFOO macros.
This commit is contained in:
Родитель
b99968cb9c
Коммит
62d42630f9
|
@ -117,10 +117,4 @@ interface nsIFindComponent : nsIAppShellComponent {
|
|||
%{C++
|
||||
#define NS_IFINDCOMPONENT_PROGID NS_IAPPSHELLCOMPONENT_PROGID "/find"
|
||||
#define NS_IFINDCOMPONENT_CLASSNAME "Mozilla Find Component"
|
||||
#define NS_DECL_IFINDCOMPONENT \
|
||||
NS_IMETHOD CreateContext( nsIWebShell *, nsIEditor *, nsISupports ** ); \
|
||||
NS_IMETHOD Find( nsISupports *, PRBool * ); \
|
||||
NS_IMETHOD Replace( nsISupports * ); \
|
||||
NS_IMETHOD FindNext( nsISupports *, PRBool * ); \
|
||||
NS_IMETHOD ResetContext( nsISupports *, nsIWebShell *, nsIEditor * );
|
||||
%}
|
||||
|
|
|
@ -48,22 +48,3 @@ interface nsISearchContext : nsISupports {
|
|||
void ConvertToWeakReference();
|
||||
void ConvertToOwningReference();
|
||||
};
|
||||
|
||||
%{C++
|
||||
#define NS_DECL_ISEARCHCONTEXT \
|
||||
NS_IMETHOD GetSearchString(PRUnichar**); \
|
||||
NS_IMETHOD SetSearchString(PRUnichar*); \
|
||||
NS_IMETHOD GetReplaceString(PRUnichar**); \
|
||||
NS_IMETHOD SetReplaceString(PRUnichar*); \
|
||||
NS_IMETHOD GetSearchBackwards(PRBool*); \
|
||||
NS_IMETHOD SetSearchBackwards(PRBool); \
|
||||
NS_IMETHOD GetCaseSensitive(PRBool*); \
|
||||
NS_IMETHOD SetCaseSensitive(PRBool); \
|
||||
NS_IMETHOD GetWrapSearch(PRBool*); \
|
||||
NS_IMETHOD SetWrapSearch(PRBool); \
|
||||
NS_IMETHOD GetTargetWebShell(nsIWebShell**); \
|
||||
NS_IMETHOD GetFindDialog(nsIDOMWindow**); \
|
||||
NS_IMETHOD SetFindDialog(nsIDOMWindow*); \
|
||||
NS_IMETHOD ConvertToWeakReference(); \
|
||||
NS_IMETHOD ConvertToOwningReference();
|
||||
%}
|
||||
|
|
|
@ -88,10 +88,4 @@ interface nsIAppShellComponent : nsISupports {
|
|||
#define NS_IAPPSHELLCOMPONENT_PROGID "component://netscape/appshell/component"
|
||||
#define NS_IAPPSHELLCOMPONENT_CLASSNAME "Mozilla AppShell Component"
|
||||
#define NS_IAPPSHELLCOMPONENT_KEY "software/netscape/appshell/components"
|
||||
|
||||
#define NS_DECL_IAPPSHELLCOMPONENT \
|
||||
NS_IMETHOD Initialize( nsIAppShellService*, \
|
||||
nsICmdLineService* ); \
|
||||
NS_IMETHOD Shutdown();
|
||||
|
||||
%}
|
||||
|
|
|
@ -48,6 +48,4 @@ interface nsISampleAppShellComponent : nsIAppShellComponent {
|
|||
%{C++
|
||||
#define NS_ISAMPLEAPPSHELLCOMPONENT_PROGID NS_IAPPSHELLCOMPONENT_PROGID "/sample"
|
||||
#define NS_ISAMPLEAPPSHELLCOMPONENT_CLASSNAME "Mozilla Sample App Shell Component"
|
||||
#define NS_DECL_ISAMPLEAPPSHELLCOMPONENT \
|
||||
NS_IMETHOD DoDialogTests( nsISupports *, nsIObserver * );
|
||||
%}
|
||||
|
|
|
@ -58,6 +58,4 @@ interface nsIUnknownContentTypeHandler : nsIAppShellComponent {
|
|||
%{C++
|
||||
#define NS_IUNKNOWNCONTENTTYPEHANDLER_PROGID NS_IAPPSHELLCOMPONENT_PROGID "/unknownContentType"
|
||||
#define NS_IUNKNOWNCONTENTTYPEHANDLER_CLASSNAME "Mozilla Unknown Content-Type Handler Component"
|
||||
#define NS_DECL_IUNKNOWNCONTENTTYPEHANDLER \
|
||||
NS_IMETHOD HandleUnknownContentType( nsIChannel*, const char*, nsIDOMWindow*);
|
||||
%}
|
||||
|
|
|
@ -59,7 +59,4 @@ interface nsIStreamTransfer : nsIAppShellComponent {
|
|||
%{C++
|
||||
#define NS_ISTREAMTRANSFER_PROGID NS_IAPPSHELLCOMPONENT_PROGID "/xfer"
|
||||
#define NS_ISTREAMTRANSFER_CLASSNAME "Mozilla Stream Transfer Component"
|
||||
#define NS_DECL_ISTREAMTRANSFER \
|
||||
NS_IMETHOD SelectFileAndTransferLocation( nsIURI*, nsIDOMWindow* ); \
|
||||
NS_IMETHOD SelectFileAndTransferLocationSpec( char const*, nsIDOMWindow* );
|
||||
%}
|
||||
|
|
|
@ -38,13 +38,3 @@ interface nsIStreamTransferOperation : nsISupports {
|
|||
void Start();
|
||||
void Stop();
|
||||
};
|
||||
|
||||
%{C++
|
||||
#define NS_DECL_ISTREAMTRANSFEROPERATION \
|
||||
NS_IMETHOD GetSource( char** ); \
|
||||
NS_IMETHOD GetTarget( char** ); \
|
||||
NS_IMETHOD GetObserver( nsIObserver** ); \
|
||||
NS_IMETHOD SetObserver( nsIObserver* ); \
|
||||
NS_IMETHOD Start( void ); \
|
||||
NS_IMETHOD Stop( void );
|
||||
%}
|
||||
|
|
Загрузка…
Ссылка в новой задаче