VirtualBox

Changeset 76760 in vbox


Ignore:
Timestamp:
Jan 10, 2019 6:07:47 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128078
Message:

Main/Recording: thin out the excessive includes so that it doesn't hide missing includes in totally unrelated code, and adjust that code to do the right thing

Location:
trunk/src/VBox/Main
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/EBMLWriter.h

    r76562 r76760  
    2323
    2424#include <iprt/file.h>
    25 #include <VBox/com/string.h> /* For Utf8Str. */
     25#include <VBox/com/string.h>
    2626
    27 using namespace com;
    28 
    29 #include <list>
    30 #include <map>
    31 #include <queue>
    3227#include <stack>
    3328
    34 #include <math.h> /* For lround.h. */
    35 
    36 #include <iprt/asm.h>
    37 #include <iprt/buildconfig.h>
    3829#include <iprt/cdefs.h>
    39 #include <iprt/critsect.h>
    40 #include <iprt/err.h>
    4130#include <iprt/file.h>
    42 #include <iprt/rand.h>
    43 #include <iprt/string.h>
    44 
    45 #include <VBox/log.h>
    46 #include <VBox/version.h>
    4731
    4832/** No flags set. */
     
    7054    RTFILE                     m_hFile;
    7155    /** The file's name (path). */
    72     Utf8Str                    m_strFile;
     56    com::Utf8Str               m_strFile;
    7357    /** Flags. */
    7458    uint32_t                   m_fFlags;
     
    9175
    9276    /** Returns the file name. */
    93     const Utf8Str& getFileName(void) { return m_strFile; }
     77    const com::Utf8Str& getFileName(void) { return m_strFile; }
    9478
    9579    /** Returns file size. */
  • trunk/src/VBox/Main/include/Recording.h

    r76562 r76760  
    2525#include <VBox/com/string.h>
    2626#include <VBox/com/VirtualBox.h>
    27 #include <VBox/err.h>
    2827#include <VBox/settings.h>
    2928
  • trunk/src/VBox/Main/include/RecordingStream.h

    r76562 r76760  
    2727#include <iprt/critsect.h>
    2828
    29 #include <VBox/com/array.h>
    30 #include <VBox/com/VirtualBox.h>
    31 #include <VBox/err.h>
    3229#include <VBox/settings.h>
    3330
  • trunk/src/VBox/Main/include/WebMWriter.h

    r76562 r76760  
    2323
    2424#include "EBMLWriter.h"
     25
     26#include <queue>
     27#include <map>
     28#include <list>
     29
     30#include <iprt/rand.h>
    2531
    2632#ifdef VBOX_WITH_LIBVPX
     
    8793#endif /* VBOX_WITH_LIBOPUS */
    8894
    89 using namespace com;
    9095
    9196class WebMWriter : public EBMLWriter
     
    540545    int WriteBlock(uint8_t uTrack, const void *pvData, size_t cbData);
    541546
    542     const Utf8Str& GetFileName(void);
     547    const com::Utf8Str& GetFileName(void);
    543548
    544549    uint64_t GetFileSize(void);
  • trunk/src/VBox/Main/src-client/KeyboardImpl.cpp

    r76553 r76760  
    2626#include <VBox/com/array.h>
    2727#include <VBox/vmm/pdmdrv.h>
    28 
    29 #include <iprt/asm.h>
     28#include <VBox/err.h>
     29
    3030#include <iprt/cpp/utils.h>
     31
    3132
    3233// defines
  • trunk/src/VBox/Main/src-client/MouseImpl.cpp

    r76553 r76760  
    2626#include "MousePointerShapeWrap.h"
    2727
    28 #include "AutoCaller.h"
    29 
    3028#include <VBox/vmm/pdmdrv.h>
    3129#include <VBox/VMMDev.h>
    32 
    33 #include <iprt/asm.h>
     30#include <VBox/err.h>
     31
    3432
    3533class ATL_NO_VTABLE MousePointerShape:
  • trunk/src/VBox/Main/src-client/PCIRawDevImpl.cpp

    r76553 r76760  
    2525// generated header for events
    2626#include "VBoxEvents.h"
     27
     28#include <VBox/err.h>
     29
    2730
    2831/**
  • trunk/src/VBox/Main/src-client/UsbCardReader.cpp

    r76553 r76760  
    2929#include <VBox/vmm/pdmdrv.h>
    3030#include <VBox/vmm/pdmcardreaderinfs.h>
     31#include <VBox/err.h>
    3132
    3233#include <iprt/req.h>
  • trunk/src/VBox/Main/src-client/UsbWebcamInterface.cpp

    r76553 r76760  
    2626
    2727#include <VBox/vmm/pdmwebcaminfs.h>
     28#include <VBox/err.h>
    2829
    2930
  • trunk/src/VBox/Main/src-client/WebMWriter.cpp

    r76553 r76760  
    2525#include "LoggingNew.h"
    2626
    27 #include <list>
    28 #include <map>
    29 #include <queue>
    30 #include <stack>
    31 
    32 #include <math.h> /* For lround.h. */
    33 
    34 #include <iprt/asm.h>
    35 #include <iprt/buildconfig.h>
    3627#include <iprt/cdefs.h>
    3728#include <iprt/critsect.h>
    3829#include <iprt/errcore.h>
    3930#include <iprt/file.h>
    40 #include <iprt/rand.h>
    41 #include <iprt/string.h>
     31#include <iprt/buildconfig.h>
    4232
    4333#include <VBox/log.h>
     
    162152    Assert(CurSeg.mapTracks.size() == 0);
    163153
    164     Utf8Str strFileName = getFileName().c_str();
     154    com::Utf8Str strFileName = getFileName().c_str();
    165155
    166156    close();
     
    308298 * @returns File name as UTF-8 string.
    309299 */
    310 const Utf8Str& WebMWriter::GetFileName(void)
     300const com::Utf8Str& WebMWriter::GetFileName(void)
    311301{
    312302    return getFileName();
Note: See TracChangeset for help on using the changeset viewer.

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