VirtualBox

Changeset 6388 in vbox


Ignore:
Timestamp:
Jan 18, 2008 10:01:21 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27334
Message:

BOOL seems to be more correct

Location:
trunk/src/VBox/Main
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r6387 r6388  
    19951995
    19961996STDMETHODIMP
    1997 Console::CreateSharedFolder (INPTR BSTR aName, INPTR BSTR aHostPath, bool aWritable)
     1997Console::CreateSharedFolder (INPTR BSTR aName, INPTR BSTR aHostPath, BOOL aWritable)
    19981998{
    19991999    if (!aName || !aHostPath)
  • trunk/src/VBox/Main/SharedFolderImpl.cpp

    r6384 r6388  
    6363 */
    6464HRESULT SharedFolder::init (Machine *aMachine,
    65                             const BSTR aName, const BSTR aHostPath, bool aWritable)
     65                            const BSTR aName, const BSTR aHostPath, BOOL aWritable)
    6666{
    6767    /* Enclose the state transition NotReady->InInit->Ready */
     
    121121 */
    122122HRESULT SharedFolder::init (Console *aConsole,
    123                             const BSTR aName, const BSTR aHostPath, bool aWritable)
     123                            const BSTR aName, const BSTR aHostPath, BOOL aWritable)
    124124{
    125125    /* Enclose the state transition NotReady->InInit->Ready */
     
    149149 */
    150150HRESULT SharedFolder::init (VirtualBox *aVirtualBox,
    151                             const BSTR aName, const BSTR aHostPath, bool aWritable)
     151                            const BSTR aName, const BSTR aHostPath, BOOL aWritable)
    152152{
    153153    /* Enclose the state transition NotReady->InInit->Ready */
     
    173173 */
    174174HRESULT SharedFolder::protectedInit (VirtualBoxBaseWithChildrenNEXT *aParent,
    175                                      const BSTR aName, const BSTR aHostPath, bool aWritable)
     175                                     const BSTR aName, const BSTR aHostPath, BOOL aWritable)
    176176{
    177177    LogFlowThisFunc (("aName={%ls}, aHostPath={%ls}, aWritable={%d}\n",
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r6387 r6388  
    134134    STDMETHOD(AttachUSBDevice) (INPTR GUIDPARAM aId);
    135135    STDMETHOD(DetachUSBDevice) (INPTR GUIDPARAM aId, IUSBDevice **aDevice);
    136     STDMETHOD(CreateSharedFolder) (INPTR BSTR aName, INPTR BSTR aHostPath, bool aWritable);
     136    STDMETHOD(CreateSharedFolder) (INPTR BSTR aName, INPTR BSTR aHostPath, BOOL aWritable);
    137137    STDMETHOD(RemoveSharedFolder) (INPTR BSTR aName);
    138138    STDMETHOD(TakeSnapshot) (INPTR BSTR aName, INPTR BSTR aDescription,
  • trunk/src/VBox/Main/include/SharedFolderImpl.h

    r6384 r6388  
    4141        const Bstr mName;
    4242        const Bstr mHostPath;
    43         bool       mWritable;
     43        BOOL       mWritable;
    4444    };
    4545
     
    6363
    6464    // public initializer/uninitializer for internal purposes only
    65     HRESULT init (Machine *aMachine, const BSTR aName, const BSTR aHostPath, bool aWritable);
     65    HRESULT init (Machine *aMachine, const BSTR aName, const BSTR aHostPath, BOOL aWritable);
    6666    HRESULT initCopy (Machine *aMachine, SharedFolder *aThat);
    67     HRESULT init (Console *aConsole, const BSTR aName, const BSTR aHostPath, bool aWritable);
    68     HRESULT init (VirtualBox *aVirtualBox, const BSTR aName, const BSTR aHostPath, bool aWritable);
     67    HRESULT init (Console *aConsole, const BSTR aName, const BSTR aHostPath, BOOL aWritable);
     68    HRESULT init (VirtualBox *aVirtualBox, const BSTR aName, const BSTR aHostPath, BOOL aWritable);
    6969    void uninit();
    7070
     
    9191
    9292    HRESULT protectedInit (VirtualBoxBaseWithChildrenNEXT *aParent,
    93                            const BSTR aName, const BSTR aHostPath, bool aWritable);
     93                           const BSTR aName, const BSTR aHostPath, BOOL aWritable);
    9494
    9595private:
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