summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutomoc.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-12-02 19:38:14 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-12-02 19:38:14 (GMT)
commit174bf35fbbcb22636e538323c168ecbc33a7cb39 (patch)
treea186bfc024b3fa51f04d1ff41136db9ec889f5d6 /Source/cmQtAutomoc.h
parent8507eaed1659d91709c41d34b351ea6a0585983e (diff)
downloadCMake-174bf35fbbcb22636e538323c168ecbc33a7cb39.zip
CMake-174bf35fbbcb22636e538323c168ecbc33a7cb39.tar.gz
CMake-174bf35fbbcb22636e538323c168ecbc33a7cb39.tar.bz2
automoc: move the code for finding headers into separate function
Alex
Diffstat (limited to 'Source/cmQtAutomoc.h')
-rw-r--r--Source/cmQtAutomoc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmQtAutomoc.h b/Source/cmQtAutomoc.h
index c3550a4..d8f65a9 100644
--- a/Source/cmQtAutomoc.h
+++ b/Source/cmQtAutomoc.h
@@ -39,8 +39,12 @@ private:
bool GenerateMoc(const std::string& sourceFile,
const std::string& mocFileName);
void ParseCppFile(const std::string& absFilename,
- std::map<std::string, std::string>& includedMocs,
- std::set<std::string>& absHeaders);
+ const std::list<std::string>& headerExtensions,
+ std::map<std::string, std::string>& includedMocs);
+ void SearchHeadersForCppFile(const std::string& absFilename,
+ const std::list<std::string>& headerExtensions,
+ std::set<std::string>& absHeaders);
+
void ParseHeaders(const std::set<std::string>& absHeaders,
const std::map<std::string, std::string>& includedMocs,
std::map<std::string, std::string>& notIncludedMocs);