Skip to content

Commit

Permalink
Add isDummy to IPluginList
Browse files Browse the repository at this point in the history
  • Loading branch information
Silarn committed Oct 17, 2023
1 parent 6e4d013 commit 249b93b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ipluginlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,14 @@ class IPluginList
* update existing records
*/
virtual bool isOverlayFlagged(const QString& name) const = 0;

/**
* @brief determine if a plugin is a dummy
* @param name filename of the plugin (without path but with file extension)
* @return true if the file has no records, false if it does OR if the file doesn't
* exist.
*/
virtual bool isDummy(const QString& name) const = 0;
};

} // namespace MOBase
Expand Down

0 comments on commit 249b93b

Please sign in to comment.