mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-21 15:15:27 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
25 lines
472 B
C++
25 lines
472 B
C++
class PureVirtualIFace {
|
|
public:
|
|
virtual void Foo() = 0;
|
|
virtual void Bar(unsigned int) = 0;
|
|
};
|
|
|
|
class AnotherInterface {
|
|
public:
|
|
virtual void Baz() = 0;
|
|
};
|
|
|
|
class Implementation : public PureVirtualIFace {
|
|
public:
|
|
void Foo() override {}
|
|
void Bar(unsigned int) override {}
|
|
};
|
|
|
|
class DoubleImpl : public PureVirtualIFace, public AnotherInterface {
|
|
public:
|
|
void Foo() override {}
|
|
void Bar(unsigned int) override {}
|
|
|
|
void Baz() override {}
|
|
};
|