LibreOffice Module vcl (master)  1
Classes | Namespaces | Typedefs | Enumerations | Functions
svapp.hxx File Reference
#include <sal/config.h>
#include <sal/types.h>
#include <cassert>
#include <vector>
#include <comphelper/solarmutex.hxx>
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <osl/thread.h>
#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <vcl/dllapi.h>
#include <vcl/inputtypes.hxx>
#include <vcl/exceptiontypes.hxx>
#include <vcl/vclevent.hxx>
#include <vcl/vclenum.hxx>
#include <i18nlangtag/lang.h>
#include <o3tl/typed_flags_set.hxx>
#include <com/sun/star/uno/Reference.h>
Include dependency graph for svapp.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< SystemWindowFlags >
 
class  ApplicationEvent
 An application can be notified of a number of different events: More...
 
class  Application
 Base class used mainly for the LibreOffice Desktop class. More...
 
class  SolarMutexGuard
 
class  SolarMutexClearableGuard
 
class  SolarMutexResettableGuard
 
class  vcl::SolarMutexTryAndBuyGuard
 guard class that uses tryToAcquire() and has isAcquired() to check More...
 
class  SolarMutexReleaser
 A helper class that calls Application::ReleaseSolarMutex() in its constructor and restores the mutex in its destructor. More...
 

Namespaces

 weld
 
 vcl
 
 com::sun::star::uno
 
 com::sun::star::ui::dialogs
 
 com::sun::star::awt
 
 o3tl
 

Typedefs

typedef long(* VCLEventHookProc) (NotifyEvent &rEvt, void *pData)
 

Enumerations

enum  SystemWindowFlags {
  SystemWindowFlags::NOAUTOMODE = 0x0001,
  SystemWindowFlags::DIALOG = 0x0002
}
 
enum  DialogCancelMode {
  DialogCancelMode::Off,
  DialogCancelMode::Silent,
  DialogCancelMode::Fatal
}
 

Functions

VCL_DLLPUBLIC sal_UCS4 GetMirroredChar (sal_UCS4)
 
VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar (sal_UCS4, LanguageType)
 
VCL_DLLPUBLIC ApplicationGetpApp ()
 
VCL_DLLPUBLIC bool IsVCLInit ()
 
VCL_DLLPUBLIC bool InitVCL ()
 
VCL_DLLPUBLIC void DeInitVCL ()
 
VCL_DLLPUBLIC bool InitAccessBridge ()
 
VCL_DLLPUBLIC void CreateMainLoopThread (oslWorkerFunction pWorker, void *pThreadData)
 
VCL_DLLPUBLIC void JoinMainLoopThread ()
 
VCL_DLLPUBLIC ImplSVHelpDataCreateSVHelpData ()
 
VCL_DLLPUBLIC void DestroySVHelpData (ImplSVHelpData *)
 
VCL_DLLPUBLIC void SetSVHelpData (ImplSVHelpData *)
 
VCL_DLLPUBLIC ImplSVWinDataCreateSVWinData ()
 
VCL_DLLPUBLIC void DestroySVWinData (ImplSVWinData *)
 
VCL_DLLPUBLIC void SetSVWinData (ImplSVWinData *)
 

Typedef Documentation

typedef long(* VCLEventHookProc) (NotifyEvent &rEvt, void *pData)

Definition at line 94 of file svapp.hxx.

Enumeration Type Documentation

enum DialogCancelMode
strong
Enumerator
Off 

do not automatically cancel dialogs

Silent 

silently cancel any dialogs

Fatal 

cancel any dialogs by std::abort

Definition at line 210 of file svapp.hxx.

enum SystemWindowFlags
strong
Enumerator
NOAUTOMODE 
DIALOG 

Definition at line 85 of file svapp.hxx.

Function Documentation

VCL_DLLPUBLIC void CreateMainLoopThread ( oslWorkerFunction  pWorker,
void pThreadData 
)

Definition at line 649 of file svmain.cxx.

References MainWorkerFunction().

VCL_DLLPUBLIC ImplSVHelpData* CreateSVHelpData ( )
VCL_DLLPUBLIC ImplSVWinData* CreateSVWinData ( )
VCL_DLLPUBLIC void DeInitVCL ( )

Definition at line 412 of file svmain.cxx.

