summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutomoc.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-10 19:00:53 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-14 13:58:09 (GMT)
commitace121534de464bc7da35694a93cfb8ccc3effb6 (patch)
tree4491d2f573d3fc7703f85a4655ed61cc43864077 /Source/cmQtAutomoc.h
parent735a5bb321ff7b92bebe2769e98a1d6317e88d27 (diff)
downloadCMake-ace121534de464bc7da35694a93cfb8ccc3effb6.zip
CMake-ace121534de464bc7da35694a93cfb8ccc3effb6.tar.gz
CMake-ace121534de464bc7da35694a93cfb8ccc3effb6.tar.bz2
Move code for parsing a cpp-file from the big loop to separate function
Alex
Diffstat (limited to 'Source/cmQtAutomoc.h')
-rw-r--r--Source/cmQtAutomoc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmQtAutomoc.h b/Source/cmQtAutomoc.h
index e573610..edb66f0 100644
--- a/Source/cmQtAutomoc.h
+++ b/Source/cmQtAutomoc.h
@@ -29,6 +29,10 @@ private:
bool RunAutomocQt4();
bool GenerateMoc(const std::string& sourceFile,
const std::string& mocFileName);
+ void ParseCppFile(const std::string& absFilename,
+ std::map<std::string, std::string>& includedMocs,
+ std::map<std::string, std::string>& notIncludedMocs);
+
void Init();
std::string Join(const std::list<std::string>& lst, char separator);