LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WinSalInstance Class Reference

#include <salinst.h>

Inheritance diagram for WinSalInstance:
[legend]
Collaboration diagram for WinSalInstance:
[legend]

Public Member Functions

 WinSalInstance ()
 
virtual ~WinSalInstance () override
 
virtual SalFrameCreateChildFrame (SystemParentData *pParent, SalFrameStyleFlags nStyle) override
 
virtual SalFrameCreateFrame (SalFrame *pParent, SalFrameStyleFlags nStyle) override
 
virtual void DestroyFrame (SalFrame *pFrame) override
 
virtual SalObjectCreateObject (SalFrame *pParent, SystemWindowData *pWindowData, bool bShow) override
 
virtual void DestroyObject (SalObject *pObject) override
 
virtual std::unique_ptr< SalVirtualDeviceCreateVirtualDevice (SalGraphics *pGraphics, long &nDX, long &nDY, DeviceFormat eFormat, const SystemGraphicsData *pData=nullptr) override
 
virtual SalInfoPrinterCreateInfoPrinter (SalPrinterQueueInfo *pQueueInfo, ImplJobSetup *pSetupData) override
 
virtual void DestroyInfoPrinter (SalInfoPrinter *pPrinter) override
 
virtual std::unique_ptr< SalPrinterCreatePrinter (SalInfoPrinter *pInfoPrinter) override
 
virtual void GetPrinterQueueInfo (ImplPrnQueueList *pList) override
 
virtual void GetPrinterQueueState (SalPrinterQueueInfo *pInfo) override
 
virtual OUString GetDefaultPrinter () override
 
virtual SalTimerCreateSalTimer () override
 
virtual SalSystemCreateSalSystem () override
 
virtual std::shared_ptr< SalBitmapCreateSalBitmap () override
 
virtual bool IsMainThread () const override
 
virtual bool DoYield (bool bWait, bool bHandleAllCurrentEvents) override
 Wait for the next event (if bWait) and dispatch it, includes posted events, and timers. More...
 
virtual bool AnyInput (VclInputFlags nType) override
 
virtual std::unique_ptr< SalMenuCreateMenu (bool bMenuBar, Menu *) override
 
virtual std::unique_ptr< SalMenuItemCreateMenuItem (const SalItemParams &rItemData) override
 
virtual OpenGLContextCreateOpenGLContext () override
 
virtual OUString GetConnectionIdentifier () override
 
virtual void AddToRecentDocumentList (const OUString &rFileUrl, const OUString &rMimeType, const OUString &rDocumentService) override
 
virtual OUString getOSVersion () override
 get information about underlying versions More...
 
- Public Member Functions inherited from SalInstance
 SalInstance (std::unique_ptr< comphelper::SolarMutex > pMutex)
 
virtual ~SalInstance ()
 
virtual void AfterAppInit ()
 
virtual bool SVMainHook (int *)
 
virtual std::unique_ptr< SalI18NImeStatusCreateI18NImeStatus ()
 
virtual std::shared_ptr< vcl::BackendCapabilitiesGetBackendCapabilities ()
 
comphelper::SolarMutexGetYieldMutex ()
 
sal_uInt32 ReleaseYieldMutexAll ()
 
void AcquireYieldMutex (sal_uInt32 nCount=1)
 
virtual std::unique_ptr< SalSessionCreateSalSession ()
 
virtual weld::BuilderCreateBuilder (weld::Widget *pParent, const OUString &rUIRoot, const OUString &rUIFile)
 
virtual weld::MessageDialogCreateMessageDialog (weld::Widget *pParent, VclMessageType eMessageType, VclButtonsType eButtonType, const OUString &rPrimaryMessage)
 
virtual weld::WindowGetFrameWeld (const css::uno::Reference< css::awt::XWindow > &rWindow)
 
void SetEventCallback (rtl::Reference< vcl::DisplayConnectionDispatch > const &pInstance)
 
bool CallEventCallback (void const *pEvent, int nBytes)
 
virtual css::uno::Reference< css::uno::XInterface > CreateClipboard (const css::uno::Sequence< css::uno::Any > &i_rArguments)
 
virtual css::uno::Reference< css::uno::XInterface > CreateDragSource ()
 
virtual css::uno::Reference< css::uno::XInterface > CreateDropTarget ()
 
virtual bool hasNativeFileSelection () const
 
virtual css::uno::Reference< css::ui::dialogs::XFilePicker2 > createFilePicker (const css::uno::Reference< css::uno::XComponentContext > &)
 
virtual css::uno::Reference< css::ui::dialogs::XFolderPicker2 > createFolderPicker (const css::uno::Reference< css::uno::XComponentContext > &)
 
virtual void updatePrinterUpdate ()
 
virtual void jobStartedPrinterUpdate ()
 
virtual void jobEndedPrinterUpdate ()
 
virtual void updateMainThread ()
 
virtual const cairo_font_options_tGetCairoFontOptions ()
 
virtual voidCreateGStreamerSink (const SystemChildWindow *)
 

Static Public Member Functions

static int WorkaroundExceptionHandlingInUSER32Lib (int nExcept, LPEXCEPTION_POINTERS pExceptionInfo)
 
- Static Public Member Functions inherited from SalInstance
static weld::BuilderCreateInterimBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile)
 

