diff options
Diffstat (limited to 'graphics/libx3dtk/files/patch-X3DAbstractNode.h')
-rw-r--r-- | graphics/libx3dtk/files/patch-X3DAbstractNode.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/graphics/libx3dtk/files/patch-X3DAbstractNode.h b/graphics/libx3dtk/files/patch-X3DAbstractNode.h deleted file mode 100644 index 08b5b23e4254..000000000000 --- a/graphics/libx3dtk/files/patch-X3DAbstractNode.h +++ /dev/null @@ -1,38 +0,0 @@ -*** include/X3DTK/private/X3DAbstractNode.h.orig Fri Aug 27 13:18:33 2004 ---- include/X3DTK/private/X3DAbstractNode.h Sat Dec 16 15:42:01 2006 -*************** -*** 102,108 **** - inline void defineTypeName(const SFString &name, const SFString &component = SFString(""), const SFString &sceneGraph = SFString("")) {defineTempTypeName(this, name, component, sceneGraph);}; - /// Method to avoid defineTypeName having a template parameter. - template<class T> -! inline void defineTempTypeName(T *t, const SFString &name, const SFString &component, const SFString &sceneGraph) {define(Recorder<T>::getTypeName(name, component, sceneGraph));}; - /// Defines an attribute. - template<class T, class V> - inline void defineAttribute(const SFString &name, V T:: *member, const V &init); ---- 102,108 ---- - inline void defineTypeName(const SFString &name, const SFString &component = SFString(""), const SFString &sceneGraph = SFString("")) {defineTempTypeName(this, name, component, sceneGraph);}; - /// Method to avoid defineTypeName having a template parameter. - template<class T> -! inline void defineTempTypeName(T * /* t */, const SFString &name, const SFString &component, const SFString &sceneGraph) {define(Recorder<T>::getTypeName(name, component, sceneGraph));}; - /// Defines an attribute. - template<class T, class V> - inline void defineAttribute(const SFString &name, V T:: *member, const V &init); -*************** -*** 132,137 **** ---- 132,147 ---- - /// Removes a parent. - bool removeParent(const SFNode &N); - }; -+ -+ inline void X3DAbstractNode_addParentToChild(SFNode parent, SFNode child) { -+ X3DAbstractNode::addParentToChild(parent,child); -+ } -+ inline void X3DAbstractNode_removeParentFromChild(SFNode parent, SFNode child) { -+ X3DAbstractNode::removeParentFromChild(parent,child); -+ } -+ inline SFType * X3DAbstractNode_getType(X3DAbstractNode * node) { -+ return node->getType(); -+ } - - } - |