⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 warfiledriverunix.h

📁 ftpserver very good sample
💻 H
字号:
/** */#ifndef WAR_FILE_DRIVER_UNIX_H#define WAR_FILE_DRIVER_UNIX_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_FILE_DRIVER_H#   include "WarFileDriver.h"#endif/* LOCAL INCLUDES *//* FORWARD REFERENCES */#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarFileDriverUnix :public WarFileDriver{public:    // LIFECYCLE        /**    * Default constructor.    */    WarFileDriverUnix();        // OPERATORS    // OPERATIONS    virtual void WarListDirectory(const WarUrl& Path,        WarDirList& listDestination)        throw(WarException);    ///    virtual void WarDeleteFile(const WarUrl& Path) const         throw(WarException);    ///    virtual void WarDeleteDirectory(const WarUrl& Path) const        throw(WarException);    ///    virtual void WarCreateDirectory(const WarUrl& Path) const        throw(WarException);    ///    virtual void WarCopyFile(const WarUrl& From, const WarUrl& To) const        throw(WarException);    ///    virtual void WarRenameDirectory(const WarUrl& From, const WarUrl& To) const        throw(WarException);        ///    virtual void WarMoveFile(const WarUrl& From, const WarUrl& To) const        throw(WarException);    ///    virtual war_flen_t WarGetFreeSpaceOnPath(const WarUrl& Path) const        throw(WarException);        ///    virtual war_flen_t WarGetSize(const WarUrl& Path) const        throw(WarException);    ///    virtual void WarStat(const WarUrl& Path, war_stat_t& st) const        throw(WarException);        ///    virtual PathCmpTypeE WarGetCmpMode(const WarUrl& Path) const        throw(WarException);    /// WarFile helper    virtual WarFileDriverFile *WarCreateNewFileObject(const WarUrl& fileUrl) const        throw(WarException);    // CALLBACK    // ACCESS    // INQUIRY    virtual int GetDefaultNewFilePerms() const;    virtual int GetDefaultNewDirectoryPerms() const;    protected:    ~WarFileDriverUnix();    int mMkDirPerms;    int mMkFilePerms;private:};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_FILE_DRIVER_UNIX_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -