Skip to content

Commit

Permalink
Merge pull request #130 from ModOrganizer2/starfield
Browse files Browse the repository at this point in the history
Starfield
  • Loading branch information
Silarn authored Sep 17, 2023
2 parents b300926 + 3904420 commit b88ff9c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/game_features/gameplugins.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class GamePlugins
virtual void readPluginLists(MOBase::IPluginList* pluginList) = 0;
virtual QStringList getLoadOrder() = 0;
virtual bool lightPluginsAreSupported() = 0;
virtual bool overridePluginsAreSupported() = 0;
};

#endif // GAMEPLUGINS_H
8 changes: 8 additions & 0 deletions src/iplugingame.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class IPluginGame : public QObject, public IPlugin
public:
enum class LoadOrderMechanism
{
None,
FileTime,
PluginsTxt
};
Expand Down Expand Up @@ -170,6 +171,13 @@ class IPluginGame : public QObject, public IPlugin
*/
virtual QDir dataDirectory() const = 0;

/**
* this function may be called before init()
*
* @return directories where we may find data files outside the main location
*/
virtual QMap<QString, QDir> secondaryDataDirectories() const = 0;

/**
* @brief set the path to the managed game
* @param path to the game
Expand Down

0 comments on commit b88ff9c

Please sign in to comment.