Original Post
I have declared two interfaces like that:
interface IBase
{
virtual int FunctionOne( ... ) = 0;
};
interface IExtended : IBase
{
virtual int FunctionTwo( ... ) = 0;
};
Then there are two classes:
class CBase : public IBase
{
public:
int FunctionOne( ... );
};
class CExtended : public CBase, public IExtended
{
public:
int FunctionOne( ... ); // without that line I get an error
int FunctionTwo( ... );
};
This is a part of the implementation:
int CExtended::FunctionOne( ... )
{
return CBase::FunctionOne( ... );
}
Is there a way, in which I don't have to define FunctionOne() in CExtended but can call it over the interface IExtended? The method of class CBase should be called directly.
[edited by - Lightrocker on August 14, 2002 4:06:44 AM]