summaryrefslogtreecommitdiff
path: root/tikzit/src/common/Node.h
diff options
context:
space:
mode:
authorrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-03-08 18:22:22 +0000
committerrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-03-08 18:22:22 +0000
commit0cd05a572e48b1e649ecdc8b24920c497e40466e (patch)
tree3f6e2aa5543c809fc7727e070c5e7ae11f3eaa3e /tikzit/src/common/Node.h
parentd26e56e2fd57da2dadddf760b2984956f7daa069 (diff)
Fix how copying is implemented
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@419 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/src/common/Node.h')
-rw-r--r--tikzit/src/common/Node.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/tikzit/src/common/Node.h b/tikzit/src/common/Node.h
index c3a604d..844af83 100644
--- a/tikzit/src/common/Node.h
+++ b/tikzit/src/common/Node.h
@@ -36,7 +36,7 @@
@class Node
@brief A graph node, with associated location and style data.
*/
-@interface Node : NSObject {
+@interface Node : NSObject<NSCopying> {
NSPoint point;
NodeStyle *style;
NSString *name;
@@ -141,12 +141,6 @@
- (void)updateData;
/*!
- @brief Copy this node.
- @result A copy of this node.
- */
-- (id)copy;
-
-/*!
@brief Set properties of this node to match the given node.
@param nd a node to mimic.
*/