1 2 3 4 5 6 7 8 9 10 11 12
#include "foo2.h" OSDefineMetaClassAndStructors( Foo2, Foo1 ) int Foo2::foo() { return 0; } int Foo2::foo1Used0() { return 0; }