Changeset View
Changeset View
Standalone View
Standalone View
plugins/clang/duchain/clangparsingenvironment.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
---|---|---|---|---|---|
79 | FrameworkDirectories frameworkDirectories() const; | 79 | FrameworkDirectories frameworkDirectories() const; | ||
80 | 80 | | |||
81 | void addDefines(const QHash<QString, QString>& defines); | 81 | void addDefines(const QHash<QString, QString>& defines); | ||
82 | QMap<QString, QString> defines() const; | 82 | QMap<QString, QString> defines() const; | ||
83 | 83 | | |||
84 | void setPchInclude(const KDevelop::Path& path); | 84 | void setPchInclude(const KDevelop::Path& path); | ||
85 | KDevelop::Path pchInclude() const; | 85 | KDevelop::Path pchInclude() const; | ||
86 | 86 | | |||
87 | void setWorkingDirectory(const KDevelop::Path& path); | ||||
88 | KDevelop::Path workingDirectory() const; | ||||
89 | | ||||
87 | void setTranslationUnitUrl(const KDevelop::IndexedString& url); | 90 | void setTranslationUnitUrl(const KDevelop::IndexedString& url); | ||
88 | KDevelop::IndexedString translationUnitUrl() const; | 91 | KDevelop::IndexedString translationUnitUrl() const; | ||
89 | 92 | | |||
90 | enum Quality | 93 | enum Quality | ||
91 | { | 94 | { | ||
92 | Unknown, | 95 | Unknown, | ||
93 | Source, | 96 | Source, | ||
94 | BuildSystem | 97 | BuildSystem | ||
Show All 23 Lines | |||||
118 | 121 | | |||
119 | private: | 122 | private: | ||
120 | KDevelop::Path::List m_projectPaths; | 123 | KDevelop::Path::List m_projectPaths; | ||
121 | KDevelop::Path::List m_includes; | 124 | KDevelop::Path::List m_includes; | ||
122 | KDevelop::Path::List m_frameworkDirectories; | 125 | KDevelop::Path::List m_frameworkDirectories; | ||
123 | // NOTE: As elements in QHash stored in an unordered sequence, we're using QMap instead | 126 | // NOTE: As elements in QHash stored in an unordered sequence, we're using QMap instead | ||
124 | QMap<QString, QString> m_defines; | 127 | QMap<QString, QString> m_defines; | ||
125 | KDevelop::Path m_pchInclude; | 128 | KDevelop::Path m_pchInclude; | ||
129 | KDevelop::Path m_workingDirectory; | ||||
126 | KDevelop::IndexedString m_tuUrl; | 130 | KDevelop::IndexedString m_tuUrl; | ||
127 | Quality m_quality = Unknown; | 131 | Quality m_quality = Unknown; | ||
128 | ParserSettings m_parserSettings; | 132 | ParserSettings m_parserSettings; | ||
129 | }; | 133 | }; | ||
130 | 134 | | |||
131 | #endif // CLANGPARSINGENVIRONMENT_H | 135 | #endif // CLANGPARSINGENVIRONMENT_H |