Kaydet (Commit) 2a4af0e2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bypass X11-specific code if not on X11

Change-Id: I6452191b11b197b0f90ae6638019d3bc6db67ad7
üst e0c2dd69
...@@ -146,9 +146,9 @@ int SalGenericSystem::ShowNativeMessageBox( const OUString& rTitle, const OUStri ...@@ -146,9 +146,9 @@ int SalGenericSystem::ShowNativeMessageBox( const OUString& rTitle, const OUStri
return nResult != -1 ? nButtonIds[ nResult ] : 0; return nResult != -1 ? nButtonIds[ nResult ] : 0;
} }
// ------------------------------------------------------------------------ #if !defined(ANDROID) && !defined(IOS)
// Helpers primarily for X Windowing derivatives
// ------------------------------------------------------------------------ // X11-specific
const char* SalGenericSystem::getFrameResName() const char* SalGenericSystem::getFrameResName()
{ {
...@@ -213,4 +213,6 @@ OString SalGenericSystem::getFrameResName( SalExtStyle nStyle ) ...@@ -213,4 +213,6 @@ OString SalGenericSystem::getFrameResName( SalExtStyle nStyle )
return aBuf.makeStringAndClear(); return aBuf.makeStringAndClear();
} }
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -43,10 +43,12 @@ class VCL_DLLPUBLIC SalGenericSystem : public SalSystem ...@@ -43,10 +43,12 @@ class VCL_DLLPUBLIC SalGenericSystem : public SalSystem
int nButtonCombination, int nButtonCombination,
int nDefaultButton, bool bUseResources); int nDefaultButton, bool bUseResources);
// simple helpers primarily for X Windowing W_CLASS hints #if !defined(ANDROID) && !defined(IOS)
// Simple helpers for X11 WM_CLASS hints
static const char *getFrameResName(); static const char *getFrameResName();
static const char *getFrameClassName(); static const char *getFrameClassName();
static rtl::OString getFrameResName( SalExtStyle nStyle ); static rtl::OString getFrameResName( SalExtStyle nStyle );
#endif
}; };
#endif // _SV_GENSYS_H #endif // _SV_GENSYS_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment