From 038d13ef848e0c773d531048637d760395a56d9f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 30 Mar 2015 13:12:34 +0300 Subject: Introduce vcl::IsWindowSystemAvailable() Change-Id: I6e3f804833db7487ddf7ba75c43d15017dcbe1ba --- vcl/win/source/app/saldata.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'vcl/win') 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: */ -- cgit