a few more publish fixes

This commit is contained in:
David Rose 2008-11-05 23:45:48 +00:00
parent d8e3efb1b9
commit 4684bf10c9
4 changed files with 12 additions and 5 deletions

View File

@ -25,11 +25,11 @@
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Class : AnimBundleNode // Class : AnimBundleNode
// Description : This is a node that contains a pointer to an // Description : This is a node that contains a pointer to an
// AnimBundle. Like AnimBundleNode, it exists solely to // AnimBundle. Like PartBundleNode, it exists solely to
// make it easy to store AnimBundles in the scene graph. // make it easy to store AnimBundles in the scene graph.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
class EXPCL_PANDA_CHAN AnimBundleNode : public PandaNode { class EXPCL_PANDA_CHAN AnimBundleNode : public PandaNode {
public: PUBLISHED:
INLINE AnimBundleNode(const string &name, AnimBundle *bundle); INLINE AnimBundleNode(const string &name, AnimBundle *bundle);
protected: protected:

View File

@ -27,8 +27,13 @@
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Class : PartBundleNode // Class : PartBundleNode
// Description : This is a node that contains a pointer to an // Description : This is a node that contains a pointer to an
// PartBundle. Like AnimBundleNode, it exists solely to // PartBundle. Like AnimBundleNode, it exists to make
// make it easy to store PartBundles in the scene graph. // it easy to store PartBundles in the scene graph.
//
// (Unlike AnimBundleNode, however, PartBundleNode has
// an additional function: it is also the base class of
// the Character node type, which adds additional
// functionality.)
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
class EXPCL_PANDA_CHAN PartBundleNode : public PandaNode { class EXPCL_PANDA_CHAN PartBundleNode : public PandaNode {
PUBLISHED: PUBLISHED:

View File

@ -30,7 +30,7 @@
// contained by this entry. // contained by this entry.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
class EXPCL_PANDAEGG EggCoordinateSystem : public EggNode { class EXPCL_PANDAEGG EggCoordinateSystem : public EggNode {
public: PUBLISHED:
INLINE EggCoordinateSystem(CoordinateSystem value = CS_default); INLINE EggCoordinateSystem(CoordinateSystem value = CS_default);
INLINE EggCoordinateSystem(const EggCoordinateSystem &copy); INLINE EggCoordinateSystem(const EggCoordinateSystem &copy);

View File

@ -245,6 +245,8 @@ public:
// exportable interface here. // exportable interface here.
#ifdef CPPPARSER #ifdef CPPPARSER
PUBLISHED: PUBLISHED:
INLINE ConstPointerToArray(const PointerToArray<Element> &copy);
INLINE ConstPointerToArray(const ConstPointerToArray<Element> &copy);
typedef TYPENAME pvector<Element>::size_type size_type; typedef TYPENAME pvector<Element>::size_type size_type;
INLINE size_type size() const; INLINE size_type size() const;
INLINE const Element &get_element(size_type n) const; INLINE const Element &get_element(size_type n) const;