HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FS_IconInfoHelper Class Reference

#include <FS_IconHelper.h>

+ Inheritance diagram for FS_IconInfoHelper:

Public Member Functions

 FS_IconInfoHelper ()
 
virtual ~FS_IconInfoHelper ()
 
virtual bool canHandle (const char *source)
 Determine whether this helper can process the filename. More...
 
virtual bool hasAccess (const char *source, int mode)
 
virtual bool getIsDirectory (const char *source)
 Return whether the filename is a directory. More...
 
virtual int getModTime (const char *source)
 Get the modification timestamp (returns time_t) More...
 
virtual int64 getSize (const char *source)
 Get the file size in bytes. More...
 
virtual bool getContents (const char *source, UT_StringArray &contents, UT_StringArray *dirs)
 
virtual char getNextSepChar (const char *source)
 Next separator character. More...
 
virtual char getPrevSepChar (const char *source)
 Previous separator character. More...
 
- Public Member Functions inherited from FS_InfoHelper
 FS_InfoHelper ()
 
virtual ~FS_InfoHelper ()
 
virtual UT_String getExtension (const char *source)
 
virtual bool customNavigatePath (UT_String &path, const char *file)
 
virtual bool getPathOnDisk (UT_String &path, const char *file)
 

Detailed Description

Definition at line 29 of file FS_IconHelper.h.

Constructor & Destructor Documentation

FS_IconInfoHelper::FS_IconInfoHelper ( )
virtual FS_IconInfoHelper::~FS_IconInfoHelper ( )
virtual

Member Function Documentation

virtual bool FS_IconInfoHelper::canHandle ( const char *  source)
virtual

Determine whether this helper can process the filename.

Implements FS_InfoHelper.

virtual bool FS_IconInfoHelper::getContents ( const char *  source,
UT_StringArray contents,
UT_StringArray dirs 
)
virtual

Read the contents of a directory

Parameters
source- The directory to read
contents- The list of files in the directory
dirs- The list of directories in the directory If dirs is NULL, then all directories should be included in the contents.

Implements FS_InfoHelper.

virtual bool FS_IconInfoHelper::getIsDirectory ( const char *  source)
virtual

Return whether the filename is a directory.

Implements FS_InfoHelper.

virtual int FS_IconInfoHelper::getModTime ( const char *  source)
virtual

Get the modification timestamp (returns time_t)

Implements FS_InfoHelper.

virtual char FS_IconInfoHelper::getNextSepChar ( const char *  )
virtual

Next separator character.

Reimplemented from FS_InfoHelper.

virtual char FS_IconInfoHelper::getPrevSepChar ( const char *  )
virtual

Previous separator character.

Reimplemented from FS_InfoHelper.

virtual int64 FS_IconInfoHelper::getSize ( const char *  source)
virtual

Get the file size in bytes.

Implements FS_InfoHelper.

virtual bool FS_IconInfoHelper::hasAccess ( const char *  source,
int  mode 
)
virtual
Parameters
sourceFilename for access check
modeThe read/write/execute status
See Also
FS_FileAccessMode

Implements FS_InfoHelper.


The documentation for this class was generated from the following file: