// Filename: basicSkel.h // Created by: jyelon (31Jan07) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved // // All use of this software is subject to the terms of the Panda 3d // Software license. You should have received a copy of this license // along with this source code; you will also find a current copy of // the license at http://etc.cmu.edu/panda3d/docs/license/ . // // To contact the maintainers of this program write to // panda3d-general@lists.sourceforge.net . // //////////////////////////////////////////////////////////////////// #ifndef BASICSKEL_H #define BASICSKEL_H #include "pandabase.h" //////////////////////////////////////////////////////////////////// // Class : BasicSkel // Description : This is the most basic of the skeleton classes. // It stores an integer, and will return it on request. // // The skeleton classes are intended to help you learn // how to add C++ classes to panda. See also the manual, // "Adding C++ Classes to Panda." //////////////////////////////////////////////////////////////////// class EXPCL_PANDASKEL BasicSkel { PUBLISHED: INLINE BasicSkel(); INLINE ~BasicSkel(); // These inline functions allow you to get and set _value. INLINE void set_value(int n); INLINE int get_value(); // These do the same thing as the functions above. void set_value_alt(int n); int get_value_alt(); private: int _value; }; #include "basicSkel.I" #endif