VirtualBox

Changeset 62802 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 1, 2016 9:49:47 AM (8 years ago)
Author:
vboxsync
Message:

HostServices: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/Service.h

    r62358 r62802  
    412412        m_SvcCtx.pHelpers = pHelpers;
    413413    }
    414     virtual int  init(VBOXHGCMSVCFNTABLE *ptable) { return VINF_SUCCESS; }
     414    virtual int  init(VBOXHGCMSVCFNTABLE *ptable) { RT_NOREF1(ptable); return VINF_SUCCESS; }
    415415    virtual int  uninit() { return VINF_SUCCESS; }
    416416    virtual int  clientConnect(uint32_t u32ClientID, void *pvClient) = 0;
    417417    virtual int  clientDisconnect(uint32_t u32ClientID, void *pvClient) = 0;
    418418    virtual void guestCall(VBOXHGCMCALLHANDLE callHandle, uint32_t u32ClientID, void *pvClient, uint32_t eFunction, uint32_t cParms, VBOXHGCMSVCPARM paParms[]) = 0;
    419     virtual int  hostCall(uint32_t eFunction, uint32_t cParms, VBOXHGCMSVCPARM paParms[]) { return VINF_SUCCESS; }
     419    virtual int  hostCall(uint32_t eFunction, uint32_t cParms, VBOXHGCMSVCPARM paParms[])
     420    { RT_NOREF3(eFunction, cParms, paParms); return VINF_SUCCESS; }
    420421
    421422    /** Type definition for use in callback functions. */
     
    522523        return VINF_SUCCESS;
    523524    }
     525
     526    DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(AbstractService);
    524527};
    525528
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