Public Attributes

HINSTANCE mhInst
 Instance Handle. More...
 
HWND mhComWnd
 invisible Window so non-main threads can SendMessage() the main thread More...
 
osl::Condition maWaitingYieldCond
 
unsigned m_nNoYieldLock
 

Detailed Description

Definition at line 31 of file win/salinst.h.

Constructor & Destructor Documentation

WinSalInstance::WinSalInstance ( )
virtual WinSalInstance::~WinSalInstance ( )
overridevirtual

Member Function Documentation

virtual void WinSalInstance::AddToRecentDocumentList ( const OUString &  rFileUrl,
const OUString &  rMimeType,
const OUString &  rDocumentService 
)
overridevirtual

Implements SalInstance.

virtual bool WinSalInstance::AnyInput ( VclInputFlags  nType)
overridevirtual

Implements SalInstance.

virtual SalFrame* WinSalInstance::CreateChildFrame ( SystemParentData pParent,
SalFrameStyleFlags  nStyle 
)
overridevirtual

Implements SalInstance.

virtual SalFrame* WinSalInstance::CreateFrame ( SalFrame pParent,
SalFrameStyleFlags  nStyle 
)
overridevirtual

Implements SalInstance.

virtual SalInfoPrinter* WinSalInstance::CreateInfoPrinter ( SalPrinterQueueInfo pQueueInfo,
ImplJobSetup pSetupData 
)
overridevirtual

Implements SalInstance.

virtual std::unique_ptr<SalMenu> WinSalInstance::CreateMenu ( bool  bMenuBar,
Menu  
)
overridevirtual

Reimplemented from SalInstance.

virtual std::unique_ptr<SalMenuItem> WinSalInstance::CreateMenuItem ( const SalItemParams rItemData)
overridevirtual

Reimplemented from SalInstance.

virtual SalObject* WinSalInstance::CreateObject ( SalFrame pParent,
SystemWindowData pWindowData,
bool  bShow 
)
overridevirtual

Implements SalInstance.

virtual OpenGLContext* WinSalInstance::CreateOpenGLContext ( )
overridevirtual

Implements SalInstance.

virtual std::unique_ptr<SalPrinter> WinSalInstance::CreatePrinter ( SalInfoPrinter pInfoPrinter)
overridevirtual

Implements SalInstance.

virtual std::shared_ptr<SalBitmap> WinSalInstance::CreateSalBitmap ( )
overridevirtual

Implements SalInstance.

virtual SalSystem* WinSalInstance::CreateSalSystem ( )
overridevirtual

Implements SalInstance.

virtual SalTimer* WinSalInstance::CreateSalTimer ( )
overridevirtual

Implements SalInstance.

virtual std::unique_ptr<SalVirtualDevice> WinSalInstance::CreateVirtualDevice ( SalGraphics pGraphics,
long &  nDX,
long &  nDY,
DeviceFormat  eFormat,
const SystemGraphicsData pData = nullptr 
)
overridevirtual

Implements SalInstance.

virtual void WinSalInstance::DestroyFrame ( SalFrame pFrame)
overridevirtual

Implements SalInstance.

virtual void WinSalInstance::DestroyInfoPrinter ( SalInfoPrinter pPrinter)
overridevirtual

Implements SalInstance.

virtual void WinSalInstance::DestroyObject ( SalObject pObject)
overridevirtual

Implements SalInstance.

virtual bool WinSalInstance::DoYield ( bool  bWait,
bool  bHandleAllCurrentEvents 
)
overridevirtual

Wait for the next event (if bWait) and dispatch it, includes posted events, and timers.

If bHandleAllCurrentEvents - dispatch multiple posted user events. Returns true if events were processed.

Implements SalInstance.

virtual OUString WinSalInstance::GetConnectionIdentifier ( )
overridevirtual

Implements SalInstance.

virtual OUString WinSalInstance::GetDefaultPrinter ( )
overridevirtual

Implements SalInstance.

virtual OUString WinSalInstance::getOSVersion ( )
overridevirtual

get information about underlying versions

Reimplemented from SalInstance.

virtual void WinSalInstance::GetPrinterQueueInfo ( ImplPrnQueueList pList)
overridevirtual

Implements SalInstance.

virtual void WinSalInstance::GetPrinterQueueState ( SalPrinterQueueInfo pInfo)
overridevirtual

Implements SalInstance.

virtual bool WinSalInstance::IsMainThread ( ) const
overridevirtual

Implements SalInstance.

static int WinSalInstance::WorkaroundExceptionHandlingInUSER32Lib ( int  nExcept,
LPEXCEPTION_POINTERS  pExceptionInfo 
)
static

Member Data Documentation

unsigned WinSalInstance::m_nNoYieldLock

Definition at line 40 of file win/salinst.h.

osl::Condition WinSalInstance::maWaitingYieldCond

Definition at line 39 of file win/salinst.h.

HWND WinSalInstance::mhComWnd

invisible Window so non-main threads can SendMessage() the main thread

Definition at line 37 of file win/salinst.h.

HINSTANCE WinSalInstance::mhInst

Instance Handle.

Definition at line 35 of file win/salinst.h.


The documentation for this class was generated from the following file: