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

#include <salinst.h>

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

Public Member Functions

virtual void TriggerUserEventProcessing () override
 
 AquaSalInstance ()
 
virtual ~AquaSalInstance () override
 
virtual void AfterAppInit () override
 
virtual bool SVMainHook (int *) 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 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 *pVCLMenu) 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...
 
virtual css::uno::Reference< css::uno::XInterface > CreateClipboard (const css::uno::Sequence< css::uno::Any > &i_rArguments) override
 
virtual css::uno::Reference< css::uno::XInterface > CreateDragSource () override
 
virtual css::uno::Reference< css::uno::XInterface > CreateDropTarget () override
 
void delayedSettingsChanged (bool bInvalidate)
 
virtual bool IsMainThread () const override
 
void startedPrintJob ()
 
void endedPrintJob ()
 
- Public Member Functions inherited from SalInstance
 SalInstance (std::unique_ptr< comphelper::SolarMutex > pMutex)
 
virtual ~SalInstance ()
 
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 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 *)
 
- Public Member Functions inherited from SalUserEventList
 SalUserEventList ()
 
virtual ~SalUserEventList () COVERITY_NOEXCEPT_FALSE
 
const SalFrameSetgetFrames () const
 
SalFrameanyFrame () const
 
void insertFrame (SalFrame *pFrame)
 
void eraseFrame (SalFrame *pFrame)
 
bool isFrameAlive (const SalFrame *pFrame) const
 
void PostEvent (SalFrame *pFrame, void *pData, SalEvent nEvent)
 
void RemoveEvent (SalFrame *pFrame, void *pData, SalEvent nEvent)
 
bool HasUserEvents () const
 
bool DispatchUserEvents (bool bHandleAllCurrentEvents)
 

Static Public Member Functions

static void handleAppDefinedEvent (NSEvent *pEvent)
 
static bool isOnCommandLine (const OUString &)
 
static NSMenu * GetDynamicDockMenu ()
 
- Static Public Member Functions inherited from SalInstance
static weld::BuilderCreateInterimBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile)
 

Public Attributes

OUString maDefaultPrinter
 
oslThreadIdentifier maMainThread
 
int mnActivePrintJobs
 
osl::Mutex maUserEventListMutex
 
osl::Condition maWaitingYieldCond
 
bool mbIsLiveResize
 
bool mbNoYieldLock
 
bool mbTimerProcessed
 

Static Public Attributes

static std::list< const ApplicationEvent * > aAppEventList
 
static const short AppExecuteSVMain = 1
 
static const short AppStartTimerEvent = 10
 
static const short YieldWakeupEvent = 20
 
static const short DispatchTimerEvent = 30
 

Private Member Functions

bool RunInMainYield (bool bHandleAllCurrentEvents)
 
virtual void ProcessEvent (SalUserEvent aEvent) override
 

Friends

class AquaSalFrame
 

Additional Inherited Members

- Protected Member Functions inherited from SalUserEventList
virtual void TriggerAllUserEventsProcessed ()
 
- Protected Attributes inherited from SalUserEventList
osl::Mutex m_aUserEventsMutex
 
std::list< SalUserEventm_aUserEvents
 
std::list< SalUserEventm_aProcessingUserEvents
 
bool m_bAllUserEventProcessedSignaled
 
SalFrameSet m_aFrames
 
oslThreadIdentifier m_aProcessingThread
 

Detailed Description

Definition at line 68 of file osx/salinst.h.

Constructor & Destructor Documentation

AquaSalInstance::AquaSalInstance ( )
virtual AquaSalInstance::~AquaSalInstance ( )
overridevirtual

Member Function Documentation

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

Implements SalInstance.

virtual void AquaSalInstance::AfterAppInit ( )
overridevirtual

Reimplemented from SalInstance.

virtual bool AquaSalInstance::AnyInput ( VclInputFlags  nType)
overridevirtual

Implements SalInstance.

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

Implements SalInstance.

virtual css::uno::Reference< css::uno::XInterface > AquaSalInstance::CreateClipboard ( const css::uno::Sequence< css::uno::Any > &  i_rArguments)
overridevirtual

Reimplemented from SalInstance.

virtual css::uno::Reference< css::uno::XInterface > AquaSalInstance::CreateDragSource ( )
overridevirtual

Reimplemented from SalInstance.

virtual css::uno::Reference< css::uno::XInterface > AquaSalInstance::CreateDropTarget ( )
overridevirtual

Reimplemented from SalInstance.

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

