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

📄 find.hpp

📁 source code for unrar3.3.4,uppack the .rar files,for multi-os
💻 HPP
字号:
#ifndef _RAR_FINDDATA_#define _RAR_FINDDATA_struct FindData{  char Name[NM];  wchar NameW[NM];  Int64 Size;  uint FileAttr;  uint FileTime;  bool IsDir;  RarTime mtime;  RarTime ctime;  RarTime atime;#ifdef _WIN_32  FILETIME ftCreationTime;   FILETIME ftLastAccessTime;   FILETIME ftLastWriteTime; #endif  bool Error;};class FindFile{  private:#ifdef _WIN_32    static HANDLE Win32Find(HANDLE hFind,const char *Mask,const wchar *MaskW,struct FindData *fd);#endif    char FindMask[NM];    wchar FindMaskW[NM];    int FirstCall;#ifdef _WIN_32    HANDLE hFind;#else    DIR *dirp;#endif  public:    FindFile();    ~FindFile();    void SetMask(const char *FindMask);    void SetMaskW(const wchar *FindMaskW);    bool Next(struct FindData *fd,bool GetSymLink=false);    static bool FastFind(const char *FindMask,const wchar *FindMaskW,struct FindData *fd,bool GetSymLink=false);};#endif

⌨️ 快捷键说明

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