Changeset 54627 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 4, 2015 2:47:32 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.cpp
r54622 r54627 21 21 22 22 /* Qt includes: */ 23 # include <Q SocketNotifier>24 25 /* GUIincludes: */23 # include <QObject> 24 25 /* COM includes: */ 26 26 # include "COMDefs.h" 27 28 /* COM includes: */ 27 # include "UIDefs.h" 29 28 # include "CVirtualBoxErrorInfo.h" 30 29 31 30 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 32 31 33 /* VirtualBox interface declarations: */ 34 #ifndef VBOX_WITH_XPCOM 35 # include "VirtualBox.h" 36 #else /* !VBOX_WITH_XPCOM */ 37 # include "VirtualBox_XPCOM.h" 38 #endif /* VBOX_WITH_XPCOM */ 32 #include <QSocketNotifier> 39 33 40 34 #ifdef VBOX_WITH_XPCOM … … 43 37 # include <iprt/env.h> 44 38 # include <iprt/err.h> 45 # include <iprt/log.h>46 39 # include <iprt/path.h> 47 40 # include <iprt/param.h> -
trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.h
r54622 r54627 69 69 70 70 #include <VBox/com/com.h> 71 #include <VBox/com/defs.h>72 71 #include <VBox/com/array.h> 73 72 #include <VBox/com/assert.h> … … 97 96 class XPCOMEventQSocketListener; 98 97 98 #endif /* !defined(VBOX_WITH_XPCOM) */ 99 100 101 /* VirtualBox interfaces declarations */ 102 #if !defined(VBOX_WITH_XPCOM) 103 #include <VirtualBox.h> 104 #else /* !defined(VBOX_WITH_XPCOM) */ 105 #include <VirtualBox_XPCOM.h> 99 106 #endif /* !defined(VBOX_WITH_XPCOM) */ 100 107 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/COMWrappers.xsl
r54622 r54627 239 239 <xsl:text> * Generator : src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl
</xsl:text> 240 240 <xsl:text> */

</xsl:text> 241 <xsl:text>/* VirtualBox interface declarations: */
</xsl:text>242 <xsl:text>#ifndef VBOX_WITH_XPCOM
</xsl:text>243 <xsl:text># include "VirtualBox.h"
</xsl:text>244 <xsl:text>#else /* !VBOX_WITH_XPCOM */
</xsl:text>245 <xsl:text># include "VirtualBox_XPCOM.h"
</xsl:text>246 <xsl:text>#endif /* VBOX_WITH_XPCOM */

</xsl:text>247 241 <xsl:text>/* COM includes: */
</xsl:text> 248 242 <xsl:text>#include "COMEnums.h"
</xsl:text> … … 301 295 <xsl:text>
</xsl:text> 302 296 303 <!-- Interface forward declaration: --> 304 <xsl:text>/* Interface forward declaration: */
</xsl:text> 305 <xsl:text>class I</xsl:text> 306 <xsl:value-of select="substring(@name,2)"/> 307 <xsl:text>;

</xsl:text> 308 309 <!-- Interface wrapper declaration: --> 310 <xsl:text>/* Interface wrapper declaration: */
</xsl:text> 297 <!-- Interface declaration: --> 298 <xsl:text>/* Interface declaration: */
</xsl:text> 311 299 <xsl:text>class C</xsl:text> 312 300 <xsl:value-of select="substring(@name,2)"/> … … 342 330 <xsl:text>Q_DECLARE_METATYPE(</xsl:text> 343 331 <xsl:value-of select="concat('C',substring(@name,2))"/> 344 <xsl:text>) ;

</xsl:text>332 <xsl:text>)

</xsl:text> 345 333 346 334 <!-- Declare safe-array --> … … 478 466 <xsl:text> C</xsl:text> 479 467 <xsl:value-of select="substring(@name,2)"/> 480 <xsl:text>();
</xsl:text> 481 <!-- default destructor --> 482 <xsl:text> ~C</xsl:text> 483 <xsl:value-of select="substring(@name,2)"/> 484 <xsl:text>();

</xsl:text> 468 <xsl:text>() {}

</xsl:text> 485 469 <!-- constructor taking CWhatever --> 486 470 <xsl:text> template<class OI, class OB> explicit C</xsl:text> … … 502 486 <xsl:text>(const C</xsl:text> 503 487 <xsl:value-of select="substring(@name,2)"/> 504 <xsl:text> & that) ;

</xsl:text>488 <xsl:text> & that) : Base(that) {}

</xsl:text> 505 489 <!-- constructor taking a raw iface pointer --> 506 490 <xsl:text> template<class OI> explicit C</xsl:text> … … 512 496 <xsl:text>(</xsl:text> 513 497 <xsl:value-of select="@name"/> 514 <xsl:text> * aIface) ;

</xsl:text>498 <xsl:text> * aIface) : Base(aIface) {}

</xsl:text> 515 499 <!-- assignment taking CWhatever --> 516 500 <xsl:text> template<class OI, class OB> C</xsl:text> … … 533 517 <xsl:text> & operator=(const C</xsl:text> 534 518 <xsl:value-of select="substring(@name,2)"/> 535 <xsl:text> & that);
</xsl:text> 519 <xsl:text> & that) 520 { 521 Base::operator=(that); 522 return *this; 523 } 524 </xsl:text> 536 525 <xsl:text>
</xsl:text> 537 526 <!-- assignment taking a raw iface pointer --> … … 550 539 <xsl:text> & operator=(</xsl:text> 551 540 <xsl:value-of select="@name"/> 552 <xsl:text> * aIface);
</xsl:text> 541 <xsl:text> * aIface) 542 { 543 Base::operator=(aIface); 544 return *this; 545 } 546 </xsl:text> 553 547 <xsl:text>
</xsl:text> 554 548 … … 661 655 </xsl:template> 662 656 663 <xsl:template name="defineConstructors">664 665 <!-- default constructor -->666 <xsl:text>C</xsl:text>667 <xsl:value-of select="substring(@name,2)"/>668 <xsl:text>::C</xsl:text>669 <xsl:value-of select="substring(@name,2)"/>670 <xsl:text>() {}

