Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2006, 2:36:54 PM (18 years ago)
Author:
bensch
Message:

new_class_id: many more classes done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/script_engine/script_class.h

    r9685 r9686  
    3030
    3131  bool operator==(const std::string& name) { return (this->getName() == name); }
    32   bool operator==(ClassID classID) { return (this->_classID == classID); }
     32  bool operator==(NewClassID classID) { return (this->_classID == classID); }
    3333
    3434  virtual void registerClass(Script* script) = 0;
     
    3939
    4040protected:
    41   ScriptClass(const std::string& name, ClassID classID, ScriptMethod* scriptMethods);
     41  ScriptClass(const std::string& name, NewClassID classID, ScriptMethod* scriptMethods);
    4242
    4343private:
    44   ClassID             _classID;
     44  const NewClassID&   _classID;
    4545  ScriptMethod*       _scriptMethods;
    4646};
     
    5353{
    5454public:
    55   tScriptClass(const std::string& name, ClassID classID, ScriptMethod* scriptMethods)
     55  tScriptClass(const std::string& name, NewClassID classID, ScriptMethod* scriptMethods)
    5656      : ScriptClass(name, classID, scriptMethods)
    5757  { }
Note: See TracChangeset for help on using the changeset viewer.