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:
Axel Dörfler
2004-01-18 02:42:10 +00:00
parent 869e256d67
commit d1e4dd9533
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ private:
};
class DecoderPlugin : public MediaPlugin
class DecoderPlugin : public virtual MediaPlugin
{
public:
DecoderPlugin();
+1 -1
View File
@@ -47,7 +47,7 @@ public: // XXX for test programs only
};
class ReaderPlugin : public MediaPlugin
class ReaderPlugin : public virtual MediaPlugin
{
public:
virtual Reader *NewReader() = 0;