- Timestamp:
- Mar 4, 2015 2:23:10 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
r52733 r54622 21 21 22 22 /* Qt includes: */ 23 # include <QObject> 23 # include <QSocketNotifier> 24 25 /* GUI includes: */ 26 # include "COMDefs.h" 24 27 25 28 /* COM includes: */ 26 # include "COMDefs.h"27 # include "UIDefs.h"28 29 # include "CVirtualBoxErrorInfo.h" 29 30 30 31 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 31 32 32 #include <QSocketNotifier> 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 */ 33 39 34 40 #ifdef VBOX_WITH_XPCOM … … 37 43 # include <iprt/env.h> 38 44 # include <iprt/err.h> 45 # include <iprt/log.h> 39 46 # include <iprt/path.h> 40 47 # include <iprt/param.h> -
trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.h
r52727 r54622 69 69 70 70 #include <VBox/com/com.h> 71 #include <VBox/com/defs.h> 71 72 #include <VBox/com/array.h> 72 73 #include <VBox/com/assert.h> … … 96 97 class XPCOMEventQSocketListener; 97 98 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>106 99 #endif /* !defined(VBOX_WITH_XPCOM) */ 107 100 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/COMWrappers.xsl
r54554 r54622 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> 241 247 <xsl:text>/* COM includes: */
</xsl:text> 242 248 <xsl:text>#include "COMEnums.h"
</xsl:text> … … 295 301 <xsl:text>
</xsl:text> 296 302 297 <!-- Interface declaration: --> 298 <xsl:text>/* Interface declaration: */
</xsl:text> 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> 299 311 <xsl:text>class C</xsl:text> 300 312 <xsl:value-of select="substring(@name,2)"/> … … 330 342 <xsl:text>Q_DECLARE_METATYPE(</xsl:text> 331 343 <xsl:value-of select="concat('C',substring(@name,2))"/> 332 <xsl:text>) 

</xsl:text>344 <xsl:text>);

</xsl:text> 333 345 334 346 <!-- Declare safe-array --> … … 466 478 <xsl:text> C</xsl:text> 467 479 <xsl:value-of select="substring(@name,2)"/> 468 <xsl:text>() {}

</xsl:text> 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> 469 485 <!-- constructor taking CWhatever --> 470 486 <xsl:text> template<class OI, class OB> explicit C</xsl:text> … … 486 502 <xsl:text>(const C</xsl:text> 487 503 <xsl:value-of select="substring(@name,2)"/> 488 <xsl:text> & that) : Base(that) {}

</xsl:text>504 <xsl:text> & that);

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

</xsl:text>514 <xsl:text> * aIface);

</xsl:text> 499 515 <!-- assignment taking CWhatever --> 500 516 <xsl:text> template<class OI, class OB> C</xsl:text> … … 517 533 <xsl:text> & operator=(const C</xsl:text> 518 534 <xsl:value-of select="substring(@name,2)"/> 519 <xsl:text> & that) 520 { 521 Base::operator=(that); 522 return *this; 523 } 524 </xsl:text> 535 <xsl:text> & that);
</xsl:text> 525 536 <xsl:text>
</xsl:text> 526 537 <!-- assignment taking a raw iface pointer --> … … 539 550 <xsl:text> & operator=(</xsl:text> 540 551 <xsl:value-of select="@name"/> 541 <xsl:text> * aIface) 542 { 543 Base::operator=(aIface); 544 return *this; 545 } 546 </xsl:text> 552 <xsl:text> * aIface);
</xsl:text> 547 553 <xsl:text>
</xsl:text> 548 554 … … 655 661 </xsl:template> 656 662 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 657 731 <xsl:template name="defineAttributes"> 658 732 … … 894 968 895 969 <xsl:template name="defineMembers"> 970 <xsl:call-template name="defineConstructors"> 971 <xsl:with-param name="iface" select="."/> 972 </xsl:call-template> 896 973 <xsl:call-template name="defineAttributes"> 897 974 <xsl:with-param name="iface" select="."/> -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r54505 r54622 172 172 #endif /* Q_WS_X11 */ 173 173 174 /* VirtualBox interface declarations: */ 175 #ifndef VBOX_WITH_XPCOM 176 # include "VirtualBox.h" 177 #else /* !VBOX_WITH_XPCOM */ 178 # include "VirtualBox_XPCOM.h" 179 #endif /* VBOX_WITH_XPCOM */ 174 180 175 181 //#define VBOX_WITH_FULL_DETAILS_REPORT /* hidden for now */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGMachinePreview.cpp
r53324 r54622 41 41 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 42 42 43 /* VirtualBox interface declarations: */ 44 #ifndef VBOX_WITH_XPCOM 45 # include "VirtualBox.h" 46 #else /* !VBOX_WITH_XPCOM */ 47 # include "VirtualBox_XPCOM.h" 48 #endif /* VBOX_WITH_XPCOM */ 43 49 44 50 UIGMachinePreview::UIGMachinePreview(QIGraphicsWidget *pParent) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp
r52733 r54622 42 42 # include "CUSBDeviceFilter.h" 43 43 # include "CHostUSBDevice.h" 44 # include "CHostUSBDeviceFilter.h" 44 45 # include "CExtPackManager.h" 45 46 # include "CExtPack.h" … … 47 48 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 48 49 49 #include "CHostUSBDeviceFilter.h" 50 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 */ 51 56 52 57 /** -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVM.cpp
r54285 r54622 39 39 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 40 40 41 /* VirtualBox interface declarations: */ 42 #ifndef VBOX_WITH_XPCOM 43 # include "VirtualBox.h" 44 #else /* !VBOX_WITH_XPCOM */ 45 # include "VirtualBox_XPCOM.h" 46 #endif /* VBOX_WITH_XPCOM */ 41 47 42 48 /* Namespaces: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic3.cpp
r52730 r54622 39 39 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */ 40 40 41 /* VirtualBox interface declarations: */ 42 #ifndef VBOX_WITH_XPCOM 43 # include "VirtualBox.h" 44 #else /* !VBOX_WITH_XPCOM */ 45 # include "VirtualBox_XPCOM.h" 46 #endif /* VBOX_WITH_XPCOM */ 41 47 42 48 UIWizardNewVMPage3::UIWizardNewVMPage3()
Note:
See TracChangeset
for help on using the changeset viewer.