tag/Settings: convert to C++

This commit is contained in:
Max Kellermann
2015-08-24 11:19:19 +02:00
parent 0c19418e84
commit 2f5106c97f
8 changed files with 9 additions and 13 deletions

View File

@@ -20,7 +20,7 @@
#include "config.h"
#include "TagPrint.hxx"
#include "tag/Tag.hxx"
#include "tag/TagSettings.h"
#include "tag/Settings.hxx"
#include "client/Response.hxx"
void

View File

@@ -26,7 +26,7 @@
#include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/TextFile.hxx"
#include "tag/Tag.hxx"
#include "tag/TagSettings.h"
#include "tag/Settings.hxx"
#include "fs/Charset.hxx"
#include "util/StringUtil.hxx"
#include "util/Error.hxx"

View File

@@ -19,7 +19,7 @@
#include "Set.hxx"
#include "TagBuilder.hxx"
#include "TagSettings.h"
#include "Settings.hxx"
#include <assert.h>

View File

@@ -17,6 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "TagSettings.h"
#include "Settings.hxx"
tag_mask_t global_tag_mask = (tag_mask_t)-1 & ~(1 << TAG_COMMENT);

View File

@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_TAG_SETTINGS_H
#define MPD_TAG_SETTINGS_H
#ifndef MPD_TAG_SETTINGS_HXX
#define MPD_TAG_SETTINGS_HXX
#include "TagType.h"
#include "Compiler.h"
@@ -29,8 +29,6 @@ typedef uint_least32_t tag_mask_t;
extern tag_mask_t global_tag_mask;
#ifdef __cplusplus
gcc_const
static inline bool
IsTagEnabled(unsigned tag)
@@ -46,5 +44,3 @@ IsTagEnabled(TagType tag)
}
#endif
#endif

View File

@@ -19,7 +19,7 @@
#include "config.h"
#include "TagBuilder.hxx"
#include "TagSettings.h"
#include "Settings.hxx"
#include "TagPool.hxx"
#include "TagString.hxx"
#include "Tag.hxx"

View File

@@ -19,7 +19,7 @@
#include "config.h"
#include "TagConfig.hxx"
#include "TagSettings.h"
#include "Settings.hxx"
#include "Tag.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigOption.hxx"