aboutsummaryrefslogtreecommitdiff
path: root/src/entities/bu-class
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/entities/bu-class62
1 files changed, 0 insertions, 62 deletions
diff --git a/src/entities/bu-class b/src/entities/bu-class
deleted file mode 100644
index b0dc8b0..0000000
--- a/src/entities/bu-class
+++ /dev/null
@@ -1,62 +0,0 @@
1<?xml version="1.1" ?>
2<entity desc="Basic cpp class, with optional parent class. (.cpp+.h)">
3 <param name="name" required="yes" desc="Name of the class"/>
4 <param name="parent" required="no" desc="Name of the parent class"/>
5 <file
6 name="header"
7 filename="{=name:%tolower}.h"
8>/*
9 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
10 *
11 * This file is part of the libbu++ library and is released under the
12 * terms of the license contained in the file LICENSE.
13 */
14
15#ifndef {=name:%uccsplit:%toupper}_H
16#define {=name:%uccsplit:%toupper}_H
17
18#include &lt;stdint.h&gt;
19
20{?parent:"#include \"bu/{=parent:%tolower}.h\"
21
22"}namespace Bu
23{
24 /**
25 *
26 */
27 class {=name}{?parent:" : public {=parent}"}
28 {
29 public:
30 {=name}();
31 virtual ~{=name}();
32
33 private:
34
35 };
36}
37
38#endif
39</file>
40 <file
41 name="source"
42 filename="{=name:%tolower}.cpp"
43 >/*
44 * Copyright (C) 2007-2008 Xagasoft, All rights reserved.
45 *
46 * This file is part of the libbu++ library and is released under the
47 * terms of the license contained in the file LICENSE.
48 */
49
50#include "bu/{=name:%tolower}.h"
51
52using namespace Bu;
53
54Bu::{=name}::{=name}()
55{
56}
57
58Bu::{=name}::~{=name}()
59{
60}
61</file>
62</entity>