From 32be8ec384bfd78e189d3de6609e50cf4dd072a2 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Fri, 16 Oct 2009 22:26:13 +0200 Subject: Fix Node lifecycle and change argument as reference to const reference. --- include/plist/Integer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/plist/Integer.h') diff --git a/include/plist/Integer.h b/include/plist/Integer.h index 823e3a0..3a3a0e3 100644 --- a/include/plist/Integer.h +++ b/include/plist/Integer.h @@ -32,9 +32,13 @@ class Integer : public Node public : Integer(); Integer(plist_t node); + Integer(Integer& i); + Integer& operator=(Integer& i); Integer(uint64_t i); virtual ~Integer(); + Node* Clone(); + void SetValue(uint64_t i); uint64_t GetValue(); }; -- cgit v1.1-32-gdbae