From ebdaace0025749dd68a1cef7d0fd83b596861edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Sun, 3 Jan 2016 13:48:39 +0100 Subject: Lua: Added reload_lua_plugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes it possible to trigger reloading Lua plugins from within a Lua plugin. This can be used when having a plugin to update local plugins from a external source. Renamed reload() to reload_packets() to clarify what's reloaded, and added a alias (marked as obsoleted) from reload(). Change-Id: I4e529992af5f651613950329e73718dbda317d2e Reviewed-on: https://code.wireshark.org/review/13024 Petri-Dish: Stig Bjørlykke Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke --- ui/qt/main_window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/qt/main_window.h') diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index aacbb46aa3..3291ee33d7 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -288,6 +288,7 @@ private slots: void redissectPackets(); void checkDisplayFilter(); void fieldsChanged(); + void reloadLuaPlugins(); void showAccordionFrame(AccordionFrame *show_frame, bool toggle = false); void showColumnEditor(int column); void showPreferenceEditor(); // module_t *, pref * -- cgit v1.2.1