include: Add DO_NO_IMPORTS ifdefs where needed.
This commit is contained in:
parent
6310819afb
commit
9719bcaf5c
12 changed files with 24 additions and 3 deletions
|
@ -16,9 +16,11 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "ocidl.idl";
|
import "ocidl.idl";
|
||||||
import "oleidl.idl";
|
import "oleidl.idl";
|
||||||
import "oaidl.idl";
|
import "oaidl.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef enum tagSCRIPTSTATE {
|
typedef enum tagSCRIPTSTATE {
|
||||||
SCRIPTSTATE_UNINITIALIZED = 0,
|
SCRIPTSTATE_UNINITIALIZED = 0,
|
||||||
|
|
|
@ -17,7 +17,9 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "unknwn.idl";
|
import "unknwn.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Types
|
* Types
|
||||||
|
|
|
@ -16,10 +16,12 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "ocidl.idl";
|
import "ocidl.idl";
|
||||||
import "oleidl.idl";
|
import "oleidl.idl";
|
||||||
import "oaidl.idl";
|
import "oaidl.idl";
|
||||||
import "servprov.idl";
|
import "servprov.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
cpp_quote("#define fdexNameCaseSensitive 0x00000001L")
|
cpp_quote("#define fdexNameCaseSensitive 0x00000001L")
|
||||||
cpp_quote("#define fdexNameEnsure 0x00000002L")
|
cpp_quote("#define fdexNameEnsure 0x00000002L")
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "unknwn.idl";
|
import "unknwn.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
interface IStream;
|
interface IStream;
|
||||||
|
|
||||||
|
|
|
@ -19,11 +19,12 @@
|
||||||
|
|
||||||
#include <msxmldid.h>
|
#include <msxmldid.h>
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "unknwn.idl";
|
import "unknwn.idl";
|
||||||
import "wtypes.idl";
|
import "wtypes.idl";
|
||||||
import "objidl.idl";
|
import "objidl.idl";
|
||||||
import "oaidl.idl";
|
import "oaidl.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
[
|
[
|
||||||
local,
|
local,
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "objidl.idl";
|
import "objidl.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
interface IDispatch;
|
interface IDispatch;
|
||||||
interface ITypeInfo;
|
interface ITypeInfo;
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "unknwn.idl";
|
import "unknwn.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
interface IStream;
|
interface IStream;
|
||||||
interface IEnumString;
|
interface IEnumString;
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "unknwn.idl";
|
import "unknwn.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
cpp_quote("#define INTERFACESAFE_FOR_UNTRUSTED_CALLER 1")
|
cpp_quote("#define INTERFACESAFE_FOR_UNTRUSTED_CALLER 1")
|
||||||
cpp_quote("#define INTERFACESAFE_FOR_UNTRUSTED_DATA 2")
|
cpp_quote("#define INTERFACESAFE_FOR_UNTRUSTED_DATA 2")
|
||||||
|
|
|
@ -18,11 +18,12 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "oleidl.idl";
|
import "oleidl.idl";
|
||||||
import "oaidl.idl";
|
import "oaidl.idl";
|
||||||
import "servprov.idl";
|
import "servprov.idl";
|
||||||
import "urlmon.idl";
|
import "urlmon.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IOleControlTypes interface
|
* IOleControlTypes interface
|
||||||
|
|
|
@ -18,7 +18,9 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "objidl.idl";
|
import "objidl.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
interface IOleInPlaceActiveObject;
|
interface IOleInPlaceActiveObject;
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,10 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "objidl.idl";
|
import "objidl.idl";
|
||||||
import "oaidl.idl";
|
import "oaidl.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Windows SDK braindamage alert
|
* Windows SDK braindamage alert
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef DO_NO_IMPORTS
|
||||||
import "wtypes.idl";
|
import "wtypes.idl";
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Interfaces */
|
/* Interfaces */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue