diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-09-13 12:44:24 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-09-18 11:43:30 +0200 |
commit | 925e2edb6f3f8fffcff9eddb31ed18bc77e2a690 (patch) | |
tree | b7077dcf99051435d5de54146581b97fa6b6a33b /vcl/inc/osx | |
parent | 0c27134fb993b30e1a0ce827364c35f8fbaac359 (diff) |
Drop NSApplicationMain usage
Allows to drop all the special SVMain handling introduced for
MacOSX. This way LO can also be build via SSH, because gengal
won't abort / fail because of the missing window system.
Currently this just implements the global menu. I don't know
what else is missing. Eventually we want to reimplement the
Cocoa debug option forwarding (NSAccessibilityDebugLogLevel).
Change-Id: I359c46fd03e2436a8a37fd211e59e4e305f8aba0
Reviewed-on: https://gerrit.libreoffice.org/60571
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/inc/osx')
-rw-r--r-- | vcl/inc/osx/salinst.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/osx/salinst.h b/vcl/inc/osx/salinst.h index 60a542afcf9d..afb1d2b34aa3 100644 --- a/vcl/inc/osx/salinst.h +++ b/vcl/inc/osx/salinst.h @@ -90,6 +90,8 @@ public: AquaSalInstance(); virtual ~AquaSalInstance() override; + virtual void AfterAppInit() override; + virtual SalFrame* CreateChildFrame( SystemParentData* pParent, SalFrameStyleFlags nStyle ) override; virtual SalFrame* CreateFrame( SalFrame* pParent, SalFrameStyleFlags nStyle ) override; virtual void DestroyFrame( SalFrame* pFrame ) override; @@ -144,7 +146,6 @@ public: void endedPrintJob() { mnActivePrintJobs--; } // event subtypes for NSApplicationDefined events - static const short AppExecuteSVMain = 0x7fff; static const short AppEndLoopEvent = 1; static const short AppStartTimerEvent = 10; static const short YieldWakeupEvent = 20; |