VirtualBox

Changeset 29388 in vbox


Ignore:
Timestamp:
May 11, 2010 8:08:18 PM (15 years ago)
Author:
vboxsync
Message:

include/VBox/com/VirtualBox.h: shut up noisy warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/VirtualBox.h

    r28800 r29388  
    4242// generated VirtualBox COM library definition file
    4343#if !defined (VBOXCOM_NOINCLUDE)
    44 #if !defined (VBOX_WITH_XPCOM)
    45 #include <VirtualBox.h>
    46 #else
    47 #include <VirtualBox_XPCOM.h>
    48 #endif
     44# if !defined (VBOX_WITH_XPCOM)
     45#  include <VirtualBox.h>
     46# else
     47#  include <VirtualBox_XPCOM.h>
     48# endif
    4949#endif // !defined (VBOXCOM_NOINCLUDE)
    5050
     
    5959    ComPtr<ILocalOwner> ptr;
    6060
     61#ifdef VBOX_WITH_XPCOM /* very noisy in pedantic mode */
     62    static const CLSID clsid = NS_CALLBACKWRAPPER_CID;
     63    HRESULT rc = ptr.createInprocObject(clsid);
     64#else
    6165    HRESULT rc = ptr.createInprocObject(CLSID_CallbackWrapper);
     66#endif
    6267    if (FAILED(rc))
    6368        return rc;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette