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

📄 warfiledriverwin32.h

📁 ftpserver very good sample
💻 H
字号:
/** */#ifndef WAR_FILE_DRIVER_WIN32_H#define WAR_FILE_DRIVER_WIN32_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_FILE_DRIVER_H#   include "WarFileDriver.h"#endif/* LOCAL INCLUDES *//* FORWARD REFERENCES */class WarFileDriverFileWin32;#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarFileDriverWin32 : public WarFileDriver{public:    // LIFECYCLE     WarFileDriverWin32();     ~WarFileDriverWin32() {}        // 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 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 void WarRenameDirectory(const WarUrl& From, const WarUrl& To) const        throw(WarException);    virtual bool LogonToUrl(const WarUrl& logonUrl) const;        // Win32 spesific functions    HANDLE WarFindFirstFile(const war_syspath_t& Path, WIN32_FIND_DATA *pData)        throw(WarException);    BOOL WarFindNextFile(HANDLE h, WIN32_FIND_DATA *pData)        throw(WarException);    // ACCESS    virtual WarFileDriverFile *WarCreateNewFileObject(const WarUrl& fileUrl) 		const throw(WarException);    // INQUIRY    virtual PathCmpTypeE WarGetCmpMode(const WarUrl& Path) const;    virtual void WarGetFileModTime(const WarUrl& fsysUrl,                      WarTime& outTime,                      size_t& outPrecision) const                      throw(WarException);    protected:    friend WarFileDriverFileWin32;private:};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_FILE_DRIVER_WIN32_H_ */

⌨️ 快捷键说明

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