12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef __FILEHELPING_20150818__
- #define __FILEHELPING_20150818__
- #pragma once
- #include "findfile.h"
- #define USE_IMGEXT 0
- class filehelper :public findfile
- {
- public:
- filehelper(void);
- ~filehelper(void);
- public:
-
- static void random(IN STR_VEC& vtContent, IN BOOL bSort = TRUE);
-
- static void split(OUT vector<TString>& vtSplit, IN const TString str, IN const TString strSplit);
- public:
-
- BOOL getsubfolder(
- LPCTSTR lpfolder,
- STR_VEC *pvtfolders
- );
-
- BOOL getallfiles(
- LPCTSTR lpfolder,
- LPCTSTR lpfindext,
- STR_VEC *pvtfiles
- );
-
- BOOL getfolderfiles(
- LPCTSTR lpfolder,
- LPCTSTR lpfindext,
- STR_VEC *pvtfiles
- );
- };
- #endif
|