VirtualBox

Changeset 16534 in vbox


Ignore:
Timestamp:
Feb 5, 2009 5:30:59 PM (16 years ago)
Author:
vboxsync
Message:

VBoxXPCOMC.cpp: fixed the LOG_GROUP definition (must be first statement) and log.h inclusion. Removed unused streams header and review comment (has been executed).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/VBoxXPCOMC.cpp

    r16519 r16534  
    2020 */
    2121
    22 #include <iostream>
    23 #include <iomanip>
    24 
     22#define LOG_GROUP LOG_GROUP_MAIN
    2523#include <nsMemory.h>
    2624#include <nsIServiceManager.h>
     
    2826
    2927#include <iprt/string.h>
    30 #define LOG_GROUP_MAIN
    31 #include <iprt/log.h>
     28#include <VBox/log.h>
    3229
    3330#include "VirtualBox_XPCOM.h"
     
    8481    Session     = *session;
    8582    Ivirtualbox = *virtualBox;
    86 
    87 /** @todo r=bird: Why is cout/cerr used unconditionally here?
    88  * It would be preferred to use RTPrintf/RTStrmPrintf(g_pStdErr,..). If this is
    89  * going to be used in real life, the cout(/RTPrintf) bits should be optional,
    90  * add a flag argument and define VBOXCOMINIT_FLAG_VERBOSE for the purpose. */
    9183
    9284    rc = NS_InitXPCOM2(&serviceManager, nsnull, nsnull);
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