fix header guards
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _UTILITY_COMPARATORS
|
||||
#define _UTILITY_COMPARATORS
|
||||
#ifndef NCMPCPP_UTILITY_COMPARATORS_H
|
||||
#define NCMPCPP_UTILITY_COMPARATORS_H
|
||||
|
||||
#include <string>
|
||||
#include "exec_item.h"
|
||||
@@ -81,4 +81,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#endif // _UTILITY_COMPARATORS
|
||||
#endif // NCMPCPP_UTILITY_COMPARATORS_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _UTILITY_HTML
|
||||
#define _UTILITY_HTML
|
||||
#ifndef NCMPCPP_UTILITY_HTML_H
|
||||
#define NCMPCPP_UTILITY_HTML_H
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -27,4 +27,4 @@ std::string unescapeHtmlUtf8(const std::string &s);
|
||||
|
||||
void stripHtmlTags(std::string &s);
|
||||
|
||||
#endif // _UTILITY_HTML
|
||||
#endif // NCMPCPP_UTILITY_HTML_H
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
#include <string>
|
||||
#include "string.h"
|
||||
|
||||
#ifndef _UTILITY_NUMERIC_CONVERSIONS_H
|
||||
#define _UTILITY_NUMERIC_CONVERSIONS_H
|
||||
#ifndef NCMPCPP_UTILITY_NUMERIC_CONVERSIONS_H
|
||||
#define NCMPCPP_UTILITY_NUMERIC_CONVERSIONS_H
|
||||
|
||||
template <typename R> struct intTo { };
|
||||
template <> struct intTo<std::string> {
|
||||
@@ -72,4 +72,4 @@ template <> struct unsignedLongIntTo<std::wstring> {
|
||||
}
|
||||
};
|
||||
|
||||
#endif // _UTILITY_NUMERIC_CONVERSIONS_H
|
||||
#endif // NCMPCPP_UTILITY_NUMERIC_CONVERSIONS_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _UTILITY_STRING
|
||||
#define _UTILITY_STRING
|
||||
#ifndef NCMPCPP_UTILITY_STRING_H
|
||||
#define NCMPCPP_UTILITY_STRING_H
|
||||
|
||||
#include <cstdarg>
|
||||
#include <locale>
|
||||
@@ -80,4 +80,4 @@ std::string getEnclosedString(const std::string &s, char a, char b, size_t *pos)
|
||||
|
||||
void removeInvalidCharsFromFilename(std::string &filename);
|
||||
|
||||
#endif // _UTILITY_STRING
|
||||
#endif // NCMPCPP_UTILITY_STRING_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _UTILITY_TYPE_CONVERSIONS
|
||||
#define _UTILITY_TYPE_CONVERSIONS
|
||||
#ifndef NCMPCPP_UTILITY_TYPE_CONVERSIONS_H
|
||||
#define NCMPCPP_UTILITY_TYPE_CONVERSIONS_H
|
||||
|
||||
#include "mpdpp.h"
|
||||
#include "mutable_song.h"
|
||||
@@ -32,4 +32,4 @@ MPD::Song::GetFunction charToGetFunction(char c);
|
||||
|
||||
std::string itemTypeToString(MPD::ItemType type);
|
||||
|
||||
#endif // _UTILITY_TYPE_CONVERSIONS
|
||||
#endif // NCMPCPP_UTILITY_TYPE_CONVERSIONS_H
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _UTILITY_WIDE_STRING
|
||||
#define _UTILITY_WIDE_STRING
|
||||
#ifndef NCMPCPP_UTILITY_WIDE_STRING_H
|
||||
#define NCMPCPP_UTILITY_WIDE_STRING_H
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -31,4 +31,4 @@ size_t wideLength(const std::wstring &ws);
|
||||
void wideCut(std::wstring &ws, size_t max_length);
|
||||
std::wstring wideShorten(const std::wstring &ws, size_t max_length);
|
||||
|
||||
#endif // _UTILITY_WIDE_STRING
|
||||
#endif // NCMPCPP_UTILITY_WIDE_STRING_h
|
||||
|
||||
Reference in New Issue
Block a user