summaryrefslogtreecommitdiff
path: root/include/vcl/svapp.hxx
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 20:51:05 +0100
commitdf5a73a9e3d44dd8a0af8c61552cdc14ca83bf2d (patch)
tree1f9935ebf2b7fe06cafb1ecb652e20aff1f7265a /include/vcl/svapp.hxx
parent34c1b7bdd0bca4753f66a7d17ef46647a64a319e (diff)
vcl: add a console-only mode to avoid problems on Mac for gengal.
Change-Id: Ie5332330e6f398c3cd7e58df9b12fac121f5426f
Diffstat (limited to 'include/vcl/svapp.hxx')
-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 c182a0bdc93f..c67a1890e7fd 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -308,8 +308,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);