mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1346967: Generate metadata for all three ISimpleDOM interfaces via a single combined run of MIDL; r=tbsaunde
MozReview-Commit-ID: DGgXSbISujv --HG-- extra : rebase_source : 32f6a76d3ba24b74d85470ce82c0c2b50ac79b8c
This commit is contained in:
parent
f500c10597
commit
0413a301e8
@ -2,4 +2,4 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
1 typelib ISimpleDOMNode.tlb
|
||||
1 typelib ISimpleDOM.tlb
|
||||
|
23
accessible/interfaces/msaa/ISimpleDOM.idl
Normal file
23
accessible/interfaces/msaa/ISimpleDOM.idl
Normal file
@ -0,0 +1,23 @@
|
||||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// We use #include instead of import here so that MIDL treats these files as
|
||||
// part of the current file, thus forcing MIDL to generate proxy info for them.
|
||||
#include "ISimpleDOMNode.idl"
|
||||
#include "ISimpleDOMDocument.idl"
|
||||
#include "ISimpleDOMText.idl"
|
||||
|
||||
[
|
||||
uuid(a6245497-9c0b-4449-85a5-bd6ad07df8ea),
|
||||
helpstring("ISimpleDOM Type Library")
|
||||
]
|
||||
library ISimpleDOM
|
||||
{
|
||||
interface ISimpleDOMNode;
|
||||
interface ISimpleDOMText;
|
||||
interface ISimpleDOMDocument;
|
||||
};
|
||||
|
@ -99,9 +99,6 @@ cpp_quote("")
|
||||
import "objidl.idl";
|
||||
import "oaidl.idl";
|
||||
|
||||
import "ISimpleDOMText.idl";
|
||||
import "ISimpleDOMDocument.idl";
|
||||
|
||||
[object, uuid(1814ceeb-49e2-407f-af99-fa755a7d2607)]
|
||||
interface ISimpleDOMNode : IUnknown
|
||||
{
|
||||
@ -174,15 +171,3 @@ interface ISimpleDOMNode : IUnknown
|
||||
[propget] HRESULT language([out, retval] BSTR *language);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
uuid(a6245497-9c0b-4449-85a5-bd6ad07df8ea),
|
||||
helpstring("ISimpleDOM Type Library")
|
||||
]
|
||||
library ISimpleDOM
|
||||
{
|
||||
interface ISimpleDOMNode;
|
||||
interface ISimpleDOMText;
|
||||
interface ISimpleDOMDocument;
|
||||
};
|
||||
|
||||
|
@ -6,27 +6,20 @@ GARBAGE += $(MIDL_GENERATED_FILES) done_gen
|
||||
|
||||
MIDL_GENERATED_FILES = \
|
||||
dlldata.c \
|
||||
ISimpleDOMNode.h \
|
||||
ISimpleDOMNode_p.c \
|
||||
ISimpleDOMNode_i.c \
|
||||
ISimpleDOMNode.tlb \
|
||||
ISimpleDOMDocument.h \
|
||||
ISimpleDOMDocument_p.c \
|
||||
ISimpleDOMDocument_i.c \
|
||||
ISimpleDOMText.h \
|
||||
ISimpleDOMText_p.c \
|
||||
ISimpleDOMText_i.c \
|
||||
ISimpleDOM.h \
|
||||
ISimpleDOM_i.c \
|
||||
ISimpleDOM_p.c \
|
||||
ISimpleDOM.tlb \
|
||||
$(NULL)
|
||||
|
||||
$(MIDL_GENERATED_FILES): done_gen
|
||||
|
||||
done_gen: ISimpleDOMNode.idl \
|
||||
done_gen: ISimpleDOM.idl \
|
||||
ISimpleDOMNode.idl \
|
||||
ISimpleDOMDocument.idl \
|
||||
ISimpleDOMText.idl
|
||||
|
||||
$(MIDL) $(MIDL_FLAGS) -I $(srcdir) -Oicf $(srcdir)/ISimpleDOMNode.idl
|
||||
$(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMDocument.idl
|
||||
$(MIDL) $(MIDL_FLAGS) -Oicf $(srcdir)/ISimpleDOMText.idl
|
||||
$(MIDL) $(MIDL_FLAGS) -I $(srcdir) -robust -Oicf $(srcdir)/ISimpleDOM.idl
|
||||
touch $@
|
||||
|
||||
export:: done_gen
|
||||
@ -38,12 +31,8 @@ register::
|
||||
EMBED_MANIFEST_AT = 2
|
||||
|
||||
midl_exports := \
|
||||
ISimpleDOMDocument.h \
|
||||
ISimpleDOMDocument_i.c \
|
||||
ISimpleDOMNode.h \
|
||||
ISimpleDOMNode_i.c \
|
||||
ISimpleDOMText.h \
|
||||
ISimpleDOMText_i.c \
|
||||
ISimpleDOM.h \
|
||||
ISimpleDOM_i.c \
|
||||
$(NULL)
|
||||
|
||||
INSTALL_TARGETS += midl_exports
|
||||
|
@ -8,15 +8,14 @@ GeckoSharedLibrary('AccessibleMarshal', linkage=None)
|
||||
|
||||
SOURCES += [
|
||||
'!dlldata.c',
|
||||
'!ISimpleDOMDocument_i.c',
|
||||
'!ISimpleDOMDocument_p.c',
|
||||
'!ISimpleDOMNode_i.c',
|
||||
'!ISimpleDOMNode_p.c',
|
||||
'!ISimpleDOMText_i.c',
|
||||
'!ISimpleDOMText_p.c',
|
||||
'!ISimpleDOM_i.c',
|
||||
'!ISimpleDOM_p.c',
|
||||
]
|
||||
|
||||
DEFINES['REGISTER_PROXY_DLL'] = True
|
||||
# The following line is required to preserve compatibility with older versions
|
||||
# of AccessibleMarshal.dll.
|
||||
DEFINES['PROXY_CLSID'] = 'IID_ISimpleDOMNode'
|
||||
|
||||
DEFFILE = SRCDIR + '/AccessibleMarshal.def'
|
||||
|
||||
@ -28,16 +27,10 @@ OS_LIBS += [
|
||||
|
||||
GENERATED_FILES += [
|
||||
'dlldata.c',
|
||||
'ISimpleDOMDocument.h',
|
||||
'ISimpleDOMDocument_i.c',
|
||||
'ISimpleDOMDocument_p.c',
|
||||
'ISimpleDOMNode.h',
|
||||
'ISimpleDOMNode.tlb',
|
||||
'ISimpleDOMNode_i.c',
|
||||
'ISimpleDOMNode_p.c',
|
||||
'ISimpleDOMText.h',
|
||||
'ISimpleDOMText_i.c',
|
||||
'ISimpleDOMText_p.c',
|
||||
'ISimpleDOM.h',
|
||||
'ISimpleDOM.tlb',
|
||||
'ISimpleDOM_i.c',
|
||||
'ISimpleDOM_p.c',
|
||||
]
|
||||
|
||||
RCINCLUDE = 'AccessibleMarshal.rc'
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsIDocShell.h"
|
||||
|
||||
#include "ISimpleDOMNode_i.c"
|
||||
#include "ISimpleDOM.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace a11y {
|
||||
|
@ -5,7 +5,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "sdnAccessible-inl.h"
|
||||
#include "ISimpleDOMNode_i.c"
|
||||
#include "ISimpleDOM_i.c"
|
||||
|
||||
#include "DocAccessibleWrap.h"
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#ifndef mozilla_a11y_sdnAccessible_h_
|
||||
#define mozilla_a11y_sdnAccessible_h_
|
||||
|
||||
#include "ISimpleDOMNode.h"
|
||||
#include "ISimpleDOM.h"
|
||||
#include "AccessibleWrap.h"
|
||||
#include "IUnknownImpl.h"
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include "sdnDocAccessible.h"
|
||||
|
||||
#include "ISimpleDOMDocument_i.c"
|
||||
#include "ISimpleDOM.h"
|
||||
|
||||
#include "nsNameSpaceManager.h"
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#ifndef mozilla_a11y_sdnDocAccessible_h_
|
||||
#define mozilla_a11y_sdnDocAccessible_h_
|
||||
|
||||
#include "ISimpleDOMDocument.h"
|
||||
#include "ISimpleDOM.h"
|
||||
#include "IUnknownImpl.h"
|
||||
|
||||
#include "DocAccessibleWrap.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include "sdnTextAccessible.h"
|
||||
|
||||
#include "ISimpleDOMText_i.c"
|
||||
#include "ISimpleDOM.h"
|
||||
|
||||
#include "nsCoreUtils.h"
|
||||
#include "DocAccessible.h"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#ifndef mozilla_a11y_sdnTextAccessible_h_
|
||||
#define mozilla_a11y_sdnTextAccessible_h_
|
||||
|
||||
#include "ISimpleDOMText.h"
|
||||
#include "ISimpleDOM.h"
|
||||
#include "IUnknownImpl.h"
|
||||
|
||||
#include "AccessibleWrap.h"
|
||||
|
Loading…
Reference in New Issue
Block a user