57
58
typedef map < ApvlvCmdKeyv, ApvlvCmd * >ApvlvCmdMap;
68
void push (const char *s, cmdType type = CT_CMD);
70
bool append (GdkEventKey * key);
72
const char *append (const char *s);
74
bool cmp (ApvlvCmd & cmd);
76
void type (cmdType type);
80
void bemap (bool bemap);
84
void canmap (bool canmap);
88
void hascount (bool hascount);
94
ApvlvCmdKeyv *keyvalv_p ();
96
ApvlvCmdKeyv keyvalv ();
98
void precount (gint precount);
102
gint keyval (guint id);
104
void next (ApvlvCmd * cmd);
108
void origin (ApvlvCmd * cmd);
69
void push (const char *s, cmdType type = CT_CMD);
71
bool append (GdkEventKey * key);
73
const char *append (const char *s);
75
bool cmp (ApvlvCmd & cmd);
77
void type (cmdType type);
81
void bemap (bool bemap);
85
void canmap (bool canmap);
89
void hascount (bool hascount);
95
ApvlvCmdKeyv *keyvalv_p ();
97
ApvlvCmdKeyv keyvalv ();
99
void precount (gint precount);
103
gint keyval (guint id);
105
void next (ApvlvCmd * cmd);
109
void origin (ApvlvCmd * cmd);
117
// if cmd is be mapped
120
// if cmd can be mapped
126
// how to descripe this command in .apvlvrc
127
// like <C-d><C-w>, <S-b>s, or :run, :vsp, ...
131
ApvlvCmdKeyv mKeyVals;
139
// when a key is map to other, this is the origin cmd.
140
// after a maped key was processed, return to this cmds
118
// if cmd is be mapped
121
// if cmd can be mapped
127
// how to descripe this command in .apvlvrc
128
// like <C-d><C-w>, <S-b>s, or :run, :vsp, ...
132
ApvlvCmdKeyv mKeyVals;
140
// when a key is map to other, this is the origin cmd.
141
// after a maped key was processed, return to this cmds
151
void append (GdkEventKey * gev);
153
bool buildmap (const char *os, const char *ms);
152
void append (GdkEventKey * gev);
154
bool buildmap (const char *os, const char *ms);
157
158
ApvlvCmd * process (ApvlvCmd * cmd);
159
returnType ismap (ApvlvCmdKeyv * ack);
161
ApvlvCmd *getmap (const char *os);
163
ApvlvCmd *getmap (ApvlvCmd * cmd);
165
static gboolean apvlv_cmds_timeout_cb (gpointer);
160
returnType ismap (ApvlvCmdKeyv * ack);
162
ApvlvCmd *getmap (const char *os);
164
ApvlvCmd *getmap (ApvlvCmd * cmd);
166
static gboolean apvlv_cmds_timeout_cb (gpointer);
183
184
extern ApvlvCmds *gCmds;