LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
SalGenericInstance Class Referenceabstract

#include <geninst.h>

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

Public Member Functions

 SalGenericInstance (std::unique_ptr< comphelper::SolarMutex > pMutex)
 
virtual ~SalGenericInstance () 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 void PostPrintersChanged ()=0
 
virtual void updatePrinterUpdate () override
 
virtual void jobStartedPrinterUpdate () override
 
virtual void jobEndedPrinterUpdate () override
 
bool isPrinterInit () const
 
virtual std::unique_ptr< GenPspGraphicsCreatePrintGraphics ()=0
 
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 ()
 
bool supportsBitmap32 () const
 
bool supportsOpenGL () const
 
virtual void AfterAppInit ()
 
virtual bool SVMainHook (int *)
 
virtual SalFrameCreateChildFrame (SystemParentData *pParent, SalFrameStyleFlags nStyle)=0
 
virtual SalFrameCreateFrame (SalFrame *pParent, SalFrameStyleFlags nStyle)=0
 
virtual void DestroyFrame (SalFrame *pFrame)=0
 
virtual SalObjectCreateObject (SalFrame *pParent, SystemWindowData *pWindowData, bool bShow)=0
 
virtual void DestroyObject (SalObject *pObject)=0
 
virtual std::unique_ptr< SalVirtualDeviceCreateVirtualDevice (SalGraphics &rGraphics, tools::Long &rDX, tools::Long &rDY, DeviceFormat eFormat, const SystemGraphicsData *pData=nullptr)=0
 
virtual SalInfoPrinterCreateInfoPrinter (SalPrinterQueueInfo *pQueueInfo, ImplJobSetup *pSetupData)=0
 
virtual void DestroyInfoPrinter (SalInfoPrinter *pPrinter)=0
 
virtual std::unique_ptr< SalPrinterCreatePrinter (SalInfoPrinter *pInfoPrinter)=0
 
virtual void GetPrinterQueueInfo (ImplPrnQueueList *pList)=0
 
virtual void GetPrinterQueueState (SalPrinterQueueInfo *pInfo)=0
 
virtual OUString GetDefaultPrinter ()=0
 
virtual SalTimerCreateSalTimer ()=0
 
virtual SalSystemCreateSalSystem ()=0
 
virtual std::shared_ptr< SalBitmapCreateSalBitmap ()=0
 
comphelper::SolarMutexGetYieldMutex ()
 
sal_uInt32 ReleaseYieldMutexAll ()
 
void AcquireYieldMutex (sal_uInt32 nCount=1)
 
virtual bool IsMainThread () const =0
 
virtual bool DoYield (bool bWait, bool bHandleAllCurrentEvents)=0
 Wait for the next event (if bWait) and dispatch it, includes posted events, and timers. More...
 
virtual bool AnyInput (VclInputFlags nType)=0
 
virtual std::unique_ptr< SalMenuCreateMenu (bool bMenuBar, Menu *pMenu)
 
virtual std::unique_ptr< SalMenuItemCreateMenuItem (const SalItemParams &pItemData)
 
virtual std::unique_ptr< SalSessionCreateSalSession ()
 
virtual OpenGLContextCreateOpenGLContext ()
 
virtual std::unique_ptr< weld::BuilderCreateBuilder (weld::Widget *pParent, const OUString &rUIRoot, const OUString &rUIFile)
 
virtual std::unique_ptr< weld::BuilderCreateInterimBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile, bool bAllowCycleFocusOut, sal_uInt64 nLOKWindowId=0)
 
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 OUString GetConnectionIdentifier ()=0
 
virtual css::uno::Reference< css::uno::XInterface > CreateClipboard (const css::uno::Sequence< css::uno::Any > &i_rArguments)
 
virtual css::uno::Reference< css::uno::XInterface > ImplCreateDragSource (const SystemEnvData *)
 
virtual css::uno::Reference< css::uno::XInterface > ImplCreateDropTarget (const SystemEnvData *)
 
css::uno::Reference< css::uno::XInterface > CreateDragSource (const SystemEnvData *=nullptr)
 
css::uno::Reference< css::uno::XInterface > CreateDropTarget (const SystemEnvData *=nullptr)
 
virtual void AddToRecentDocumentList (const OUString &rFileUrl, const OUString &rMimeType, const OUString &rDocumentService)=0
 
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 ()
 Set the app's (somewhat) magic/main-thread to this one. More...
 
virtual void releaseMainThread ()
 Disconnect that - good for detaching from the JavaVM on Android. More...
 
