Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of code/howto/ClassHierarchy


Ignore:
Timestamp:
Oct 10, 2008, 1:19:19 AM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/howto/ClassHierarchy

    v1 v2  
    1212*.h file:
    1313{{{
     14#include "core/BaseObject.h"
     15
    1416class MyClass : public BaseObject
    1517{
     
    1921
    2022or
     23
     24#include "objects/SomeOtherObject.h"
    2125
    2226class MyClass : public SomeOtherObject
     
    2933*.cc file:
    3034{{{
     35#include "core/CoreIncludes.h"
     36
    3137CreateFactory(MyClass); // optional
    3238
     
    4551*.h file:
    4652{{{
     53#include "core/OrxonoxClass.h"
     54
    4755class MyInterface : virtual public OrxonoxClass
    4856{
     
    5462*.cc file:
    5563{{{
     64#include "core/CoreIncludes.h"
     65
    5666// Constructor:
    5767MyInterface::MyInterface()