| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Slots | Public Member Functions | List of all members
LuaDebuggerLuaReloadCoordinator Class Reference

Coordinates Lua plugin reload: pre/post core callbacks, deferred reload after pause, toolbar checkbox chrome, and refreshing open script tabs from disk. More...

`#include <lua_debugger_dialog.h>`

Inheritance diagram for LuaDebuggerLuaReloadCoordinator:

## Public Slots
void | onReloadLuaPluginsRequested ()
| Slot triggered when a request to reload Lua plugins is made.

## Public Member Functions
| LuaDebuggerLuaReloadCoordinator (LuaDebuggerDialog *host)
| Constructs a LuaDebuggerLuaReloadCoordinator.
void | handlePreReload ()
| Handles actions required before a Lua plugin reload.
void | handlePostReload ()
| Handles actions required after a Lua plugin reload.
bool | takeDeferredReload ()
| If reloadDeferred_ was set, clear it and return true.

## Detailed Description

Coordinates Lua plugin reload: pre/post core callbacks, deferred reload after pause, toolbar checkbox chrome, and refreshing open script tabs from disk.

## Constructor & Destructor Documentation

## ◆ LuaDebuggerLuaReloadCoordinator()

LuaDebuggerLuaReloadCoordinator::LuaDebuggerLuaReloadCoordinator | ( | LuaDebuggerDialog * | host | ) |
| explicit

Constructs a LuaDebuggerLuaReloadCoordinator.

Parameters

  host | Pointer to the host debugger dialog.

## Member Function Documentation

## ◆ takeDeferredReload()

bool LuaDebuggerLuaReloadCoordinator::takeDeferredReload | ( |  | ) |

If reloadDeferred_ was set, clear it and return true.

Returns
  True if a reload was deferred, false otherwise.

The documentation for this class was generated from the following files:

- /builds/wireshark/wireshark/ui/qt/lua_debugger/lua_debugger_dialog.h
- /builds/wireshark/wireshark/ui/qt/lua_debugger/lua_debugger_dialog.cpp