LibreOffice Module vcl (master) 1
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
svapp.cxx File Reference
#include <config_features.h>
#include <osl/file.hxx>
#include <osl/thread.hxx>
#include <osl/module.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <tools/debug.hxx>
#include <tools/time.hxx>
#include <tools/stream.hxx>
#include <tools/json_writer.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/resmgr.hxx>
#include <unotools/syslocale.hxx>
#include <unotools/syslocaleoptions.hxx>
#include <vcl/toolkit/dialog.hxx>
#include <vcl/dialoghelper.hxx>
#include <vcl/lok.hxx>
#include <vcl/toolkit/floatwin.hxx>
#include <vcl/settings.hxx>
#include <vcl/keycod.hxx>
#include <vcl/event.hxx>
#include <vcl/vclevent.hxx>
#include <vcl/virdev.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/svapp.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/toolkit/unowrap.hxx>
#include <vcl/timer.hxx>
#include <vcl/scheduler.hxx>
#include <vcl/skia/SkiaHelper.hxx>
#include <salinst.hxx>
#include <graphic/Manager.hxx>
#include <salframe.hxx>
#include <salsys.hxx>
#include <svdata.hxx>
#include <displayconnectiondispatch.hxx>
#include <window.h>
#include <accmgr.hxx>
#include <strings.hrc>
#include <strings.hxx>
#include <schedulerimpl.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/awt/XToolkit.hpp>
#include <comphelper/lok.hxx>
#include <comphelper/threadpool.hxx>
#include <comphelper/solarmutex.hxx>
#include <osl/process.h>
#include <cassert>
#include <limits>
#include <string_view>
#include <utility>
#include <thread>
Include dependency graph for svapp.cxx:

Go to the source code of this file.

Classes

struct  ImplPostEventData
 

Namespaces

namespace  vcl
 
namespace  vcl::lok
 

Typedefs

typedef UnoWrapperBase *(* FN_TkCreateUnoWrapper) ()
 

Enumerations

enum  {
  hwAll =0 ,
  hwEnv =1 ,
  hwUI =2
}
 

Functions

ApplicationGetpApp ()
 
static bool ImplYield (bool i_bWait, bool i_bAllEvents)
 
SAL_DLLPUBLIC_EXPORT void unit_lok_process_events_to_idle ()
 used by unit tests that test only via the LOK API More...
 
 IMPL_STATIC_LINK_NOARG (ImplSVAppData, ImplQuitMsg, void *, void)
 
 IMPL_STATIC_LINK (Application, PostEventHandler, void *, pCallData, void)
 
static OUString Localize (TranslateId aId, const bool bLocalize)
 
static void thisModule ()
 
bool InitAccessBridge ()
 
void vcl::lok::registerPollCallbacks (LibreOfficeKitPollCallback pPollCallback, LibreOfficeKitWakeCallback pWakeCallback, void *pData)
 
void vcl::lok::unregisterPollCallbacks ()
 
bool vcl::lok::isUnipoll ()
 
void vcl::lok::numberOfViewsChanged (int count)
 
void vcl::lok::dumpState (rtl::OStringBuffer &rState)
 
void vcl::lok::trimMemory (int nTarget)
 

Variables

vcl::KeyCode const ReservedKeys []
 
static bool bSafeMode = false
 

Typedef Documentation

◆ FN_TkCreateUnoWrapper

typedef UnoWrapperBase *(* FN_TkCreateUnoWrapper) ()

Definition at line 122 of file svapp.cxx.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
hwAll 
hwEnv 
hwUI 

Definition at line 1132 of file svapp.cxx.

Function Documentation

◆ GetpApp()

Application * GetpApp ( )

◆ IMPL_STATIC_LINK()

IMPL_STATIC_LINK ( Application  ,
PostEventHandler  ,
void *  ,
pCallData  ,
void   
)

◆ IMPL_STATIC_LINK_NOARG()

IMPL_STATIC_LINK_NOARG ( ImplSVAppData  ,
ImplQuitMsg  ,
void *  ,
void   
)

Definition at line 439 of file svapp.cxx.

References SalInstance::DoQuit(), ImplGetSVData(), and ImplSVData::mpDefInst.

◆ ImplYield()

static bool ImplYield ( bool  i_bWait,
bool  i_bAllEvents 
)
static

◆ InitAccessBridge()

bool InitAccessBridge ( )

◆ Localize()

static OUString Localize ( TranslateId  aId,
const bool  bLocalize 
)
static

Definition at line 1134 of file svapp.cxx.

References Translate::Create(), Translate::get(), and VclResId().

Referenced by Application::GetHWOSConfInfo().

◆ thisModule()

static void thisModule ( )
static

Definition at line 1469 of file svapp.cxx.

References thisModule().

Referenced by UnoWrapperBase::GetUnoWrapper(), and thisModule().

◆ unit_lok_process_events_to_idle()

SAL_DLLPUBLIC_EXPORT void unit_lok_process_events_to_idle ( )

used by unit tests that test only via the LOK API

Definition at line 421 of file svapp.cxx.

References Scheduler::ProcessEventsToIdle().

Variable Documentation

◆ bSafeMode

bool bSafeMode = false
static

Definition at line 1560 of file svapp.cxx.

Referenced by Application::EnableSafeMode(), and Application::IsSafeModeEnabled().

◆ ReservedKeys

vcl::KeyCode const ReservedKeys[]
Initial value:
{
,
}
constexpr sal_uInt16 KEY_0
Definition: keycodes.hxx:45
constexpr sal_uInt16 KEY_F2
Definition: keycodes.hxx:84
constexpr sal_uInt16 KEY_6
Definition: keycodes.hxx:51
constexpr sal_uInt16 KEY_8
Definition: keycodes.hxx:53
constexpr sal_uInt16 KEY_MOD2
Definition: keycodes.hxx:32
constexpr sal_uInt16 KEY_MOD1
Definition: keycodes.hxx:31
constexpr sal_uInt16 KEY_7
Definition: keycodes.hxx:52
constexpr sal_uInt16 KEY_1
Definition: keycodes.hxx:46
constexpr sal_uInt16 KEY_ADD
Definition: keycodes.hxx:127
constexpr sal_uInt16 KEY_F4
Definition: keycodes.hxx:86
constexpr sal_uInt16 KEY_4
Definition: keycodes.hxx:49
constexpr sal_uInt16 KEY_F6
Definition: keycodes.hxx:88
constexpr sal_uInt16 KEY_F10
Definition: keycodes.hxx:92
constexpr sal_uInt16 KEY_5
Definition: keycodes.hxx:50
constexpr sal_uInt16 KEY_F1
Definition: keycodes.hxx:83
constexpr sal_uInt16 KEY_9
Definition: keycodes.hxx:54
constexpr sal_uInt16 KEY_3
Definition: keycodes.hxx:48
constexpr sal_uInt16 KEY_2
Definition: keycodes.hxx:47
constexpr sal_uInt16 KEY_SHIFT
Definition: keycodes.hxx:30

Definition at line 91 of file svapp.cxx.

Referenced by Application::GetReservedKeyCode(), and Application::GetReservedKeyCodeCount().