Back to index

im-sdk  12.3.91
Public Member Functions | Private Member Functions | Private Attributes | Friends
IMHotkeyProfile Class Reference

#include <IMHotkeyPrimitive.hh>

Collaboration diagram for IMHotkeyProfile:
Collaboration graph

List of all members.

Public Member Functions

const int get_profile_id () const
const IMHotkeyListget_hotkey_list () const
const IMHotkeyProfileStructget_hotkey_profile_struct () const
 IMHotkeyProfile (int a_id, int hk_id, const IMHotkeyProfileStruct *imhkp)
 IMHotkeyProfile (int a_id, const IMHotkeyList &a_hklist)

Private Member Functions

IMHotkeyListget_hotkey_list ()

Private Attributes

IMHotkeyList hklist
int profile_id
const IMHotkeyProfileStructhotkey_profile_struct


class IIIMP_hotkey_profile

Detailed Description

Definition at line 46 of file IMHotkeyPrimitive.hh.

Constructor & Destructor Documentation

IMHotkeyProfile::IMHotkeyProfile ( int  a_id,
int  hk_id,
const IMHotkeyProfileStruct imhkp 

Definition at line 28 of file IIIMP_hotkey_profile.cpp.

    if (a_id == 0) {
       // Clear the hklist when adding the first hotkey profile

    hotkey_profile_struct = hkps;
    for (int i = 0; i < hkps->num_hotkeys; i++) {
        u16string label = "Default Hotkey Label";
       // what shall we do with hkps->scope?
       if ((hkps->hks[i].label) && (strlen(hkps->hks[i].label))) {
         label = u16string(hkps->hks[i].label); 
       hklist.push_back(IMHotkey(hk_id + i, hkps->hks[i], label));
    profile_id = a_id;
IMHotkeyProfile::IMHotkeyProfile ( int  a_id,
const IMHotkeyList a_hklist 
) [inline]

Definition at line 72 of file IMHotkeyPrimitive.hh.

    : profile_id(a_id), hklist(a_hklist), hotkey_profile_struct(NULL) {}

Member Function Documentation

Definition at line 56 of file IMHotkeyPrimitive.hh.

{ return &hklist; }

Definition at line 62 of file IMHotkeyPrimitive.hh.

  { return &hklist; }

Definition at line 64 of file IMHotkeyPrimitive.hh.

  { return hotkey_profile_struct; }
const int IMHotkeyProfile::get_profile_id ( ) const [inline]

Definition at line 60 of file IMHotkeyPrimitive.hh.

  { return profile_id; }

Friends And Related Function Documentation

friend class IIIMP_hotkey_profile [friend]

Definition at line 78 of file IMHotkeyPrimitive.hh.

Member Data Documentation

Definition at line 50 of file IMHotkeyPrimitive.hh.

Definition at line 52 of file IMHotkeyPrimitive.hh.

Definition at line 51 of file IMHotkeyPrimitive.hh.

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