Changeset 33474 in vbox for trunk/src/VBox
- Timestamp:
- Oct 26, 2010 4:44:17 PM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r33408 r33474 228 228 $(if $(VBOX_USB_WITH_INOTIFY),VBOX_USB_WITH_INOTIFY,) \ 229 229 $(if $(VBOX_WITH_LIVE_MIGRATION),VBOX_WITH_LIVE_MIGRATION,) \ 230 $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK,) \ 230 231 $(if $(VBOX_WITH_VUSB),VBOX_WITH_VUSB,) 231 232 ifdef VBOX_WITH_USB 232 233 VBoxSVC_DEFS += \ 233 VBOX_WITH_USB \234 VBOX_WITH_USB \ 234 235 $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI,) \ 235 236 $(if $(VBOX_WITH_NEW_USB_CODE_ON_DARWIN),VBOX_WITH_NEW_USB_CODE_ON_DARWIN,) … … 320 321 $(if $(VBOX_WITH_VRDP),VRDPServerImpl.cpp,) \ 321 322 $(if $(VBOX_WITH_XPCOM),xpcom/server.cpp,) \ 322 $(VBOX_XML_SCHEMADEFS_CPP) 323 $(VBOX_XML_SCHEMADEFS_CPP) \ 324 $(if $(VBOX_WITH_EXTPACK),ExtPackManagerImpl.cpp,) 323 325 324 326 $(VBOX_AUTOGEN_EVENT_CPP): $(VBOX_PATH_MAIN_SRC)/idl/comimpl.xsl $(VBOX_XIDL_FILE) | $$(dir $$@) … … 564 566 $(if $(VBOX_WITH_PDM_ASYNC_COMPLETION),VBOX_WITH_PDM_ASYNC_COMPLETION,) \ 565 567 $(if $(VBOX_WITH_LIVE_MIGRATION),VBOX_WITH_LIVE_MIGRATION,) \ 566 $(if $(VBOX_WITH_VUSB),VBOX_WITH_VUSB,) 567 ifdef VBOX_WITH_USB 568 VBoxC_DEFS += \ 569 VBOX_WITH_USB \ 570 $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI,) 571 endif 572 ifdef VBOX_WITH_OLD_VBVA_LOCK 573 VBoxC_DEFS += VBOX_WITH_OLD_VBVA_LOCK 574 endif 575 ifdef VBOX_WITH_HGSMI 576 VBoxC_DEFS += VBOX_WITH_HGSMI 577 endif 578 ifdef VBOX_WITH_VIDEOHWACCEL 579 VBoxC_DEFS += VBOX_WITH_VIDEOHWACCEL 580 endif 568 $(if $(VBOX_WITH_VUSB),VBOX_WITH_VUSB,) \ 569 $(if $(VBOX_WITH_OLD_VBVA_LOCK),VBOX_WITH_OLD_VBVA_LOCK,) \ 570 $(if $(VBOX_WITH_HGSMI),VBOX_WITH_HGSMI,) \ 571 $(if $(VBOX_WITH_VIDEOHWACCEL),VBOX_WITH_VIDEOHWACCEL,) \ 572 $(if $(VBOX_WITH_USB),VBOX_WITH_USB,) \ 573 $(if-expr defined(VBOX_WITH_EHCI) && defined(VBOX_WITH_USB),VBOX_WITH_EHCI,) \ 574 $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK,) 581 575 582 576 VBoxC_DEFS.darwin.x86 = VBOX_WITH_2X_4GB_ADDR_SPACE … … 645 639 EventImpl.cpp \ 646 640 $(VBOX_AUTOGEN_EVENT_CPP) \ 647 $(VBOX_XML_SCHEMADEFS_CPP) 641 $(VBOX_XML_SCHEMADEFS_CPP) \ 642 $(if $(VBOX_WITH_EXTPACK),ExtPackManagerImpl.cpp,) 648 643 VBoxC_SOURCES.win = \ 649 644 win/dllmain.cpp \ -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r33461 r33474 13953 13953 </interface> 13954 13954 13955 <!-- 13956 // IExtPackManager 13957 ///////////////////////////////////////////////////////////////////////// 13958 --> 13959 13960 <interface 13961 name="IExtPack" extends="$unknown" 13962 uuid="1b69431b-b22f-454a-977d-7d50986defcb" 13963 wsmap="suppress" 13964 > 13965 <desc> 13966 Interface for querying interfaces and information relating to an 13967 extension pack. The extension pack specific interfaces can be queried 13968 via the IUnknown::QueryInterface method. 13969 </desc> 13970 <attribute name="name" type="wstring" readonly="yes"> 13971 <desc>The extension pack name. This is unique.</desc> 13972 </attribute> 13973 <attribute name="version" type="wstring" readonly="yes"> 13974 <desc> 13975 The extension pack version string. This is on the same form as 13976 other VirtualBox version strings, i.e.: "1.2.3", "1.2.3_BETA1", 13977 "1.2.3-OSE", "1.2.3r45678", "1.2.3r45678-OSE", "1.2.3_BETA1-r45678" 13978 or "1.2.3_BETA1-r45678-OSE" 13979 </desc> 13980 </attribute> 13981 <attribute name="revision" type="unsigned long" readonly="yes"> 13982 <desc>The extension pack internal revision number.</desc> 13983 </attribute> 13984 <attribute name="usable" type="boolean" readonly="yes"> 13985 <desc> 13986 Indicates whether the extension pack is usable or not. An 13987 extension pack that is not compatible with the current VirtualBox 13988 version will be flagged as not usable. 13989 </desc> 13990 </attribute> 13991 <attribute name="whyUnusable" type="wstring" readonly="yes"> 13992 <desc> 13993 String indicating why the extension pack is not usable. This is an 13994 empty string if usable and always a non-empty string if not usable. 13995 </desc> 13996 </attribute> 13997 </interface> 13998 13999 <interface 14000 name="IExtPackManager" extends="$unknown" 14001 uuid="ba1fbfca-53f1-471c-b5a1-416386f0f52b" 14002 wsmap="suppress" 14003 > 14004 <desc> 14005 Interface for managing VirtualBox Extension Packs. 14006 14007 TODO: Describe extension packs, how they are managed and how to create 14008 one. 14009 </desc> 14010 14011 <attribute name="installedExtPacks" type="IExtPack" safearray="yes" readonly="yes"> 14012 <desc> 14013 List of the installed extension packs. 14014 </desc> 14015 </attribute> 14016 14017 <method name="find"> 14018 <desc> 14019 Returns the extension pack with the specified name if found. 14020 14021 <result name="VBOX_E_OBJECT_NOT_FOUND"> 14022 No extension pack matching @a name was found. 14023 </result> 14024 </desc> 14025 <param name="name" type="wstring" dir="in"> 14026 <desc>The name of the extension pack to locate.</desc> 14027 </param> 14028 <param name="returnData" type="IExtPack" dir="return"> 14029 <desc>The extension pack if found.</desc> 14030 </param> 14031 </method> 14032 14033 <method name="install"> 14034 <param name="path" type="wstring" dir="in"> 14035 <desc>The path of the extension pack tarball.</desc> 14036 </param> 14037 <param name="name" type="wstring" dir="out"> 14038 <desc>The name of the installed extension pack.</desc> 14039 </param> 14040 </method> 14041 14042 <method name="uninstall"> 14043 <desc>Uninstalls an extension pack, removing all related files.</desc> 14044 <param name="name" type="wstring" dir="in"> 14045 <desc>The name of the extension pack to uninstall.</desc> 14046 </param> 14047 <param name="forcedRemoval" type="boolean" dir="in"> 14048 <desc> 14049 Forced removal of the extension pack. This means that the uninstall 14050 hook will not be called. 14051 </desc> 14052 </param> 14053 </method> 14054 </interface> 14055 14056 <!-- 14057 // Events 14058 ///////////////////////////////////////////////////////////////////////// 14059 --> 13955 14060 <enum 13956 14061 name="VBoxEventType" -
trunk/src/VBox/Main/xpcom/server.cpp
r33397 r33474 92 92 #include <AudioAdapterImpl.h> 93 93 #include <SystemPropertiesImpl.h> 94 #ifdef VBOX_WITH_EXTPACK 95 # include <ExtPackManagerImpl.h> 96 #endif 94 97 95 98 /* implement nsISupports parts of our objects with support for nsIClassInfo */ … … 202 205 NS_DECL_CLASSINFO(BIOSSettings) 203 206 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(BIOSSettings, IBIOSSettings) 207 208 #ifdef VBOX_WITH_EXTPACK 209 NS_DECL_CLASSINFO(ExtPack) 210 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(ExtPack, IExtPack) 211 212 NS_DECL_CLASSINFO(ExtPackManager) 213 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(ExtPackManager, IExtPackManager) 214 #endif 204 215 205 216 ////////////////////////////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.