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