draft `far:about`: separate FarAbout() function
[far2l.git] / inside / src / Globals.h
blobaafe99e89d78d6091f6916aabc6fa6143e3810ff
1 #pragma once
2 #include <windows.h>
3 #include <sudo.h>
4 #include <string>
5 #include <vector>
6 #include <farplug-mb.h>
7 using namespace oldfar;
8 #include "lng.h"
10 extern struct Globals
12 enum {
13 MAX_COMMAND_PREFIX = 50
15 std::string plugin_path;
16 std::string command_prefix;
17 std::vector<std::string> configs;
18 struct PluginStartupInfo info;
20 void Startup(const struct PluginStartupInfo *Info);
22 inline bool IsStarted() const {return _started; }
24 const char *GetMsg(int id);
26 private:
27 bool _started = false;
28 } G;