diff options
author | Orgad Shaneh <[email protected]> | 2013-08-25 22:42:37 +0300 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2013-09-03 14:25:05 +0200 |
commit | adee8336bbc1365149dbcd33b0e05a2096c4dfa8 (patch) | |
tree | 1cfb0a49b1ea3d770bdb2f94641bf2443ebf2ee3 /src/plugins/cpptools/cpptoolsplugin.h | |
parent | d0385537b2a879590b9b34b922aaacada4995705 (diff) |
C++: Custom directory list for Switch Header/Source
Some projects use separate directories for sources and headers.
An example tree:
*
|-- src
|-- foo.cpp
|-- include
|-- foo.h
Allow the user to specify directories for finding out-of-project related
header/source files, in addition to current directory
Task-number: QTCREATORBUG-8883
Change-Id: I57215c8f2feffcc246d0d161798290861bcfcdd4
Reviewed-by: Nikolai Kosjar <[email protected]>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.h')
-rw-r--r-- | src/plugins/cpptools/cpptoolsplugin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsplugin.h b/src/plugins/cpptools/cpptoolsplugin.h index 6835e365d03..152188e1ef0 100644 --- a/src/plugins/cpptools/cpptoolsplugin.h +++ b/src/plugins/cpptools/cpptoolsplugin.h @@ -60,6 +60,9 @@ public: ~CppToolsPlugin(); static CppToolsPlugin *instance(); + static const QStringList &headerSearchPaths(); + static const QStringList &sourceSearchPaths(); + static void clearHeaderSourceCache(); bool initialize(const QStringList &arguments, QString *errorMessage); void extensionsInitialized(); @@ -211,6 +214,9 @@ private slots: void test_builtinsymbolsearcher(); void test_builtinsymbolsearcher_data(); + void test_headersource_data(); + void test_headersource(); + private: void test_completion(); #endif |