VirtualBox

Changeset 15965 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Jan 15, 2009 1:08:26 PM (16 years ago)
Author:
vboxsync
Message:

Main: Added ISharedFolder::lastAccessError.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/SharedFolderImpl.h

    r15051 r15965  
    4343        Data() {}
    4444
    45         const Bstr mName;
    46         const Bstr mHostPath;
    47         BOOL       mWritable;
     45        const Bstr name;
     46        const Bstr hostPath;
     47        BOOL       writable;
     48        Bstr       lastAccessError;
    4849    };
    4950
     
    7879    STDMETHOD(COMGETTER(Accessible)) (BOOL *aAccessible);
    7980    STDMETHOD(COMGETTER(Writable)) (BOOL *aWritable);
     81    STDMETHOD(COMGETTER(LastAccessError)) (BSTR *aLastAccessError);
    8082
    8183    // public methods for internal purposes only
     
    8587    // (ensure there is a caller added before calling them!)
    8688
    87     const Bstr &name() const { return mData.mName; }
    88     const Bstr &hostPath() const { return mData.mHostPath; }
    89     BOOL writable() const { return mData.mWritable; }
     89    const Bstr &name() const { return m.name; }
     90    const Bstr &hostPath() const { return m.hostPath; }
     91    BOOL writable() const { return m.writable; }
    9092
    9193    // for VirtualBoxSupportErrorInfoImpl
     
    106108    const ComObjPtr <VirtualBox, ComWeakRef> mVirtualBox;
    107109
    108     Data mData;
     110    Data m;
    109111};
    110112
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