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/Boolean.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/plist/Boolean.h') diff --git a/include/plist/Boolean.h b/include/plist/Boolean.h index 01b5b85..917bc9d 100644 --- a/include/plist/Boolean.h +++ b/include/plist/Boolean.h @@ -32,9 +32,13 @@ class Boolean : public Node public : Boolean(); Boolean(plist_t node); + Boolean(Boolean& b); + Boolean& operator=(Boolean& b); Boolean(bool b); virtual ~Boolean(); + Node* Clone(); + void SetValue(bool b); bool GetValue(); }; -- cgit v1.1-32-gdbae