-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.hpp
More file actions
34 lines (27 loc) · 937 Bytes
/
mix.hpp
File metadata and controls
34 lines (27 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
#include <string>
#include <vector>
#include "plugin.hpp"
#include "panelnotifier.hpp"
struct Options {
int ExactMatch;
std::wstring TagMarker;
int StorePanelMode;
intptr_t PanelMode;
};
const wchar_t OptionExactMatch[] = L"ExactMatch";
const wchar_t OptionTagMarker[] = L"TagMarker";
const wchar_t OptionStorePanelMode[] = L"StorePanelMode";
const wchar_t OptionPanelMode[] = L"PanelMode";
extern struct PluginStartupInfo Info;
extern struct FarStandardFunctions FSF;
extern struct Options Opt;
extern PanelNotifier notifier;
int Config(const ConfigureInfo* CInfo);
const wchar_t *GetMsg(int MsgId);
std::vector<char> ucs2oem(const std::wstring &s);
std::vector<char> ucs2utf(const std::wstring &s);
std::wstring oem2ucs(const char *buf, size_t nChars);
std::wstring oem2ucs(const std::vector<char> &buf);
std::wstring utf2ucs(const char *buf, size_t nChars);
std::wstring utf2ucs(const std::vector<char> &buf);