LibreOffice Module vcl (master)  1
Classes | Macros | Typedefs | Functions
accel.cxx File Reference
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <tools/solar.h>
#include <accel.h>
#include <vcl/accel.hxx>
#include <map>
#include <vector>
Include dependency graph for accel.cxx:

Go to the source code of this file.

Classes

class  ImplAccelData
 

Macros

#define ACCELENTRY_NOTFOUND   (sal_uInt16(0xFFFF))
 

Typedefs

typedef ::std::map< sal_uLong, ImplAccelEntry * > ImplAccelMap
 
typedef ::std::vector< std::unique_ptr< ImplAccelEntry > > ImplAccelList
 

Functions

static sal_uInt16 ImplAccelEntryGetIndex (ImplAccelList *pList, sal_uInt16 nId, sal_uInt16 *pIndex=nullptr)
 
static void ImplAccelEntryInsert (ImplAccelList *pList, std::unique_ptr< ImplAccelEntry > pEntry)
 

Macro Definition Documentation

#define ACCELENTRY_NOTFOUND   (sal_uInt16(0xFFFF))

Definition at line 31 of file accel.cxx.

Referenced by Accelerator::GetAccel(), ImplAccelEntryGetIndex(), and ImplAccelEntryInsert().

Typedef Documentation

typedef ::std::vector< std::unique_ptr<ImplAccelEntry> > ImplAccelList

Definition at line 29 of file accel.cxx.

Definition at line 28 of file accel.cxx.

Function Documentation

static sal_uInt16 ImplAccelEntryGetIndex ( ImplAccelList pList,
sal_uInt16  nId,
sal_uInt16 *  pIndex = nullptr 
)
static

Definition at line 40 of file accel.cxx.

References ACCELENTRY_NOTFOUND, and mnId.

Referenced by Accelerator::GetAccel(), and ImplAccelEntryInsert().

static void ImplAccelEntryInsert ( ImplAccelList pList,
std::unique_ptr< ImplAccelEntry pEntry 
)
static