VirtualBox

Changeset 20963 in vbox


Ignore:
Timestamp:
Jun 26, 2009 9:35:27 AM (15 years ago)
Author:
vboxsync
Message:

Main: Added stubs for Cd & CdUp.

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

Legend:

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

    r20206 r20963  
    556556}
    557557
     558STDMETHODIMP VFSExplorer::Cd(IN_BSTR aDir, IProgress **aProgress)
     559{
     560    CheckComArgNotNull(aDir);
     561    CheckComArgOutPointerValid(aProgress);
     562
     563    return E_NOTIMPL;
     564}
     565
     566STDMETHODIMP VFSExplorer::CdUp(IProgress **aProgress)
     567{
     568    CheckComArgOutPointerValid(aProgress);
     569
     570    return E_NOTIMPL;
     571}
     572
    558573STDMETHODIMP VFSExplorer::EntryList(ComSafeArrayOut(BSTR, aNames), ComSafeArrayOut(VFSFileType_T, aTypes))
    559574{
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r20945 r20963  
    29572957  <interface
    29582958     name="IVFSExplorer" extends="$unknown"
    2959      uuid="fd7da337-80ef-4a5c-9122-918435e33003"
     2959     uuid="2bb864a1-02a3-4474-a1d4-fb5f23b742e1"
    29602960     wsmap="managed"
    29612961     >
     
    29852985    </method>
    29862986
     2987    <method name="cd">
     2988      <desc>Change the current directory level.</desc>
     2989
     2990      <param name="aDir" type="wstring" dir="in">
     2991        <desc>The name of the directory to go in.</desc>
     2992      </param>
     2993
     2994      <param name="aProgress" type="IProgress" dir="return">
     2995        <desc>Progress object to track the operation completion.</desc>
     2996      </param>
     2997    </method>
     2998
     2999    <method name="cdUp">
     3000      <desc>Go one directory upwards from the current directory level.</desc>
     3001
     3002      <param name="aProgress" type="IProgress" dir="return">
     3003        <desc>Progress object to track the operation completion.</desc>
     3004      </param>
     3005    </method>
     3006
    29873007    <method name="entryList">
    29883008      <desc>Returns a list of files/directories after a call to <link
     
    30003020
    30013021    <method name="exists">
    3002         <desc>Checks if the given file list exists in the current directory
    3003         level.</desc>
     3022      <desc>Checks if the given file list exists in the current directory
     3023      level.</desc>
    30043024
    30053025      <param name="aNames" type="wstring" safearray="yes" dir="in">
     
    30133033
    30143034    <method name="remove">
    3015         <desc>Deletes the given files in the current directory level.</desc>
     3035      <desc>Deletes the given files in the current directory level.</desc>
    30163036
    30173037      <param name="aNames" type="wstring" safearray="yes" dir="in">
  • trunk/src/VBox/Main/include/VFSExplorerImpl.h

    r20081 r20963  
    6868    STDMETHOD(Update)(IProgress **aProgress);
    6969
     70    STDMETHOD(Cd)(IN_BSTR aDir, IProgress **aProgress);
     71    STDMETHOD(CdUp)(IProgress **aProgress);
     72
    7073    STDMETHOD(EntryList)(ComSafeArrayOut(BSTR, aNames), ComSafeArrayOut(VFSFileType_T, aTypes));
    7174
     
    7376
    7477    STDMETHOD(Remove)(ComSafeArrayIn(IN_BSTR, aNames), IProgress **aProgress);
    75 
    76     /* todo: later
    77     STDMETHOD(Cd)(IN_BSTR aDir, IProgress **aProgress);
    78     STDMETHOD(CdUp)(IProgress **aProgress);
    79 
    80     STDMETHOD(MkDir)(IN_BSTR aDir, IProgress **aProgress);
    81     STDMETHOD(RmDir)(IN_BSTR aDir, IProgress **aProgress);
    82     */
    8378
    8479private:
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