VirtualBox

Changeset 95961 in vbox


Ignore:
Timestamp:
Aug 1, 2022 2:08:20 PM (2 years ago)
Author:
vboxsync
Message:

Additions/VBoxTray: Got rid of VBoxDisplay.h (renamed to VBoxTrayInternal.h, more stuff added later), as I also tripped over this several times in the past already, log include fixes.

Location:
trunk/src/VBox/Additions/WINNT/VBoxTray
Files:
8 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp

    r95868 r95961  
    2222#define _WIN32_WINNT 0x0601
    2323#include "VBoxTray.h"
     24#include "VBoxTrayInternal.h"
    2425
    2526#include <iprt/alloca.h>
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp

    r95960 r95961  
    2929# include <iprt/asm.h>
    3030#endif
     31#include <iprt/log.h>
    3132#include <iprt/system.h>
    3233
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDEnumFormat.cpp

    r95960 r95961  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_GUEST_DND
     23#include <VBox/log.h>
     24
    2225#include <iprt/win/windows.h>
    2326#include <new> /* For bad_alloc. */
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxHostVersion.cpp

    r95960 r95961  
    1717 */
    1818
     19#include <VBox/log.h>
     20#include <VBox/VBoxGuestLib.h>
     21
    1922#include "VBoxHostVersion.h"
    2023#include "VBoxTray.h"
    2124#include "VBoxHelpers.h"
    2225
    23 #include <VBox/VBoxGuestLib.h>
    2426
    2527
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxIPC.cpp

    r95960 r95961  
    2222*   Header Files                                                                                                                 *
    2323*********************************************************************************************************************************/
    24 #include <iprt/win/windows.h>
    25 #include "VBoxTray.h"
    26 #include "VBoxTrayMsg.h"
    27 #include "VBoxHelpers.h"
    28 #include "VBoxIPC.h"
    29 
    3024#include <iprt/asm.h>
    3125#include <iprt/assert.h>
     
    3529#include <iprt/list.h>
    3630#include <iprt/localipc.h>
     31#include <iprt/log.h>
    3732#include <iprt/mem.h>
    3833#include <iprt/process.h>
     34#include <iprt/win/windows.h>
     35
     36#include "VBoxTray.h"
     37#include "VBoxTrayMsg.h"
     38#include "VBoxHelpers.h"
     39#include "VBoxIPC.h"
    3940
    4041
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxLA.cpp

    r95960 r95961  
    2424#include <iprt/list.h>
    2525#include <iprt/ldr.h>
     26#include <iprt/log.h>
    2627#include <iprt/utf16.h>
    2728
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp

    r95960 r95961  
    2222#include <iprt/assert.h>
    2323#include <iprt/ldr.h>
     24#include <iprt/log.h>
    2425#include <iprt/mem.h>
    2526#include <iprt/system.h>
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTrayInternal.h

    r95960 r95961  
    1616 */
    1717
    18 #ifndef GA_INCLUDED_SRC_WINNT_VBoxTray_VBoxDisplay_h
    19 #define GA_INCLUDED_SRC_WINNT_VBoxTray_VBoxDisplay_h
     18#ifndef GA_INCLUDED_SRC_WINNT_VBoxTray_Internal_h
     19#define GA_INCLUDED_SRC_WINNT_VBoxTray_Internal_h
    2020#ifndef RT_WITHOUT_PRAGMA_ONCE
    2121# pragma once
    2222#endif
    23 
    24 /** @todo r=bird: This file has the same name as ../include/VBoxDisplay.h
    25  *        which some of the VBoxTray source files also wish to include.
    26  *
    27  *        The result is a certifiable mess. To quote a Tina Fey's character in
    28  *        Ponyo: "BAKA BAKA BAKA BAKA BAKA BAKA BAKA BAKA BAKA BAKA BAKA!!!"
    29  *
    30  *        There are too many 'ing header files here.  Most of them can be merged
    31  *        into VBoxTray.h (or a VBoxTrayInternal.h file).
    32  *
    33  */
    34 
    3523
    3624DWORD VBoxDisplayGetCount();
     
    4836#endif
    4937
    50 #endif /* !GA_INCLUDED_SRC_WINNT_VBoxTray_VBoxDisplay_h */
     38#endif /* !GA_INCLUDED_SRC_WINNT_VBoxTray_Internal_h */
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxVRDP.cpp

    r95960 r95961  
    1818#include <iprt/assert.h>
    1919#include <iprt/ldr.h>
     20#include <VBox/log.h>
    2021
    2122/* 0x0501 for SPI_SETDROPSHADOW */
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