Skip to content

Commit

Permalink
Merge pull request #137 from ModOrganizer2/plugin_updates
Browse files Browse the repository at this point in the history
Add isDummy to IPluginList
  • Loading branch information
Silarn authored Oct 28, 2023
2 parents 6e4d013 + 7cd39ea commit 2a5fbc9
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 has no records
* @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 hasNoRecords(const QString& name) const = 0;
};

} // namespace MOBase
Expand Down

0 comments on commit 2a5fbc9

Please sign in to comment.