minor fixes
This commit is contained in:
parent
a64fa9b3dd
commit
241d5906e4
@ -15,4 +15,4 @@ add_executable(${PROJECT_NAME} WIN32
|
|||||||
)
|
)
|
||||||
target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp)
|
target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp)
|
||||||
|
|
||||||
#install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds
|
install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
struct Extension
|
struct Extension
|
||||||
{
|
{
|
||||||
std::wstring name;
|
std::wstring name;
|
||||||
|
@ -10,9 +10,9 @@ public:
|
|||||||
int delay;
|
int delay;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
inline static HANDLE DUMMY;
|
||||||
std::atomic<int> requestsLeft;
|
std::atomic<int> requestsLeft;
|
||||||
AutoHandle<Functor<DeleteTimerQueue>> timerQueue = CreateTimerQueue();
|
AutoHandle<Functor<DeleteTimerQueue>> timerQueue = CreateTimerQueue();
|
||||||
HANDLE DUMMY;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inline std::wstring StringToWideString(const std::string& text)
|
inline std::wstring StringToWideString(const std::string& text)
|
||||||
|
@ -65,7 +65,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#define TEST(...) inline AutoHandle<> TEST__RUNNER__DUMMY = CreateThread(nullptr, 0, [](auto) { __VA_ARGS__; return 0UL; }, NULL, 0, nullptr);
|
#define TEST(...) inline auto TEST__RUNNER__DUMMY = CreateThread(nullptr, 0, [](auto) { __VA_ARGS__; return 0UL; }, NULL, 0, nullptr);
|
||||||
#else
|
#else
|
||||||
#define TEST(...)
|
#define TEST(...)
|
||||||
#endif
|
#endif
|
||||||
|
3
text.cpp
3
text.cpp
@ -114,8 +114,7 @@ Replacement commands must be formatted like this:
|
|||||||
|ORIG|original_text|BECOMES|replacement_text|END|
|
|ORIG|original_text|BECOMES|replacement_text|END|
|
||||||
All text in this file outside of a replacement command is ignored.
|
All text in this file outside of a replacement command is ignored.
|
||||||
Whitespace in original_text is ignored, but replacement_text can contain spaces, newlines, etc.
|
Whitespace in original_text is ignored, but replacement_text can contain spaces, newlines, etc.
|
||||||
This file must be encoded in Unicode (UTF-16 little endian).
|
This file must be encoded in Unicode (UTF-16 little endian).)";
|
||||||
)";
|
|
||||||
const char* THREAD_LINKER = u8"Thread Linker";
|
const char* THREAD_LINKER = u8"Thread Linker";
|
||||||
const char* LINK = u8"Link";
|
const char* LINK = u8"Link";
|
||||||
const char* THREAD_LINK_FROM = u8"Thread number to link from";
|
const char* THREAD_LINK_FROM = u8"Thread number to link from";
|
||||||
|
Loading…
Reference in New Issue
Block a user