diff options
| author | 2014-04-08 19:25:03 -0400 | |
|---|---|---|
| committer | 2014-04-08 19:25:03 -0400 | |
| commit | 63e46abdb8764bc97e91bae862c8d461e61b1965 (patch) | |
| tree | e73f4aa25d7b4015a265e7bbfb6004dab7561027 /src/common/file_search.h | |
| parent | fixed some license headers that I missed (diff) | |
| download | yuzu-63e46abdb8764bc97e91bae862c8d461e61b1965.tar.gz yuzu-63e46abdb8764bc97e91bae862c8d461e61b1965.tar.xz yuzu-63e46abdb8764bc97e91bae862c8d461e61b1965.zip | |
got rid of 'src' folders in each sub-project
Diffstat (limited to 'src/common/file_search.h')
| -rw-r--r-- | src/common/file_search.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/common/file_search.h b/src/common/file_search.h new file mode 100644 index 000000000..2a9ff801f --- /dev/null +++ b/src/common/file_search.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | // Copyright 2013 Dolphin Emulator Project | ||
| 2 | // Licensed under GPLv2 | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | |||
| 6 | #ifndef _FILESEARCH_H_ | ||
| 7 | #define _FILESEARCH_H_ | ||
| 8 | |||
| 9 | #include <string> | ||
| 10 | #include <vector> | ||
| 11 | |||
| 12 | class CFileSearch | ||
| 13 | { | ||
| 14 | public: | ||
| 15 | typedef std::vector<std::string>XStringVector; | ||
| 16 | |||
| 17 | CFileSearch(const XStringVector& _rSearchStrings, const XStringVector& _rDirectories); | ||
| 18 | const XStringVector& GetFileNames() const; | ||
| 19 | |||
| 20 | private: | ||
| 21 | |||
| 22 | void FindFiles(const std::string& _searchString, const std::string& _strPath); | ||
| 23 | |||
| 24 | XStringVector m_FileNames; | ||
| 25 | }; | ||
| 26 | |||
| 27 | #endif // _FILESEARCH_H_ | ||
| 28 | |||