VirtualBox

Ignore:
Timestamp:
Mar 14, 2007 2:59:04 PM (18 years ago)
Author:
vboxsync
Message:

Main: XPCOM: Initial implementation of auto-startable "out-of-proc" VirtualBox component (VBoxSVC).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/linux/module.cpp

    r436 r1471  
    2121
    2222#include <nsIGenericFactory.h>
    23 #include <VirtualBox_XPCOM.h>
    2423
    25 #include <GuestImpl.h>
    26 #include <KeyboardImpl.h>
    27 #include <MouseImpl.h>
    28 #include <DisplayImpl.h>
    29 #include <MachineDebuggerImpl.h>
    30 #include <USBDeviceImpl.h>
    31 #include <RemoteUSBDeviceImpl.h>
    32 #include <SharedFolderImpl.h>
    33 #include <FramebufferImpl.h>
    34 #include <ProgressImpl.h>
    35 #include <NetworkAdapterImpl.h>
     24// generated file
     25#include "VirtualBox_XPCOM.h"
    3626
    37 #include <SessionImpl.h>
    38 #include <ConsoleImpl.h>
    39 #include <ConsoleVRDPServer.h>
     27#include "GuestImpl.h"
     28#include "KeyboardImpl.h"
     29#include "MouseImpl.h"
     30#include "DisplayImpl.h"
     31#include "MachineDebuggerImpl.h"
     32#include "USBDeviceImpl.h"
     33#include "RemoteUSBDeviceImpl.h"
     34#include "SharedFolderImpl.h"
     35#include "FramebufferImpl.h"
     36#include "ProgressImpl.h"
     37#include "NetworkAdapterImpl.h"
     38
     39#include "SessionImpl.h"
     40#include "ConsoleImpl.h"
     41#include "ConsoleVRDPServer.h"
     42
     43#include "Logging.h"
    4044
    4145// XPCOM glue code unfolding
     
    7680
    7781/**
    78  *  Singleton class factory that holds the reference to the created instance
     82 *  Singleton class factory that holds a reference to the created instance
    7983 *  (preventing it from being destroyed) until the module is explicitly
    8084 *  unloaded by the XPCOM shutdown code.
     
    129133NS_GENERIC_FACTORY_CONSTRUCTOR_WITH_RC (Session)
    130134
     135
     136/**
     137 *  Component definition table.
     138 *  Lists all components defined in this module.
     139 */
    131140static const nsModuleComponentInfo components[] =
    132141{
    133142    {
    134         "Session component", NS_SESSION_CID, NS_SESSION_CONTRACTID,
    135         SessionConstructor,
     143        "Session component", // description
     144        NS_SESSION_CID, NS_SESSION_CONTRACTID, // CID/ContractID
     145        SessionConstructor, // constructor function
    136146        NULL, // registration function
    137147        NULL, // deregistration function
     
    139149//        SessionClassFactory::releaseInstance,
    140150        NULL, // destructor function
    141         NS_CI_INTERFACE_GETTER_NAME(Session),
     151        NS_CI_INTERFACE_GETTER_NAME(Session), // interfaces function
    142152        NULL, // language helper
    143         &NS_CLASSINFO_NAME(Session)
     153        &NS_CLASSINFO_NAME(Session) // global class info & flags
    144154    }
    145155};
    146156
    147 NS_IMPL_NSGETMODULE(SessionModule, components)
     157NS_IMPL_NSGETMODULE (VirtualBox_Client_Module, components)
    148158
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