Followed Marcus' advice and added a "virtual" to the *Plugin inheritance to
allow an add-on to inherit from both, DecoderPlugin and ReaderPlugin at once. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6122 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -40,7 +40,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
class DecoderPlugin : public MediaPlugin
|
||||
class DecoderPlugin : public virtual MediaPlugin
|
||||
{
|
||||
public:
|
||||
DecoderPlugin();
|
||||
|
||||
@@ -47,7 +47,7 @@ public: // XXX for test programs only
|
||||
};
|
||||
|
||||
|
||||
class ReaderPlugin : public MediaPlugin
|
||||
class ReaderPlugin : public virtual MediaPlugin
|
||||
{
|
||||
public:
|
||||
virtual Reader *NewReader() = 0;
|
||||
|
||||
Reference in New Issue
Block a user