better fix for typedef + inheritance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cb18392a7a
commit
ff0c451c08
2 changed files with 53 additions and 17 deletions
|
|
@ -250,7 +250,14 @@ namespace TagLib
|
|||
public:
|
||||
File() {}
|
||||
};
|
||||
class AudioProperties { };
|
||||
|
||||
class AudioProperties {
|
||||
};
|
||||
|
||||
class AudioPropertiesFile {
|
||||
public:
|
||||
typedef TagLib::File File;
|
||||
};
|
||||
|
||||
namespace FLAC
|
||||
{
|
||||
|
|
@ -260,6 +267,27 @@ namespace TagLib
|
|||
Properties(File *) {}
|
||||
};
|
||||
|
||||
class PropertiesFile : public AudioPropertiesFile {
|
||||
public:
|
||||
PropertiesFile(File * = 0) {}
|
||||
};
|
||||
|
||||
|
||||
class PropertiesFree {
|
||||
public:
|
||||
PropertiesFree(File *) {}
|
||||
};
|
||||
|
||||
class FooFilePrivate : private PropertiesFile {
|
||||
public:
|
||||
FooFilePrivate(File *) {}
|
||||
};
|
||||
|
||||
class FooFile : PropertiesFile {
|
||||
public:
|
||||
FooFile(File *) {}
|
||||
};
|
||||
|
||||
class File {
|
||||
public:
|
||||
File() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue