Textractor_test/include/defs.h

36 lines
837 B
C
Raw Normal View History

#pragma once
2019-03-13 23:54:19 +08:00
// texthook/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";
// Sections
2018-11-04 17:00:14 +08:00
constexpr auto ITH_SECTION_ = L"VNR_SECTION_"; // _%d
// Mutexes
2018-11-04 17:00:14 +08:00
constexpr auto ITH_HOOKMAN_MUTEX_ = L"VNR_HOOKMAN_"; // ITH_HOOKMAN_%d
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
2019-03-13 23:54:19 +08:00
constexpr auto ITH_DLL = L"texthook"; // .dll but LoadLibrary automatically adds that
2018-11-04 17:00:14 +08:00
constexpr auto CONFIG_FILE = u8"Textractor.ini";
// 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";
2019-03-25 11:01:09 +08:00
#define CURRENT_VERSION "3.0.1"
// EOF