Implements SalInstance.

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

Implements SalInstance.

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

Reimplemented from SalInstance.

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

Reimplemented from SalInstance.

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

Implements SalInstance.

virtual OpenGLContext* AquaSalInstance::CreateOpenGLContext ( )
overridevirtual

Implements SalInstance.

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

Implements SalInstance.

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

Implements SalInstance.

virtual SalSystem* AquaSalInstance::CreateSalSystem ( )
overridevirtual

Implements SalInstance.

virtual SalTimer* AquaSalInstance::CreateSalTimer ( )
overridevirtual

Implements SalInstance.

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

Implements SalInstance.

void AquaSalInstance::delayedSettingsChanged ( bool  bInvalidate)
virtual void AquaSalInstance::DestroyFrame ( SalFrame pFrame)
overridevirtual

Implements SalInstance.

virtual void AquaSalInstance::DestroyInfoPrinter ( SalInfoPrinter pPrinter)
overridevirtual

Implements SalInstance.

virtual void AquaSalInstance::DestroyObject ( SalObject pObject)
overridevirtual

Implements SalInstance.

virtual bool AquaSalInstance::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.

void AquaSalInstance::endedPrintJob ( )
inline

Definition at line 146 of file osx/salinst.h.

virtual OUString AquaSalInstance::GetConnectionIdentifier ( )
overridevirtual

Implements SalInstance.

virtual OUString AquaSalInstance::GetDefaultPrinter ( )
overridevirtual

Implements SalInstance.

static NSMenu* AquaSalInstance::GetDynamicDockMenu ( )
static
virtual OUString AquaSalInstance::getOSVersion ( )
overridevirtual

get information about underlying versions

Reimplemented from SalInstance.

virtual void AquaSalInstance::GetPrinterQueueInfo ( ImplPrnQueueList pList)
overridevirtual

Implements SalInstance.

virtual void AquaSalInstance::GetPrinterQueueState ( SalPrinterQueueInfo pInfo)
overridevirtual

Implements SalInstance.

static void AquaSalInstance::handleAppDefinedEvent ( NSEvent *  pEvent)
static
virtual bool AquaSalInstance::IsMainThread ( ) const
overridevirtual

Implements SalInstance.

static bool AquaSalInstance::isOnCommandLine ( const OUString &  )
static
virtual void AquaSalInstance::ProcessEvent ( SalUserEvent  aEvent)
overrideprivatevirtual

Implements SalUserEventList.

bool AquaSalInstance::RunInMainYield ( bool  bHandleAllCurrentEvents)
private
void AquaSalInstance::startedPrintJob ( )
inline

Definition at line 145 of file osx/salinst.h.

virtual bool AquaSalInstance::SVMainHook ( int )
overridevirtual

Reimplemented from SalInstance.

virtual void AquaSalInstance::TriggerUserEventProcessing ( )
overridevirtual

Implements SalUserEventList.

Friends And Related Function Documentation

friend class AquaSalFrame
friend

Definition at line 70 of file osx/salinst.h.

Member Data Documentation

std::list<const ApplicationEvent*> AquaSalInstance::aAppEventList
static

Definition at line 88 of file osx/salinst.h.

const short AquaSalInstance::AppExecuteSVMain = 1
static

Definition at line 149 of file osx/salinst.h.

const short AquaSalInstance::AppStartTimerEvent = 10
static

Definition at line 150 of file osx/salinst.h.

const short AquaSalInstance::DispatchTimerEvent = 30
static

Definition at line 152 of file osx/salinst.h.

OUString AquaSalInstance::maDefaultPrinter

Definition at line 79 of file osx/salinst.h.

oslThreadIdentifier AquaSalInstance::maMainThread

Definition at line 80 of file osx/salinst.h.

osl::Mutex AquaSalInstance::maUserEventListMutex

Definition at line 82 of file osx/salinst.h.

osl::Condition AquaSalInstance::maWaitingYieldCond

Definition at line 83 of file osx/salinst.h.

bool AquaSalInstance::mbIsLiveResize

Definition at line 84 of file osx/salinst.h.

bool AquaSalInstance::mbNoYieldLock

Definition at line 85 of file osx/salinst.h.

bool AquaSalInstance::mbTimerProcessed

Definition at line 86 of file osx/salinst.h.

int AquaSalInstance::mnActivePrintJobs

Definition at line 81 of file osx/salinst.h.

const short AquaSalInstance::YieldWakeupEvent = 20
static

Definition at line 151 of file osx/salinst.h.


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