Core: Add method ProjectFile::containsFile

This commit is contained in:
wmayer
2024-11-15 12:24:20 +01:00
committed by Chris Hennes
parent 52fe0eec53
commit 5daaf23980
2 changed files with 12 additions and 0 deletions

View File

@@ -148,6 +148,11 @@ public:
* @see getInputFiles().
*/
std::list<PropertyFile> getPropertyFiles(const std::string& name) const;
/**
* If the project file contains the file \a name true is returned and
* false otherwise
*/
bool containsFile(const std::string& name) const;
/**
* Retrieves a list of input file names referenced to the given object name.
* This method does the same as @ref getPropertyFiles() unless that it only