summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-06-04 18:29:42 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-06-04 21:31:25 +0100
commit4877a2304334909e8597b719e98144a1140e23ee (patch)
tree43dd9c7e8375cd24e2dff5ebaa94160b9d920843 /include
parent5262fb38adc23ef9b96882bfdee175bcdb3b8b99 (diff)
vcl: add a console-only mode to avoid problems on Mac for gengal.
Change-Id: Ie5332330e6f398c3cd7e58df9b12fac121f5426f
Diffstat (limited to 'include')
-rw-r--r--include/vcl/svapp.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index ffe228e453d5..1ee4c7dcdd0d 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -318,8 +318,12 @@ public:
static void EnableHeadlessMode( bool dialogsAreFatal );
static sal_Bool IsHeadlessModeEnabled();
+ /// check command line arguments for --headless
static bool IsHeadlessModeRequested();
- ///< check command line arguments for --headless
+ /// used to disable Mac specific app init that requires an app bundle
+ static void EnableConsoleOnly();
+ /// used to see if Mac specific app init has been disabled
+ static bool IsConsoleOnly();
static void ShowNativeErrorBox(const String& sTitle ,
const String& sMessage);