diff options
Diffstat (limited to 'include/plist/Node.h')
| -rw-r--r-- | include/plist/Node.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/include/plist/Node.h b/include/plist/Node.h index 6e5411a..7ea6ed9 100644 --- a/include/plist/Node.h +++ b/include/plist/Node.h | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | * modify it under the terms of the GNU Lesser General Public | 8 | * modify it under the terms of the GNU Lesser General Public |
| 9 | * License as published by the Free Software Foundation; either | 9 | * License as published by the Free Software Foundation; either |
| 10 | * version 2.1 of the License, or (at your option) any later version. | 10 | * version 2.1 of the License, or (at your option) any later version. |
| 11 | * | 11 | * |
| 12 | * This library is distributed in the hope that it will be useful, | 12 | * This library is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * Lesser General Public License for more details. | 15 | * Lesser General Public License for more details. |
| 16 | * | 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public | 17 | * You should have received a copy of the GNU Lesser General Public |
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef PLIST__NODE_H | 22 | #ifndef PLIST__NODE_H |
| @@ -29,22 +29,22 @@ namespace PList | |||
| 29 | 29 | ||
| 30 | class Node | 30 | class Node |
| 31 | { | 31 | { |
| 32 | public : | 32 | public : |
| 33 | virtual ~Node(); | 33 | virtual ~Node(); |
| 34 | 34 | ||
| 35 | virtual Node* Clone() = 0; | 35 | virtual Node* Clone() = 0; |
| 36 | Node * GetParent(); | 36 | Node * GetParent(); |
| 37 | void SetParent(Node* parent); | 37 | void SetParent(Node* parent); |
| 38 | 38 | ||
| 39 | plist_type GetType(); | 39 | plist_type GetType(); |
| 40 | plist_t GetPlist(); | 40 | plist_t GetPlist(); |
| 41 | 41 | ||
| 42 | protected: | 42 | protected: |
| 43 | Node(Node* parent = NULL); | 43 | Node(Node* parent = NULL); |
| 44 | Node(plist_t node, Node* parent = NULL); | 44 | Node(plist_t node, Node* parent = NULL); |
| 45 | Node(plist_type type, Node* parent = NULL); | 45 | Node(plist_type type, Node* parent = NULL); |
| 46 | plist_t _node; | 46 | plist_t _node; |
| 47 | Node* _parent; | 47 | Node* _parent; |
| 48 | }; | 48 | }; |
| 49 | 49 | ||
| 50 | }; | 50 | }; |
