VirtualBox

Ignore:
Timestamp:
Dec 23, 2018 8:30:52 PM (6 years ago)
Author:
vboxsync
Message:

iprt/errcore.h: Added some more commonly used status codes. bugref:9344

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h

    r72057 r76423  
    4848#include <iprt/critsect.h>
    4949#include <iprt/asm.h>
    50 #include <iprt/err.h>
    5150#include <iprt/list.h>
    5251#include <VBox/VBoxGL2D.h>
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.cpp

    r74878 r76423  
    4444
    4545/* Other VBox includes: */
    46 # include <iprt/env.h>
    47 # include <iprt/err.h>
    48 # include <iprt/path.h>
    49 # include <iprt/param.h>
    5046# include <nsEventQueueUtils.h>
    5147# include <nsIEventQueue.h>
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r75668 r76423  
    9191#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
    9292
    93 #include <iprt/err.h>
     93#include <iprt/errcore.h>
    9494
    9595
  • trunk/src/VBox/Frontends/VirtualBox/src/net/UIUpdateManager.cpp

    r76366 r76423  
    4747
    4848/* Other VBox includes: */
    49 # include <iprt/err.h>
     49//# include <iprt/err.h>
    5050# include <iprt/path.h>
    5151# include <iprt/system.h>
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/DarwinKeyboard.cpp

    r71659 r76423  
    3737#endif
    3838#ifdef VBOX_WITH_KBD_LEDS_SYNC
    39 # include <iprt/err.h>
     39# include <iprt/errcore.h>
    4040# include <iprt/semaphore.h>
    4141# include <VBox/sup.h>
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDDataObject_win.cpp

    r76381 r76423  
    1616 */
    1717
    18 #ifdef LOG_GROUP
    19 # undef LOG_GROUP
    20 #endif
    2118#define LOG_GROUP LOG_GROUP_GUEST_DND
    2219#include <VBox/log.h>
     
    2724
    2825#include <iprt/mem.h>
    29 #include <iprt/err.h>
     26#include <iprt/errcore.h>
    3027#include <iprt/path.h>
    3128#include <iprt/semaphore.h>
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDMIMEData.cpp

    r76346 r76423  
    3434#define LOG_GROUP LOG_GROUP_GUEST_DND
    3535#include <VBox/log.h>
    36 #include <iprt/err.h>
     36#include <iprt/errcore.h>
    3737
    3838
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r76169 r76423  
    9191#include <VBox/VBoxOGL.h>
    9292#include <VBoxVideo.h>
    93 #ifdef VBOX_WS_MAC
    94 # include <VBox/err.h>
    95 #endif /* VBOX_WS_MAC */
     93#include <iprt/errcore.h>
    9694
    9795/* External includes: */
     
    15791577
    15801578#ifdef VBOX_WITH_DRAG_AND_DROP
     1579
    15811580bool UIMachineView::dragAndDropCanAccept(void) const
    15821581{
    15831582    bool fAccept =  m_pDnDHandler
    1584 #ifdef VBOX_WITH_DRAG_AND_DROP_GH
     1583# ifdef VBOX_WITH_DRAG_AND_DROP_GH
    15851584                 && !m_fIsDraggingFromGuest
    1586 #endif
     1585# endif
    15871586                 && machine().GetDnDMode() != KDnDMode_Disabled;
    15881587    return fAccept;
     
    16681667    if (!dragAndDropIsActive())
    16691668        rc = VERR_ACCESS_DENIED;
    1670 #ifdef VBOX_WITH_DRAG_AND_DROP_GH
     1669# ifdef VBOX_WITH_DRAG_AND_DROP_GH
    16711670    else if (!m_fIsDraggingFromGuest)
    16721671    {
     
    16791678    else /* Already dragging, so report success. */
    16801679        rc = VINF_SUCCESS;
    1681 #else
     1680# else
    16821681    rc = VERR_NOT_SUPPORTED;
    1683 #endif
     1682# endif
    16841683
    16851684    DNDDEBUG(("DnD: dragCheckPending ended with rc=%Rrc\n", rc));
     
    16931692    if (!dragAndDropIsActive())
    16941693        rc = VERR_ACCESS_DENIED;
    1695 #ifdef VBOX_WITH_DRAG_AND_DROP_GH
     1694# ifdef VBOX_WITH_DRAG_AND_DROP_GH
    16961695    else if (!m_fIsDraggingFromGuest)
    16971696        rc = VERR_WRONG_ORDER;
     
    17041703        m_fIsDraggingFromGuest = false;
    17051704    }
    1706 #else
     1705# else
    17071706    rc = VERR_NOT_SUPPORTED;
    1708 #endif
     1707# endif
    17091708
    17101709    DNDDEBUG(("DnD: dragStart ended with rc=%Rrc\n", rc));
     
    17181717    if (!dragAndDropIsActive())
    17191718        rc = VERR_ACCESS_DENIED;
    1720 #ifdef VBOX_WITH_DRAG_AND_DROP_GH
     1719# ifdef VBOX_WITH_DRAG_AND_DROP_GH
    17211720    else if (!m_fIsDraggingFromGuest)
    17221721        rc = VERR_WRONG_ORDER;
    17231722    else
    17241723        rc = m_pDnDHandler->dragStop(screenId());
    1725 #else
     1724# else
    17261725    rc = VERR_NOT_SUPPORTED;
    1727 #endif
     1726# endif
    17281727
    17291728    DNDDEBUG(("DnD: dragStop ended with rc=%Rrc\n", rc));
     
    17561755    DNDDEBUG(("DnD: dropEvent ended with rc=%Rrc\n", rc));
    17571756}
     1757
    17581758#endif /* VBOX_WITH_DRAG_AND_DROP */
    17591759
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsLanguage.cpp

    r76212 r76423  
    4040
    4141/* Other VBox includes: */
    42 #include <iprt/err.h>
     42#include <iprt/errcore.h>
    4343
    4444
Note: See TracChangeset for help on using the changeset viewer.

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