summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/app/sm.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-06-19 13:14:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-06-20 14:44:05 +0200
commit5c9872de884bcc3f1ec7cd6901b9440eec270d6d (patch)
tree94cc4d0a09a379dbef830be33890d48fb7c9a9a5 /vcl/unx/generic/app/sm.cxx
parent34a3f6e8b7604612749d4f700a5db6d380bd0829 (diff)
Move IceSalSession declaration to sm.cxx
Change-Id: I532e27b873e011aacebc1dd405de6d2e182ca3d4
Diffstat (limited to 'vcl/unx/generic/app/sm.cxx')
-rw-r--r--vcl/unx/generic/app/sm.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx
index 1f8debf3e209..8ba6e9cd2082 100644
--- a/vcl/unx/generic/app/sm.cxx
+++ b/vcl/unx/generic/app/sm.cxx
@@ -56,6 +56,24 @@
#include <vcl/svapp.hxx>
#include <vcl/window.hxx>
+#include "salsession.hxx"
+
+namespace {
+
+class IceSalSession : public SalSession
+{
+public:
+ IceSalSession();
+ virtual ~IceSalSession();
+
+ virtual void queryInteraction();
+ virtual void interactionDone();
+ virtual void saveDone();
+ virtual bool cancelShutdown();
+};
+
+}
+
SalSession* X11SalInstance::CreateSalSession()
{
SalSession * p = new IceSalSession;