Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelfmz <fenix1905@tut.by>2021-07-30 23:43:39 +0300
committerGitHub <noreply@github.com>2021-07-30 23:43:39 +0300
commitb391aaa6f314adee3b1f54b55a280dbbfc853772 (patch)
tree96ba5d3238122aa36e97d37e62db8c9f4cdb616a /python/configs
parent8a10f34b2db6a2f134a2cae2ac7356138994db3b (diff)
Asynchronous python plugin initialization (fix #1030) (#1043)
Diffstat (limited to 'python/configs')
-rw-r--r--python/configs/plug/far2l/plugin.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/configs/plug/far2l/plugin.hpp b/python/configs/plug/far2l/plugin.hpp
index fb417527..b8f83643 100644
--- a/python/configs/plug/far2l/plugin.hpp
+++ b/python/configs/plug/far2l/plugin.hpp
@@ -1824,12 +1824,13 @@ struct PluginStartupInfo
enum PLUGIN_FLAGS
{
- PF_PRELOAD = 0x0001,
+ PF_PRELOAD = 0x0001, // early dlopen and initialize plugin
PF_DISABLEPANELS = 0x0002,
PF_EDITOR = 0x0004,
PF_VIEWER = 0x0008,
PF_FULLCMDLINE = 0x0010,
PF_DIALOG = 0x0020,
+ PF_PREOPEN = 0x8000 // early dlopen plugin but initialize it later, when it will be really needed
};
struct PluginInfo