Changeset 19106 in vbox for trunk/src/VBox/Main/cbinding/VBoxXPCOMC.cpp
- Timestamp:
- Apr 22, 2009 11:23:11 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/cbinding/VBoxXPCOMC.cpp
r19098 r19106 27 27 #include <iprt/string.h> 28 28 #include <iprt/env.h> 29 #include <iprt/uuid.h> 29 30 #include <VBox/log.h> 30 31 … … 80 81 { 81 82 nsresult rc; 83 nsID virtualBoxIID; 84 nsID sessionIID; 82 85 83 86 *ppSession = NULL; 84 87 *ppVirtualBox = NULL; 85 88 89 /* convert the string representation of UUID to nsIID type */ 90 if (!(virtualBoxIID.Parse(pszVirtualBoxIID) && sessionIID.Parse(pszSessionIID))) 91 return; 92 86 93 rc = com::Initialize(); 87 94 if (NS_FAILED(rc)) … … 110 117 rc = manager->CreateInstanceByContractID(NS_VIRTUALBOX_CONTRACTID, 111 118 nsnull, 112 NS_GET_IID(IVirtualBox), /** @todo Use pszVirtualBoxIID here! */119 virtualBoxIID, 113 120 (void **)ppVirtualBox); 114 121 if (NS_FAILED(rc)) … … 123 130 rc = manager->CreateInstanceByContractID (NS_SESSION_CONTRACTID, 124 131 nsnull, 125 NS_GET_IID(ISession), /** @todo Use */132 sessionIID, 126 133 (void **)ppSession); 127 134 if (NS_FAILED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.