summaryrefslogtreecommitdiff
path: root/include/vcl/svapp.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2018-10-09 19:29:54 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2018-11-20 09:19:09 +0100
commit6cdfe5ebb4f6c06bfa8b0e67e778dd68131c14e3 (patch)
tree01380d838feb9158ef40302afc041cbaba5192e0 /include/vcl/svapp.hxx
parentd220e476df38e86e094066a690985c624316d37f (diff)
Drop some headless mode variants
This fixes OSX "make debugrun" by dropping VCL_HIDE_WINDOWS handling and removing the internal GetPseudoHeadless() API. While at it moves the DialogCancelMode enum out of Application. Change-Id: I4876e752ddbfc39dd44faa673fb0e97810089a75 Reviewed-on: https://gerrit.libreoffice.org/61598 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'include/vcl/svapp.hxx')
-rw-r--r--include/vcl/svapp.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index 7e7d4c205299..c66142b9035a 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -219,6 +219,12 @@ private:
std::vector<OUString> aData;
};
+enum class DialogCancelMode {
+ Off, ///< do not automatically cancel dialogs
+ Silent, ///< silently cancel any dialogs
+ Fatal ///< cancel any dialogs by std::abort
+};
+
/**
@brief Base class used mainly for the LibreOffice Desktop class.
@@ -236,12 +242,6 @@ private:
class VCL_DLLPUBLIC Application
{
public:
- enum class DialogCancelMode {
- Off, ///< do not automatically cancel dialogs
- Silent, ///< silently cancel any dialogs
- Fatal ///< cancel any dialogs by std::abort
- };
-
/** @name Initialization
The following functions perform initialization and deinitialization
of the application.