|
LibreOffice Module sfx2 (master) 1
|
#include <unotools/moduleoptions.hxx>#include <unotools/dynamicmenuoptions.hxx>#include <unotools/historyoptions.hxx>#include <rtl/ustring.hxx>#include <tools/urlobj.hxx>#include <osl/file.h>#include <osl/diagnose.h>#include <comphelper/sequenceashashmap.hxx>#include <sfx2/app.hxx>#include <sal/macros.h>#include <sfx2/sfxresid.hxx>#include <sfx2/strings.hrc>#include <vcl/svapp.hxx>#include "shutdownicon.hxx"#include <com/sun/star/util/XStringWidth.hpp>#include <cppuhelper/implbase.hxx>#include <set>#include <vector>#include <premac.h>#include <objc/objc-runtime.h>#include <Cocoa/Cocoa.h>#include <postmac.h>Go to the source code of this file.
Classes | |
| class | QSMenuExecute |
| class | RecentMenuDelegate |
Macros | |
| #define | MI_OPEN 1 |
| #define | MI_WRITER 2 |
| #define | MI_CALC 3 |
| #define | MI_IMPRESS 4 |
| #define | MI_DRAW 5 |
| #define | MI_BASE 6 |
| #define | MI_MATH 7 |
| #define | MI_TEMPLATE 8 |
| #define | MI_STARTMODULE 9 |
Functions | |
| static NSString * | getAutoreleasedString (const OUString &rStr) |
| static OUString | getShortCut (const OUString &i_rTitle) |
| static void | appendMenuItem (NSMenu *i_pMenu, NSMenu *i_pDockMenu, const OUString &i_rTitle, int i_nTag, const OUString &i_rKeyEquiv) |
| static void | appendRecentMenu (NSMenu *i_pMenu, const OUString &i_rTitle) |
| void | aqua_init_systray () |
| void SAL_DLLPUBLIC_EXPORT | aqua_shutdown_systray () |
Variables | |
| static NSMenuItem * | pDefMenu = nil |
| static NSMenuItem * | pDockSubMenu = nil |
| static QSMenuExecute * | pExecute = nil |
| static std::set< OUString > | aShortcuts |
| static RecentMenuDelegate * | pRecentDelegate = nil |
| #define MI_BASE 6 |
Definition at line 53 of file shutdowniconaqua.mm.
| #define MI_CALC 3 |
Definition at line 50 of file shutdowniconaqua.mm.
| #define MI_DRAW 5 |
Definition at line 52 of file shutdowniconaqua.mm.
| #define MI_IMPRESS 4 |
Definition at line 51 of file shutdowniconaqua.mm.
| #define MI_MATH 7 |
Definition at line 54 of file shutdowniconaqua.mm.
| #define MI_OPEN 1 |
Definition at line 48 of file shutdowniconaqua.mm.
| #define MI_STARTMODULE 9 |
Definition at line 56 of file shutdowniconaqua.mm.
| #define MI_TEMPLATE 8 |
Definition at line 55 of file shutdowniconaqua.mm.
| #define MI_WRITER 2 |
Definition at line 49 of file shutdowniconaqua.mm.
|
static |
Definition at line 303 of file shutdowniconaqua.mm.
Referenced by aqua_init_systray().
|
static |
Definition at line 331 of file shutdowniconaqua.mm.
References pRecentDelegate.
Referenced by aqua_init_systray().
| void aqua_init_systray | ( | ) |
Definition at line 353 of file shutdowniconaqua.mm.
References ShutdownIcon::addTerminateListener(), appendMenuItem(), appendRecentMenu(), aShortcuts, BASE_URL, SvtModuleOptions::CALC, CALC_URL, SvtModuleOptions::DATABASE, SvtModuleOptions::DRAW, DRAW_URL, ShutdownIcon::getInstance(), SvtDynamicMenuOptions::GetMenu(), getShortCut(), ShutdownIcon::GetUrlDescription(), i, SvtModuleOptions::IMPRESS, IMPRESS_WIZARD_URL, SvtModuleOptions::IsModuleInstalled(), SvtModuleOptions::MATH, MATH_URL, MI_BASE, MI_CALC, MI_DRAW, MI_IMPRESS, MI_MATH, MI_OPEN, MI_STARTMODULE, MI_TEMPLATE, MI_WRITER, pDefMenu, pDockSubMenu, pExecute, SAL_N_ELEMENTS, ShutdownIcon::SetVeto(), SfxResId(), SvtModuleOptions::STARTMODULE, SvtModuleOptions::WRITER, and WRITER_URL.
Referenced by ShutdownIcon::initSystray().
| void SAL_DLLPUBLIC_EXPORT aqua_shutdown_systray | ( | ) |
Definition at line 465 of file shutdowniconaqua.mm.
Referenced by ShutdownIcon::deInitSystray().
|
static |
Definition at line 121 of file shutdowniconaqua.mm.
|
static |
Definition at line 285 of file shutdowniconaqua.mm.
References aShortcuts, and nIndex.
Referenced by aqua_init_systray().
|
static |
Definition at line 119 of file shutdowniconaqua.mm.
Referenced by aqua_init_systray(), and getShortCut().
|
static |
Definition at line 116 of file shutdowniconaqua.mm.
Referenced by aqua_init_systray().
|
static |
Definition at line 116 of file shutdowniconaqua.mm.
Referenced by aqua_init_systray().
|
static |
Definition at line 117 of file shutdowniconaqua.mm.
Referenced by aqua_init_systray().
|
static |
Definition at line 283 of file shutdowniconaqua.mm.
Referenced by appendRecentMenu().