struct CCL::IFolderSelector

Overview

Folder selector interface. More…

#include <ifileselector.h>

struct IFolderSelector: public CCL::IUnknown
{
    // methods

    virtual void CCL_API setPath (UrlRef path) = 0;
    virtual UrlRef CCL_API getPath () const = 0;
    virtual tbool CCL_API run (StringRef title = nullptr, IWindow* window = nullptr) = 0;

    virtual IAsyncOperation*CCL_API runAsync (
        StringRef title = nullptr,
        IWindow* window = nullptr
    ) = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Folder selector interface.

Methods

virtual void CCL_API setPath (UrlRef path) = 0

Set initial path.

virtual UrlRef CCL_API getPath () const = 0

Get last selected path.

virtual tbool CCL_API run (StringRef title = nullptr, IWindow* window = nullptr) = 0

Run folder selector.

virtual IAsyncOperation*CCL_API runAsync (
    StringRef title = nullptr,
    IWindow* window = nullptr
) = 0

Run folder selector asynchronously.