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.


class  ImplAccelData


#define ACCELENTRY_NOTFOUND   (sal_uInt16(0xFFFF))


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


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 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 

Definition at line 40 of file accel.cxx.

References ACCELENTRY_NOTFOUND, mnId, and nCount.

Referenced by ImplAccelEntryInsert().

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

Definition at line 87 of file accel.cxx.

References ACCELENTRY_NOTFOUND, ImplAccelEntryGetIndex(), ImplAccelEntry::mnId, nIndex, and size.