VirtualBox

Changeset 68828 in vbox for trunk/src/VBox/ExtPacks/VNC


Ignore:
Timestamp:
Sep 22, 2017 2:15:57 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118082
Message:

ExtPack: Split up main module of extension pack, have a mandatory one for VBoxSVC and an optional one for the VM process. This finally eliminates the need to drag VBoxVMM into VBoxSVC on some platforms. Many other small cleanups, including reliably calling the unload hook from within a VM process, copy/paste with forgotten adjustments (e.g. extpacks still talking about skeleton) and spelling fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VNC/VBoxVNCMain.cpp

    r62496 r68828  
    55
    66/*
    7  * Copyright (C) 2010-2016 Oracle Corporation
     7 * Copyright (C) 2010-2017 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2424#include <VBox/err.h>
    2525#include <VBox/version.h>
    26 #include <VBox/vmm/cfgm.h>
    2726#include <iprt/string.h>
    2827#include <iprt/param.h>
     
    4039//  * @interface_method_impl{VBOXEXTPACKREG,pfnInstalled}
    4140//  */
    42 // static DECLCALLBACK(void) vboxVNCExtPack_Installed(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox);
     41// static DECLCALLBACK(void) vboxVNCExtPack_Installed(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox, PRTERRINFO pErrInfo);
     42//
    4343// /**
    4444//  * @interface_method_impl{VBOXEXTPACKREG,pfnUninstall}
     
    5555//  */
    5656// static DECLCALLBACK(void) vboxVNCExtPack_Unload(PCVBOXEXTPACKREG pThis);
     57//
    5758// /**
    5859//  * @interface_method_impl{VBOXEXTPACKREG,pfnVMCreated}
    5960//  */
    60 // static DECLCALLBACK(int)  vboxVNCExtPack_VMCreated(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox, IMachine *pMachine);
     61// static DECLCALLBACK(int)  vboxVNCExtPack_VMCreated(PCVBOXEXTPACKREG pThis, VBOXEXTPACK_IF_CS(IVirtualBox) *pVirtualBox, VBOXEXTPACK_IF_CS(IMachine) *pMachine);
    6162//
    6263// /**
    63 //  * @interface_method_impl{VBOXEXTPACKREG,pfnVMConfigureVMM}
    64 //  */
    65 // static DECLCALLBACK(int)  vboxVNCExtPack_VMConfigureVMM(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM);
    66 //
    67 // /**
    68 //  * @interface_method_impl{VBOXEXTPACKREG,pfnVMPowerOn}
    69 //  */
    70 // static DECLCALLBACK(int)  vboxVNCExtPack_VMPowerOn(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM);
    71 // /**
    72 //  * @interface_method_impl{VBOXEXTPACKREG,pfnVMPowerOff}
    73 //  */
    74 // static DECLCALLBACK(void) vboxVNCExtPack_VMPowerOff(PCVBOXEXTPACKREG pThis, IConsole *pConsole, PVM pVM);
    75 // /**
    76 //  * @interface_method_impl{VBOXEXTPACKREG,pfnVMPowerOff}
     64//  * @interface_method_impl{VBOXEXTPACKREG,pfnQueryObject}
    7765//  */
    7866// static DECLCALLBACK(void) vboxVNCExtPack_QueryObject(PCVBOXEXTPACKREG pThis, PCRTUUID pObjectId);
     
    8674    /* .pfnUninstall =      */  NULL,
    8775    /* .pfnVirtualBoxReady =*/  NULL,
    88     /* .pfnConsoleReady =   */  NULL,
    8976    /* .pfnUnload =         */  NULL,
    9077    /* .pfnVMCreated =      */  NULL,
    91     /* .pfnVMConfigureVMM = */  NULL,
    92     /* .pfnVMPowerOn =      */  NULL,
    93     /* .pfnVMPowerOff =     */  NULL,
    9478    /* .pfnQueryObject =    */  NULL,
    9579    /* .pfnReserved1 =      */  NULL,
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