2016-01-06 00:01:17 +09:00
|
|
|
#pragma once
|
|
|
|
|
2019-03-13 11:54:19 -04:00
|
|
|
// texthook/defs.h
|
2016-01-06 00:01:17 +09:00
|
|
|
// 8/23/2013 jichi
|
|
|
|
|
|
|
|
// Pipes
|
|
|
|
|
2018-11-04 04:00:14 -05:00
|
|
|
constexpr auto HOOK_PIPE = L"\\\\.\\pipe\\TEXTRACTOR_HOOK";
|
|
|
|
constexpr auto HOST_PIPE = L"\\\\.\\pipe\\TEXTRACTOR_HOST";
|
2016-01-06 00:01:17 +09:00
|
|
|
|
|
|
|
// Sections
|
|
|
|
|
2018-11-04 04:00:14 -05:00
|
|
|
constexpr auto ITH_SECTION_ = L"VNR_SECTION_"; // _%d
|
2016-01-06 00:01:17 +09:00
|
|
|
|
2019-02-16 22:51:10 -05:00
|
|
|
// Mutexes
|
2016-01-06 00:01:17 +09:00
|
|
|
|
2018-11-04 04:00:14 -05:00
|
|
|
constexpr auto ITH_HOOKMAN_MUTEX_ = L"VNR_HOOKMAN_"; // ITH_HOOKMAN_%d
|
2019-02-16 22:51:10 -05:00
|
|
|
constexpr auto CONNECTING_MUTEX = L"TEXTRACTOR_CONNECTING_PIPES";
|
|
|
|
|
|
|
|
// Events
|
|
|
|
|
|
|
|
constexpr auto PIPE_AVAILABLE_EVENT = L"TEXTRACTOR_PIPE_AVAILABLE";
|
2018-11-04 04:00:14 -05:00
|
|
|
|
|
|
|
// Files
|
|
|
|
|
2019-03-13 11:54:19 -04:00
|
|
|
constexpr auto ITH_DLL = L"texthook"; // .dll but LoadLibrary automatically adds that
|
2018-11-04 04:00:14 -05:00
|
|
|
constexpr auto CONFIG_FILE = u8"Textractor.ini";
|
|
|
|
|
2019-01-25 22:49:50 -05:00
|
|
|
// Misc
|
|
|
|
|
2019-02-12 19:54:15 -05:00
|
|
|
constexpr auto DEFAULT_EXTENSIONS = u8"Remove Repetition>Lua>Copy to Clipboard>Bing Translate>Extra Window>Extra Newlines";
|
2019-02-27 11:33:17 -05:00
|
|
|
constexpr auto WINDOW = u8"Window";
|
2019-01-25 22:49:50 -05:00
|
|
|
|
2016-01-06 00:01:17 +09:00
|
|
|
// EOF
|