Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 1, 2006, 11:56:54 PM (19 years ago)
Author:
bensch
Message:

more thoughts on Resources, and soon going to adapt… i think i've got a clue :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/proto/proto_class.cc

    r9406 r9718  
    1717
    1818#include "proto_class.h"
     19ObjectListDefinition(ProtoClass);
    1920
    2021
     
    2728ProtoClass::ProtoClass ()
    2829{
    29    this->setClassID(CL_PROTO_ID, "ProtoClass");
     30  this->registerObject(this, ProtoClass::_objectList);
    3031
    3132   /* If you make a new class, what is most probably the case when you write this file
    3233      don't forget to:
    3334       1. Add the new file new_class.cc to the ./src/Makefile.am
    34        2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS
    3535
    3636      Advanced Topics:
Note: See TracChangeset for help on using the changeset viewer.