</xsl:text>671 672 <!-- default destructor -->673 <xsl:text>C</xsl:text>674 <xsl:value-of select="substring(@name,2)"/>675 <xsl:text>::~C</xsl:text>676 <xsl:value-of select="substring(@name,2)"/>677 <xsl:text>() {}

</xsl:text>678 679 <!-- copy constructor -->680 <xsl:text>C</xsl:text>681 <xsl:value-of select="substring(@name,2)"/>682 <xsl:text>::C</xsl:text>683 <xsl:value-of select="substring(@name,2)"/>684 <xsl:text>(const C</xsl:text>685 <xsl:value-of select="substring(@name,2)"/>686 <xsl:text> &that) : Base(that) {}

</xsl:text>687 688 <!-- copy constructor taking interface pointer -->689 <xsl:text>C</xsl:text>690 <xsl:value-of select="substring(@name,2)"/>691 <xsl:text>::C</xsl:text>692 <xsl:value-of select="substring(@name,2)"/>693 <xsl:text>(</xsl:text>694 <xsl:value-of select="@name"/>695 <xsl:text> *pIface) : Base(pIface) {}

</xsl:text>696 697 <!-- operator= -->698 <xsl:text>C</xsl:text>699 <xsl:value-of select="substring(@name,2)"/>700 <xsl:text>& </xsl:text>701 <xsl:text>C</xsl:text>702 <xsl:value-of select="substring(@name,2)"/>703 <xsl:text>::operator=(const C</xsl:text>704 <xsl:value-of select="substring(@name,2)"/>705 <xsl:text> &that)706 {707 Base::operator=(that);708 return *this;709 }710 </xsl:text>711 <xsl:text>
</xsl:text>712 713 <!-- operator= taking interface pointer -->714 <xsl:text>C</xsl:text>715 <xsl:value-of select="substring(@name,2)"/>716 <xsl:text>& </xsl:text>717 <xsl:text>C</xsl:text>718 <xsl:value-of select="substring(@name,2)"/>719 <xsl:text>::operator=(</xsl:text>720 <xsl:value-of select="@name"/>721 <xsl:text> *pIface)722 {723 Base::operator=(pIface);724 return *this;725 }726 </xsl:text>727 <xsl:text>
</xsl:text>728 729 </xsl:template>730 731 657 <xsl:template name="defineAttributes"> 732 658 … … 968 894 969 895 <xsl:template name="defineMembers"> 970 <xsl:call-template name="defineConstructors">971 <xsl:with-param name="iface" select="."/>972 </xsl:call-template>973 896 <xsl:call-template name="defineAttributes"> 974 897 <xsl:with-param name="iface" select="."/> -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r54622 r54627 172 172 #endif /* Q_WS_X11 */ 173 173 174 /* VirtualBox interface declarations: */175 #ifndef VBOX_WITH_XPCOM176 # include "VirtualBox.h"177 #else /* !VBOX_WITH_XPCOM */178 # include "VirtualBox_XPCOM.h"179 #endif /* VBOX_WITH_XPCOM */180 174 181 175 //#define VBOX_WITH_FULL_DETAILS_REPORT /* hidden for now */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGMachinePreview.cpp
r54622 r54627 41 41 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 42 42 43 /* VirtualBox interface declarations: */44 #ifndef VBOX_WITH_XPCOM45 # include "VirtualBox.h"46 #else /* !VBOX_WITH_XPCOM */47 # include "VirtualBox_XPCOM.h"48 #endif /* VBOX_WITH_XPCOM */49 43 50 44 UIGMachinePreview::UIGMachinePreview(QIGraphicsWidget *pParent) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp
r54622 r54627 42 42 # include "CUSBDeviceFilter.h" 43 43 # include "CHostUSBDevice.h" 44 # include "CHostUSBDeviceFilter.h"45 44 # include "CExtPackManager.h" 46 45 # include "CExtPack.h" … … 48 47 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 49 48 50 /* VirtualBox interface declarations: */ 51 #ifndef VBOX_WITH_XPCOM 52 # include "VirtualBox.h" 53 #else /* !VBOX_WITH_XPCOM */ 54 # include "VirtualBox_XPCOM.h" 55 #endif /* VBOX_WITH_XPCOM */ 49 #include "CHostUSBDeviceFilter.h" 50 56 51 57 52 /** -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r54622 r54627 39 39 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 40 40 41 /* VirtualBox interface declarations: */42 #ifndef VBOX_WITH_XPCOM43 # include "VirtualBox.h"44 #else /* !VBOX_WITH_XPCOM */45 # include "VirtualBox_XPCOM.h"46 #endif /* VBOX_WITH_XPCOM */47 41 48 42 /* Namespaces: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic3.cpp
r54622 r54627 39 39 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 40 40 41 /* VirtualBox interface declarations: */42 #ifndef VBOX_WITH_XPCOM43 # include "VirtualBox.h"44 #else /* !VBOX_WITH_XPCOM */45 # include "VirtualBox_XPCOM.h"46 #endif /* VBOX_WITH_XPCOM */47 41 48 42 UIWizardNewVMPage3::UIWizardNewVMPage3()
Note:
See TracChangeset
for help on using the changeset viewer.