Skip to content

Commit

Permalink
Merge pull request #136 from ModOrganizer2/overlay_support
Browse files Browse the repository at this point in the history
Add isOverlayFlagged to IPluginList
  • Loading branch information
Silarn authored Oct 8, 2023
2 parents fba9273 + 6915ad8 commit 6e4d013
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ipluginlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,16 @@ class IPluginList
* @note in gamebryo games, a light file will usually have a .esl file
*/
virtual bool isLightFlagged(const QString& name) const = 0;

/**
* @brief determine if a plugin is flagged as an overlay
* @param name filename of the plugin (without path but with file extension)
* @return true if the file is flagged as overlay, false if it isn't OR if the file
* doesn't exist.
* @note this plugin flag was added in Starfield and signifies plugin records that
* update existing records
*/
virtual bool isOverlayFlagged(const QString& name) const = 0;
};

} // namespace MOBase
Expand Down

0 comments on commit 6e4d013

Please sign in to comment.