virtual OUString getOSVersion ()
 get information about underlying versions More...
 
virtual const cairo_font_options_tGetCairoFontOptions ()
 
virtual void * CreateGStreamerSink (const SystemChildWindow *)
 
virtual void BeforeAbort (const OUString &, bool)
 
virtual bool DoExecute (int &nExitCode)
 
virtual void DoQuit ()
 

Static Public Member Functions

static void RegisterFontSubstitutors (vcl::font::PhysicalFontCollection *pFontCollection)
 
- Static Public Member Functions inherited from SalInstance
static bool IsRunningUnitTest ()
 

Static Protected Member Functions

static void configurePspInfoPrinter (PspSalInfoPrinter *pInfoPrinter, SalPrinterQueueInfo const *pQueueInfo, ImplJobSetup *pSetupData)
 

Protected Attributes

bool mbPrinterInit
 
- Protected Attributes inherited from SalInstance
bool m_bSupportsBitmap32 = false
 
bool m_bSupportsOpenGL = false
 

Detailed Description

Definition at line 46 of file geninst.h.

Constructor & Destructor Documentation

◆ SalGenericInstance()

SalGenericInstance::SalGenericInstance ( std::unique_ptr< comphelper::SolarMutex pMutex)
inline

Definition at line 52 of file geninst.h.

◆ ~SalGenericInstance()

virtual SalGenericInstance::~SalGenericInstance ( )
overridevirtual

Member Function Documentation

◆ configurePspInfoPrinter()

static void SalGenericInstance::configurePspInfoPrinter ( PspSalInfoPrinter pInfoPrinter,
SalPrinterQueueInfo const *  pQueueInfo,
ImplJobSetup pSetupData 
)
staticprotected

◆ CreateInfoPrinter()

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

Implements SalInstance.

Reimplemented in GtkInstance, SvpSalInstance, and QtInstance.

◆ CreatePrinter()

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

Implements SalInstance.

Reimplemented in SvpSalInstance, QtInstance, and GtkInstance.

◆ CreatePrintGraphics()

virtual std::unique_ptr< GenPspGraphics > SalGenericInstance::CreatePrintGraphics ( )
pure virtual

◆ DestroyInfoPrinter()

virtual void SalGenericInstance::DestroyInfoPrinter ( SalInfoPrinter pPrinter)
overridevirtual

Implements SalInstance.

Reimplemented in SvpSalInstance, and QtInstance.

◆ GetDefaultPrinter()

virtual OUString SalGenericInstance::GetDefaultPrinter ( )
overridevirtual

Implements SalInstance.

Reimplemented in SvpSalInstance, and QtInstance.

◆ getOSVersion()

virtual OUString SalGenericInstance::getOSVersion ( )
overridevirtual

get information about underlying versions

Reimplemented from SalInstance.

◆ GetPrinterQueueInfo()

virtual void SalGenericInstance::GetPrinterQueueInfo ( ImplPrnQueueList pList)
overridevirtual

Implements SalInstance.

Reimplemented in SvpSalInstance, and QtInstance.

◆ GetPrinterQueueState()

virtual void SalGenericInstance::GetPrinterQueueState ( SalPrinterQueueInfo pInfo)
overridevirtual

Implements SalInstance.

Reimplemented in SvpSalInstance, and QtInstance.

◆ isPrinterInit()

bool SalGenericInstance::isPrinterInit ( ) const
inline

Definition at line 68 of file geninst.h.

◆ jobEndedPrinterUpdate()

virtual void SalGenericInstance::jobEndedPrinterUpdate ( )
overridevirtual

Reimplemented from SalInstance.

◆ jobStartedPrinterUpdate()

virtual void SalGenericInstance::jobStartedPrinterUpdate ( )
overridevirtual

Reimplemented from SalInstance.

◆ PostPrintersChanged()

virtual void SalGenericInstance::PostPrintersChanged ( )
pure virtual

Implemented in SvpSalInstance, QtInstance, and X11SalInstance.

◆ RegisterFontSubstitutors()

static void SalGenericInstance::RegisterFontSubstitutors ( vcl::font::PhysicalFontCollection pFontCollection)
static

◆ updatePrinterUpdate()

virtual void SalGenericInstance::updatePrinterUpdate ( )
overridevirtual

Reimplemented from SalInstance.

Member Data Documentation

◆ mbPrinterInit

bool SalGenericInstance::mbPrinterInit
protected

Definition at line 49 of file geninst.h.


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