Browse Source

Use consistent order for visibility attribute

charconv
Martchus 2 years ago
parent
commit
0f56d25251
  1. 8
      application/commandlineutils.h
  2. 2
      chrono/period.h

8
application/commandlineutils.h

@ -17,11 +17,11 @@ namespace CppUtilities {
*/
enum class Response { None, Yes, No };
bool CPP_UTILITIES_EXPORT confirmPrompt(const char *message, Response defaultResponse = Response::None);
CPP_UTILITIES_EXPORT bool confirmPrompt(const char *message, Response defaultResponse = Response::None);
#ifdef PLATFORM_WINDOWS
void CPP_UTILITIES_EXPORT startConsole();
std::pair<std::vector<std::unique_ptr<char[]>>, std::vector<char *>> CPP_UTILITIES_EXPORT convertArgsToUtf8();
CPP_UTILITIES_EXPORT void startConsole();
CPP_UTILITIES_EXPORT std::pair<std::vector<std::unique_ptr<char[]>>, std::vector<char *>> convertArgsToUtf8();
#define CMD_UTILS_START_CONSOLE ::CppUtilities::startConsole();
#define CMD_UTILS_CONVERT_ARGS_TO_UTF8 \
auto utf8Args = ::CppUtilities::convertArgsToUtf8(); \
@ -58,7 +58,7 @@ inline TerminalSize::TerminalSize(unsigned short rows, unsigned short columns, u
{
}
TerminalSize CPP_UTILITIES_EXPORT determineTerminalSize();
CPP_UTILITIES_EXPORT TerminalSize determineTerminalSize();
/*!
* \brief The Indentation class allows printing indentation conveniently, eg. cout << Indentation(4) << ...

2
chrono/period.h

@ -50,7 +50,7 @@ constexpr int Period::days() const
return m_days;
}
DateTime CPP_UTILITIES_EXPORT operator+(DateTime begin, Period period);
CPP_UTILITIES_EXPORT DateTime operator+(DateTime begin, Period period);
} // namespace CppUtilities

Loading…
Cancel
Save