Make header guards more unique and consistent
This commit is contained in:
parent
1deb244fee
commit
db7b02b1db
|
@ -1,5 +1,5 @@
|
||||||
#ifndef ARGUMENTPARSER_H
|
#ifndef APPLICATION_UTILITIES_ARGUMENTPARSER_H
|
||||||
#define ARGUMENTPARSER_H
|
#define APPLICATION_UTILITIES_ARGUMENTPARSER_H
|
||||||
|
|
||||||
#include "./global.h"
|
#include "./global.h"
|
||||||
|
|
||||||
|
@ -662,4 +662,4 @@ public:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // ARGUMENTPARSER_H
|
#endif // APPLICATION_UTILITIES_ARGUMENTPARSER_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef FAILURE_H
|
#ifndef APPLICATION_UTILITIES_FAILURE_H
|
||||||
#define FAILURE_H
|
#define APPLICATION_UTILITIES_FAILURE_H
|
||||||
|
|
||||||
#include "./global.h"
|
#include "./global.h"
|
||||||
|
|
||||||
|
@ -23,4 +23,4 @@ private:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // FAILURE_H
|
#endif // APPLICATION_UTILITIES_FAILURE_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef MARTCHUSUTILITY_LIBRARY_GLOBAL_H
|
#ifndef APPLICATION_UTILITIES_GLOBAL_H
|
||||||
#define MARTCHUSUTILITY_LIBRARY_GLOBAL_H
|
#define APPLICATION_UTILITIES_GLOBAL_H
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# ifndef PLATFORM_WINDOWS
|
# ifndef PLATFORM_WINDOWS
|
||||||
|
@ -86,4 +86,4 @@
|
||||||
# define IF_DEBUG_BUILD(x)
|
# define IF_DEBUG_BUILD(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // MARTCHUSUTILITY_LIBRARY_GLOBAL_H
|
#endif // APPLICATION_UTILITIES_GLOBAL_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef DATETIME_H
|
#ifndef CHRONO_UTILITIES_DATETIME_H
|
||||||
#define DATETIME_H
|
#define CHRONO_UTILITIES_DATETIME_H
|
||||||
|
|
||||||
#include "./timespan.h"
|
#include "./timespan.h"
|
||||||
|
|
||||||
|
@ -436,4 +436,4 @@ inline DateTime &DateTime::operator -=(const TimeSpan &timeSpan)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // DATETIME_H
|
#endif // CHRONO_UTILITIES_DATETIME_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef PERIOD_H
|
#ifndef CHRONO_UTILITIES_PERIOD_H
|
||||||
#define PERIOD_H
|
#define CHRONO_UTILITIES_PERIOD_H
|
||||||
|
|
||||||
#include "./datetime.h"
|
#include "./datetime.h"
|
||||||
|
|
||||||
|
@ -46,4 +46,4 @@ inline int Period::days() const
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // PERIOD_H
|
#endif // CHRONO_UTILITIES_PERIOD_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef TIMESPAN_H
|
#ifndef CHRONO_UTILITIES_TIMESPAN_H
|
||||||
#define TIMESPAN_H
|
#define CHRONO_UTILITIES_TIMESPAN_H
|
||||||
|
|
||||||
#include "../application/global.h"
|
#include "../application/global.h"
|
||||||
#include "../conversion/types.h"
|
#include "../conversion/types.h"
|
||||||
|
@ -354,4 +354,4 @@ constexpr inline bool TimeSpan::isInfinity() const
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // TIMESPAN_H
|
#endif // CHRONO_UTILITIES_TIMESPAN_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef CONVERSION_UTILITIES_CONVERT_H
|
#ifndef CONVERSION_UTILITIES_BINARY_CONVERSION_H
|
||||||
#define CONVERSION_UTILITIES_CONVERT_H
|
#define CONVERSION_UTILITIES_BINARY_CONVERSION_H
|
||||||
|
|
||||||
#include "./types.h"
|
#include "./types.h"
|
||||||
|
|
||||||
|
@ -197,4 +197,4 @@ LIB_EXPORT constexpr uint64 swapOrder(uint64 value)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CONVERSION_UTILITIES_CONVERT_H
|
#endif // CONVERSION_UTILITIES_BINARY_CONVERSION_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef CONVERSIONEXCEPTION_H
|
#ifndef CONVERSION_UTILITIES_CONVERSIONEXCEPTION_H
|
||||||
#define CONVERSIONEXCEPTION_H
|
#define CONVERSION_UTILITIES_CONVERSIONEXCEPTION_H
|
||||||
|
|
||||||
#include "../application/global.h"
|
#include "../application/global.h"
|
||||||
|
|
||||||
|
@ -18,4 +18,4 @@ public:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CONVERSIONEXCEPTION_H
|
#endif // CONVERSION_UTILITIES_CONVERSIONEXCEPTION_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef STRINGCONVERSION_H
|
#ifndef CONVERSION_UTILITIES_STRINGCONVERSION_H
|
||||||
#define STRINGCONVERSION_H
|
#define CONVERSION_UTILITIES_STRINGCONVERSION_H
|
||||||
|
|
||||||
#include "./conversionexception.h"
|
#include "./conversionexception.h"
|
||||||
#include "./binaryconversion.h"
|
#include "./binaryconversion.h"
|
||||||
|
@ -201,4 +201,4 @@ LIB_EXPORT std::pair<std::unique_ptr<byte[]>, uint32> decodeBase64(const char *e
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // STRINGCONVERSION_H
|
#endif // CONVERSION_UTILITIES_STRINGCONVERSION_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef TYPES_H
|
#ifndef CONVERSION_UTILITIES_TYPES_H
|
||||||
#define TYPES_H
|
#define CONVERSION_UTILITIES_TYPES_H
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
@ -71,4 +71,4 @@ typedef double float64;
|
||||||
#error "Unable to define float64!"
|
#error "Unable to define float64!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // TYPES_H
|
#endif // CONVERSION_UTILITIES_TYPES_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef WIDEN_H
|
#ifndef CONVERSION_UTILITIES_WIDEN_H
|
||||||
#define WIDEN_H
|
#define CONVERSION_UTILITIES_WIDEN_H
|
||||||
|
|
||||||
#include "../application/global.h"
|
#include "../application/global.h"
|
||||||
|
|
||||||
|
@ -49,4 +49,4 @@ private:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // WIDEN_H
|
#endif // CONVERSION_UTILITIES_WIDEN_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef ANSIESCAPECODES
|
#ifndef IOUTILITIES_ANSIESCAPECODES
|
||||||
#define ANSIESCAPECODES
|
#define IOUTILITIES_ANSIESCAPECODES
|
||||||
|
|
||||||
#include "../application/global.h"
|
#include "../application/global.h"
|
||||||
|
|
||||||
|
@ -101,5 +101,5 @@ inline void eraseLine(std::ostream &stream)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // ANSIESCAPECODES
|
#endif // IOUTILITIES_ANSIESCAPECODES
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef BINERYREADER_H
|
#ifndef IOUTILITIES_BINERYREADER_H
|
||||||
#define BINERYREADER_H
|
#define IOUTILITIES_BINERYREADER_H
|
||||||
|
|
||||||
#include "../application/global.h"
|
#include "../application/global.h"
|
||||||
#include "../conversion/types.h"
|
#include "../conversion/types.h"
|
||||||
|
@ -564,4 +564,4 @@ inline float32 BinaryReader::readFixed16LE()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BINERYREADER_H
|
#endif // IOUTILITIES_BINERYREADER_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef BINARYWRITER_H
|
#ifndef IOUTILITIES_BINARYWRITER_H
|
||||||
#define BINARYWRITER_H
|
#define IOUTILITIES_BINARYWRITER_H
|
||||||
|
|
||||||
#include "../application/global.h"
|
#include "../application/global.h"
|
||||||
#include "../conversion/types.h"
|
#include "../conversion/types.h"
|
||||||
|
@ -531,4 +531,4 @@ inline void BinaryWriter::writeFixed16LE(float32 valueToConvertAndWrite)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BINARYWRITER_H
|
#endif // IO_UTILITIES_BINARYWRITER_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef PATHHELPER_H
|
#ifndef IOUTILITIES_PATHHELPER_H
|
||||||
#define PATHHELPER_H
|
#define IOUTILITIES_PATHHELPER_H
|
||||||
|
|
||||||
#include "./binarywriter.h"
|
#include "./binarywriter.h"
|
||||||
#include "./binaryreader.h"
|
#include "./binaryreader.h"
|
||||||
|
@ -28,4 +28,4 @@ LIB_EXPORT bool settingsDirectory(std::string &result, std::string applicationDi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // PATHHELPER_H
|
#endif // IOUTILITIES_PATHHELPER_H
|
||||||
|
|
Loading…
Reference in New Issue