diff options
Diffstat (limited to 'Examples/python/weave/example.h')
-rw-r--r-- | Examples/python/weave/example.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/python/weave/example.h b/Examples/python/weave/example.h new file mode 100644 index 0000000..d09d608 --- /dev/null +++ b/Examples/python/weave/example.h @@ -0,0 +1,18 @@ +#ifndef _EXAMPLE_H +#define _EXAMPLE_H + +class Foo { + public: + int x; +}; + +class Bar { + public: + int y; +}; + +class FooBar : public Foo, public Bar { + public: + int z; +}; +#endif |