From 89425523eac6e16eb85a8a0126134f2bf3c54180 Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Thu, 30 Jul 2015 13:45:20 +0200 Subject: Rename libnbt.h to nbt_tags.h Add missing forward declaration to tagfwd.h --- include/libnbt.h | 29 ----------------------------- include/nbt_tags.h | 29 +++++++++++++++++++++++++++++ include/tagfwd.h | 2 ++ 3 files changed, 31 insertions(+), 29 deletions(-) delete mode 100644 include/libnbt.h create mode 100644 include/nbt_tags.h (limited to 'include') diff --git a/include/libnbt.h b/include/libnbt.h deleted file mode 100644 index 9a2198778c..0000000000 --- a/include/libnbt.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * libnbt++ - A library for the Minecraft Named Binary Tag format. - * Copyright (C) 2013, 2015 ljfa-ag - * - * This file is part of libnbt++. - * - * libnbt++ is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * libnbt++ is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with libnbt++. If not, see . - */ -#ifndef LIBNBT_H_INCLUDED -#define LIBNBT_H_INCLUDED - -#include "tag_primitive.h" -#include "tag_string.h" -#include "tag_compound.h" -#include "tag_list.h" -#include "tag_array.h" - -#endif // LIBNBT_H_INCLUDED diff --git a/include/nbt_tags.h b/include/nbt_tags.h new file mode 100644 index 0000000000..810bf0d661 --- /dev/null +++ b/include/nbt_tags.h @@ -0,0 +1,29 @@ +/* + * libnbt++ - A library for the Minecraft Named Binary Tag format. + * Copyright (C) 2013, 2015 ljfa-ag + * + * This file is part of libnbt++. + * + * libnbt++ is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * libnbt++ is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libnbt++. If not, see . + */ +#ifndef NBT_TAGS_H_INCLUDED +#define NBT_TAGS_H_INCLUDED + +#include "tag_primitive.h" +#include "tag_string.h" +#include "tag_array.h" +#include "tag_list.h" +#include "tag_compound.h" + +#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 tag_long; typedef tag_primitive tag_float; typedef tag_primitive tag_double; +class tag_string; + template class tag_array; typedef tag_array tag_byte_array; typedef tag_array tag_int_array; -- cgit 0.0.5-2-1-g0f52