diff options
| author | 2009-10-16 22:26:13 +0200 | |
|---|---|---|
| committer | 2009-10-16 22:26:13 +0200 | |
| commit | 32be8ec384bfd78e189d3de6609e50cf4dd072a2 (patch) | |
| tree | ac7edad0f19be2a31efaaaaa3acd477dd2f3c233 /include/plist/Boolean.h | |
| parent | 8aeef4dd2331445fea8a7a40466b19973e9d09c4 (diff) | |
| download | libplist-32be8ec384bfd78e189d3de6609e50cf4dd072a2.tar.gz libplist-32be8ec384bfd78e189d3de6609e50cf4dd072a2.tar.bz2 | |
Fix Node lifecycle and change argument as reference to const reference.
Diffstat (limited to 'include/plist/Boolean.h')
| -rw-r--r-- | include/plist/Boolean.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
| 32 | public : | 32 | public : |
| 33 | Boolean(); | 33 | Boolean(); |
| 34 | Boolean(plist_t node); | 34 | Boolean(plist_t node); |
| 35 | Boolean(Boolean& b); | ||
| 36 | Boolean& operator=(Boolean& b); | ||
| 35 | Boolean(bool b); | 37 | Boolean(bool b); |
| 36 | virtual ~Boolean(); | 38 | virtual ~Boolean(); |
| 37 | 39 | ||
| 40 | Node* Clone(); | ||
| 41 | |||
| 38 | void SetValue(bool b); | 42 | void SetValue(bool b); |
| 39 | bool GetValue(); | 43 | bool GetValue(); |
| 40 | }; | 44 | }; |
