diff options
Diffstat (limited to 'src/plugincontainer.h')
| -rw-r--r-- | src/plugincontainer.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/plugincontainer.h b/src/plugincontainer.h index cd1d03ca..520ee83e 100644 --- a/src/plugincontainer.h +++ b/src/plugincontainer.h @@ -34,25 +34,6 @@ class OrganizerProxy; class PluginRequirements {
public:
- // Small intermediate class.
- struct Problem {
- public:
-
- QString description() const { return m_Requirement->description(m_Id); }
-
-
- private:
- Problem(const MOBase::IPluginRequirement* requirement, unsigned int id) :
- m_Requirement(requirement), m_Id(id) { }
-
- const MOBase::IPluginRequirement* m_Requirement;
- unsigned int m_Id;
-
- friend class PluginRequirements;
- };
-
-public:
-
/**
* @return true if the plugin can be enabled (all requirements are met).
*/
@@ -66,7 +47,7 @@ public: /**
* @return the list of problems to be resolved before enabling the plugin.
*/
- std::vector<Problem> problems() const;
+ std::vector<MOBase::IPluginRequirement::Problem> problems() const;
/**
* @return the name of the games (gameName()) this plugin can be used with, or an empty
|
