Changeset 49908 in vbox for trunk/src/VBox
- Timestamp:
- Dec 15, 2013 3:59:38 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 91290
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r49906 r49908 908 908 909 909 910 if defined(VBOX_WITH_MIDL_PROXY_STUB) && "$(KBUILD_TARGET)" == "win" 911 # 912 # Experimental COM proxy + stub DLL. 913 # 914 DLLS += VBoxProxyStub 915 VBoxProxyStub_TEMPLATE = VBOXMAINCOMP 916 VBoxProxyStub_DEFS = REGISTER_PROXY_DLL 917 VBoxProxyStub_SOURCES = \ 918 $(VBoxCOM_0_OUTDIR)/dlldata.c \ 919 $(VBoxCOM_0_OUTDIR)/VirtualBox_p.c \ 920 $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c \ 921 src-all/win/VBoxProxyStub.def 922 endif 923 924 925 910 926 # generate rules 911 927 include $(FILE_KBUILD_SUB_FOOTER) … … 950 966 $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c \ 951 967 + $(VBoxCOM_0_OUTDIR)/VirtualBox.h \ 968 $(if $(VBOX_WITH_MIDL_PROXY_STUB),+ $(VBoxCOM_0_OUTDIR)/VirtualBox_p.c + $(VBoxCOM_0_OUTDIR)/dlldata.c,) \ 952 969 + $(VBoxCOM_0_OUTDIR)/VirtualBox.tlb: $(VBOX_IDL_FILE.MSCOM) | $$(dir $$@) 953 970 $(VBOX_WIN_MIDL) /nologo \ … … 961 978 $(VBoxCOM-x86_0_OUTDIR)/VirtualBox_i.c \ 962 979 + $(VBoxCOM-x86_0_OUTDIR)/VirtualBox.h \ 980 $(if $(VBOX_WITH_MIDL_PROXY_STUB),+ $(VBoxCOM-x86_0_OUTDIR)/VirtualBox_p.c + $(VBoxCOM-x86_0_OUTDIR)/dlldata.c,) \ 963 981 + $(VBoxCOM-x86_0_OUTDIR)/VirtualBox-x86.tlb: $(VBOX_IDL_FILE.MSCOM) | $$(dir $$@) 964 982 $(VBOX_WIN_MIDL) /nologo /env win32 /target NT51 \ -
trunk/src/VBox/Main/idl/midl.xsl
r49906 r49908 158 158 <!-- all enums go first --> 159 159 <xsl:apply-templates select="enum | if/enum"/> 160 <!-- everything else but result codes and enums --> 161 <xsl:apply-templates select="*[not(self::result or self::enum) and 162 not(self::if[result] or self::if[enum])]"/> 160 <!-- declare the interfaces --> 161 <xsl:apply-templates select="if | interface"/> 163 162 </xsl:if> 164 163 … … 177 176 </xsl:for-each> 178 177 <xsl:text>
</xsl:text> 179 <!-- forward declarations -->180 <xsl:apply-templates select="if | interface" mode="forward"/>181 178 <xsl:text>
</xsl:text> 182 179 <xsl:choose> 183 180 <xsl:when test="$g_fGenProxy = 'yes'"> 184 <!-- all enums go first --> 181 <!-- reference enums and interfaces --> 182 <xsl:apply-templates select="if | interface" mode="forward"/> 185 183 <xsl:apply-templates select="enum | if/enum" mode="forward"/> 184 <!-- the modules (i.e. everything else) --> 185 <xsl:apply-templates select="module | if/module"/> 186 186 </xsl:when> 187 187 <xsl:otherwise> 188 <!-- forward declarations --> 189 <xsl:apply-templates select="if | interface" mode="forward"/> 188 190 <!-- all enums go first --> 189 191 <xsl:apply-templates select="enum | if/enum"/> -
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.def
r49900 r49908 1 ; $Id$ 1 2 ;; @file 2 ;3 3 ; VBoxC DLL Definition File. 4 4 ; 5 5 6 ; Copyright (C) 2006-2010 Oracle Corporation 6 ; 7 ; Copyright (C) 2006-2013 Oracle Corporation 7 8 ; 8 9 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 15 16 ; 16 17 17 LIBRARY VBox C.dll18 LIBRARY VBoxProxyStub.dll 18 19 19 20 EXPORTS 20 ; COM entry points21 21 DllGetClassObject PRIVATE 22 22 DllCanUnloadNow PRIVATE 23 23 DllRegisterServer PRIVATE 24 24 DllUnregisterServer PRIVATE 25 ; private entry points 26 VBoxDriversRegister PRIVATE 25
Note:
See TracChangeset
for help on using the changeset viewer.