struct CCL::IFileInfoComponent
Overview
Component that can provide information about a file. More…
#include <ifileinforegistry.h> struct IFileInfoComponent: public CCL::IUnknown { // fields StringID id const = 0; // methods virtual tbool CCL_API setFile (UrlRef path) = 0; virtual tbool CCL_API isDefault () = 0; virtual tbool CCL_API setDisplayAttributes (IImage* icon, StringRef title) = 0; DECLARE_STRINGID_MEMBER (kFileInfo1); };
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
Component that can provide information about a file.
Should implement IViewFactory.
Methods
virtual tbool CCL_API setFile (UrlRef path) = 0
Set path of a file to inspect.
Returns true if it can handle the file.
virtual tbool CCL_API isDefault () = 0
Returns true if this is the default component for unknown files.
virtual tbool CCL_API setDisplayAttributes (IImage* icon, StringRef title) = 0
Override icon and title to be displayed.
DECLARE_STRINGID_MEMBER (kFileInfo1)
Get file information string.