References aBuf, assert(), o3tl::lru_map< class, class, class, class >::clear(), EmbeddedFontsHelper::clearTemporaryFontFiles(), comp, DbgGUIDeInitSolarMutexCheck(), Application::DeInit(), DestroySalInstance(), VclPtr< reference_type >::disposeAndClear(), basegfx::SystemDependentDataManager::flushAll(), ImageTree::get(), comphelper::getProcessComponentContext(), vcl::Window::GetText(), Application::GetTopWindow(), Application::GetTopWindowCount(), i, Scheduler::ImplDeInitScheduler(), vcl::DeleteOnDeinitBase::ImplDeleteOnDeInit(), ImplDeletePrnQueueList(), ImplGetSVData(), ImplGetSystemDependentDataManager(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsLOKWindowsEmpty(), ImplSVData::maAppData, ImplSVCtrlData::maCheckImgList, ImplSVData::maCtrlData, ImplSVData::maDeInitHook, ImplSVData::maFrameData, ImplSVData::maGDIData, ImplSVAppData::maKeyListeners, ImplSVWinData::maMsgBoxImgList, ImplSVCtrlData::maRadioImgList, ImplSVGDIData::maScaleCache, ImplSVData::maSchedCtx, ImplSVGDIData::maThemeDrawCommandsCache, ImplSVGDIData::maThemeImageCache, ImplSVData::mbDeInit, ImplSVAppData::mpAccelMgr, ImplSVFrameData::mpActiveApplicationFrame, ImplSVAppData::mpActivePopupMenu, ImplSVData::mpApp, ImplSVFrameData::mpAppWin, ImplSVWinData::mpAutoScrollWin, ImplSVData::mpBlendFrameCache, ImplSVWinData::mpCaptureWin, ImplSVAppData::mpCfgListener, ImplSVData::mpDefaultWin, ImplSVData::mpDefInst, ImplSVCtrlData::mpDisclosureMinus, ImplSVCtrlData::mpDisclosurePlus, ImplSVWinData::mpExecuteDialogs, ImplSVWinData::mpExtTextInputWin, ImplSVWinData::mpFirstFloat, ImplSVFrameData::mpFirstFrame, ImplSVGDIData::mpFirstPrinter, ImplSVGDIData::mpFirstPrnGraphics, ImplSVGDIData::mpFirstVirDev, ImplSVGDIData::mpFirstVirGraphics, ImplSVGDIData::mpFirstWinGraphics, ImplSVGDIData::mpGrfConverter, ImplSVData::mpIntroWindow, ImplSVWinData::mpLastDeacWin, ImplSVGDIData::mpLastPrnGraphics, ImplSVGDIData::mpLastVirGraphics, ImplSVWinData::mpLastWheelWindow, ImplSVGDIData::mpLastWinGraphics, ImplSVData::mpSalSystem, ImplSchedulerContext::mpSalTimer, ImplSVAppData::mpSettings, ImplSVData::mpSettingsConfigItem, ImplSVWinData::mpTrackWin, ImplSVData::mpUnoWrapper, ImplSVAppData::mpWheelWindow, ImplSVData::mpWinData, ImplSVGDIData::mxScreenFontCache, ImplSVGDIData::mxScreenFontList, OUStringToOString(), pExceptionHandler, pOwnSvApp, o3tl::lru_map< class, class, class, class >::remove_if(), SAL_WARN_IF, and ImageTree::shutdown().

Referenced by ImplSVMain().

VCL_DLLPUBLIC void DestroySVHelpData ( ImplSVHelpData )
VCL_DLLPUBLIC void DestroySVWinData ( ImplSVWinData )

Definition at line 378 of file svdata.cxx.

VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar ( sal_UCS4  ,
LanguageType   
)
VCL_DLLPUBLIC sal_UCS4 GetMirroredChar ( sal_UCS4  )

Definition at line 131 of file sallayout.cxx.

VCL_DLLPUBLIC Application* GetpApp ( )
VCL_DLLPUBLIC bool InitAccessBridge ( )
VCL_DLLPUBLIC bool InitVCL ( )
VCL_DLLPUBLIC bool IsVCLInit ( )

Definition at line 271 of file svmain.cxx.

References ImplGetSVData(), ImplSVData::mpApp, ImplSVData::mpDefInst, and pExceptionHandler.

Referenced by ImplSVMain(), and InitVCL().

VCL_DLLPUBLIC void JoinMainLoopThread ( )

Definition at line 667 of file svmain.cxx.

VCL_DLLPUBLIC void SetSVHelpData ( ImplSVHelpData )
VCL_DLLPUBLIC void SetSVWinData ( ImplSVWinData )