summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-07-30 13:45:20 +0200
committerljfa-ag <ljfa-ag@web.de>2015-07-30 13:45:20 +0200
commit89425523eac6e16eb85a8a0126134f2bf3c54180 (patch)
tree3f22f7cd235587f6c72aa76d82533f2c86d0693c /include
parentc4ea821426c246dbfaa244de477c8d039524bb5a (diff)
downloadProject-Tick-89425523eac6e16eb85a8a0126134f2bf3c54180.tar.gz
Project-Tick-89425523eac6e16eb85a8a0126134f2bf3c54180.zip
Rename libnbt.h to nbt_tags.h
Add missing forward declaration to tagfwd.h
Diffstat (limited to 'include')
-rw-r--r--include/nbt_tags.h (renamed from include/libnbt.h)10
-rw-r--r--include/tagfwd.h2
2 files changed, 7 insertions, 5 deletions
diff --git a/include/libnbt.h b/include/nbt_tags.h
index 9a2198778c..810bf0d661 100644
--- a/include/libnbt.h
+++ b/include/nbt_tags.h
@@ -17,13 +17,13 @@
* You should have received a copy of the GNU Lesser General Public License
* along with libnbt++. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef LIBNBT_H_INCLUDED
-#define LIBNBT_H_INCLUDED
+#ifndef NBT_TAGS_H_INCLUDED
+#define NBT_TAGS_H_INCLUDED
#include "tag_primitive.h"
#include "tag_string.h"
-#include "tag_compound.h"
-#include "tag_list.h"
#include "tag_array.h"
+#include "tag_list.h"
+#include "tag_compound.h"
-#endif // LIBNBT_H_INCLUDED
+#endif // NBT_TAGS_H_INCLUDED
diff --git a/include/tagfwd.h b/include/tagfwd.h
index 98d75b8328..622e39d056 100644
--- a/include/tagfwd.h
+++ b/include/tagfwd.h
@@ -36,6 +36,8 @@ typedef tag_primitive<int64_t> tag_long;
typedef tag_primitive<float> tag_float;
typedef tag_primitive<double> tag_double;
+class tag_string;
+
template<class T> class tag_array;
typedef tag_array<int8_t> tag_byte_array;
typedef tag_array<int32_t> tag_int_array;