summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-03-30 13:12:34 +0300
committerTor Lillqvist <tml@collabora.com>2015-03-30 16:01:38 +0300
commit038d13ef848e0c773d531048637d760395a56d9f (patch)
tree2b6a5e97c5894f41802a642e7090f4b2fe7c3046 /vcl/win
parent3d177c7b6dae0af7d2e4822b3812757c9f65a0c3 (diff)
Introduce vcl::IsWindowSystemAvailable()
Change-Id: I6e3f804833db7487ddf7ba75c43d15017dcbe1ba
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/app/saldata.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/win/source/app/saldata.cxx b/vcl/win/source/app/saldata.cxx
index 821790beb0e9..7c70bfa17319 100644
--- a/vcl/win/source/app/saldata.cxx
+++ b/vcl/win/source/app/saldata.cxx
@@ -74,4 +74,15 @@ int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 )
return nRet;
}
+namespace vcl
+{
+
+bool IsWindowSystemAvailable()
+{
+ return true; // FIXME: we want this to return false if logged in
+ // to some Cygwin ssh session for instance
+}
+
+} // namespace vcl
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */