summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.h
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2014-10-15 20:36:42 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2014-11-11 18:39:51 (GMT)
commit2a9ac4bd83f7247539616545ef0772fea1f4a1fc (patch)
treea8b99f4caa8522d130b93727a9a345865f2ac35f /Source/cmFindPackageCommand.h
parent32922840e7ea8a0536fec393352ede5b75087543 (diff)
downloadCMake-2a9ac4bd83f7247539616545ef0772fea1f4a1fc.zip
CMake-2a9ac4bd83f7247539616545ef0772fea1f4a1fc.tar.gz
CMake-2a9ac4bd83f7247539616545ef0772fea1f4a1fc.tar.bz2
Encapsulate search path manipulation functions into a seperate class.
The functions for adding the various different types of paths have been factored out into a new class, cmSearchPath. It is to be used as a helper container class for the various find_* commands.
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r--Source/cmFindPackageCommand.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index f22433e..17bc456 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -78,14 +78,13 @@ private:
void FillPrefixesCMakeSystemVariable();
void FillPrefixesUserGuess();
void FillPrefixesUserHints();
- void LoadPackageRegistryDir(std::string const& dir,
- std::vector<std::string>& outPaths);
+ void LoadPackageRegistryDir(std::string const& dir, cmSearchPath& outPaths);
void LoadPackageRegistryWinUser();
void LoadPackageRegistryWinSystem();
void LoadPackageRegistryWin(bool user, unsigned int view,
- std::vector<std::string>& outPaths);
+ cmSearchPath& outPaths);
bool CheckPackageRegistryEntry(const std::string& fname,
- std::vector<std::string>& outPaths);
+ cmSearchPath& outPaths);
bool SearchDirectory(std::string const& dir);
bool CheckDirectory(std::string const& dir);
bool FindConfigFile(std::string const& dir, std::string& file);