Back to index

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

#include <IMHotkeyPrimitive.hh>

Collaboration diagram for IMHotkey:
Collaboration graph

List of all members.

Public Member Functions

const int get_hotkey_id () const
const int get_state_flag () const
const int get_action_flag () const
const IMKeySpecListget_keylist () const
const u16stringget_label () const
 IMHotkey (int a_id, const IMHotkeyStruct &hk, const u16string &label)
 IMHotkey (int a_id, int sflag, int aflag, const IMKeySpecList &a_keys, const u16string &a_label)

Private Member Functions

IMKeySpecListget_keylist ()

Private Attributes

int hotkey_id
int state_flag
int action_flag
IMKeySpecList keys
u16string label


class IIIMP_hotkey_profile

Detailed Description

Definition at line 7 of file IMHotkeyPrimitive.hh.

Constructor & Destructor Documentation

IMHotkey::IMHotkey ( int  a_id,
const IMHotkeyStruct hk,
const u16string label 

Definition at line 11 of file IIIMP_hotkey_profile.cpp.

 : label(a_label){
    state_flag = a_hk.state_flag;
    action_flag = a_hk.action_flag;
    hotkey_id = a_id;

    for (int i = 0; i < a_hk.nkeys; i++)
       keys.push_back(IMKeySpec(a_hk.keys[i].keyCode, a_hk.keys[i].keyChar,
                             a_hk.keys[i].modifier, a_hk.keys[i].time_stamp));
IMHotkey::IMHotkey ( int  a_id,
int  sflag,
int  aflag,
const IMKeySpecList a_keys,
const u16string a_label 
) [inline]

Definition at line 31 of file IMHotkeyPrimitive.hh.

    : hotkey_id(a_id), state_flag(sflag),
      action_flag(aflag), keys(a_keys), label(a_label) {}

Member Function Documentation

const int IMHotkey::get_action_flag ( ) const [inline]

Definition at line 23 of file IMHotkeyPrimitive.hh.

{ return action_flag; }
const int IMHotkey::get_hotkey_id ( ) const [inline]

Definition at line 21 of file IMHotkeyPrimitive.hh.

{ return hotkey_id; }
IMKeySpecList* IMHotkey::get_keylist ( ) [inline, private]

Definition at line 17 of file IMHotkeyPrimitive.hh.

{ return &keys; }
const IMKeySpecList* IMHotkey::get_keylist ( ) const [inline]

Definition at line 24 of file IMHotkeyPrimitive.hh.

{ return &keys; } 
const u16string& IMHotkey::get_label ( ) const [inline]

Definition at line 25 of file IMHotkeyPrimitive.hh.

{ return label; }
const int IMHotkey::get_state_flag ( ) const [inline]

Definition at line 22 of file IMHotkeyPrimitive.hh.

{ return state_flag; }

Friends And Related Function Documentation

friend class IIIMP_hotkey_profile [friend]

Definition at line 40 of file IMHotkeyPrimitive.hh.

Member Data Documentation

int IMHotkey::action_flag [private]

Definition at line 11 of file IMHotkeyPrimitive.hh.

int IMHotkey::hotkey_id [private]

Definition at line 9 of file IMHotkeyPrimitive.hh.

Definition at line 12 of file IMHotkeyPrimitive.hh.

Definition at line 13 of file IMHotkeyPrimitive.hh.

int IMHotkey::state_flag [private]

Definition at line 10 of file IMHotkeyPrimitive.hh.

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