Commands for working with the server have been added to the Server submenu.

This commit is contained in:
lsv 2026-04-24 16:44:07 +05:00
parent b292d82661
commit d1fc3e11d4
3 changed files with 24 additions and 11 deletions

View file

@ -181,6 +181,10 @@ public:
{
return pluginsMenu;
}
wxMenu *GetServerMenu()
{
return serverMenu;
}
FunctionPGHelper * GetFunctionPGHelper()
{
return &hhelp;
@ -226,7 +230,8 @@ private:
ctlAuiNotebook *listViews;
ctlSQLBox *sqlPane;
wxMenu *newMenu, *debuggingMenu, *reportMenu, *toolsMenu, *pluginsMenu, *viewMenu,
*treeContextMenu, *newContextMenu, *slonyMenu, *scriptingMenu, *viewDataMenu;
*treeContextMenu, *newContextMenu, *slonyMenu, *scriptingMenu, *viewDataMenu,
*serverMenu;
pgServerCollection *serversObj;
dlgShortCut *dlgshrcut;
pluginUtilityFactory *lastPluginUtility;
@ -238,6 +243,7 @@ private:
actionFactory *reportMenuFactory;
actionFactory *scriptingMenuFactory;
actionFactory *viewdataMenuFactory;
actionFactory *serverMenuFactory;
wxStopWatch stopwatch;
wxString timermsg;