annotate mcabber/mcabber/api.h @ 2304:fa8365fb6ac2

[PATCH 1/3] New option: vi_mode If the new vi_mode option is set to 1, let MCabber's non-chat mode accept a few commands loosely based on those available in vi(1)'s normal mode, e.g.: A Call "/roster unread_first". a Call "/roster unread_next". F Call "/roster group_prev". f Call "/roster group_next". G Call "/roster bottom". gg Call "/roster top". i Enter chat mode. [<n>]j Call "/roster down [<n>]". [<n>]k Call "/roster up [<n>]". n Repeat the previous search (if any). O Call "/roster unread_first" and open chat window. o Call "/roster unread_next" and open chat window. ZZ Call "/quit". zM Call "/group fold" for all groups. zR Call "/group unfold" for all groups. <Space> Call "/group toggle" for the current group. '' Call "/roster alternate". ! Toggle attention flag for current buddy. # Toggle unread messages flag for current buddy. /<str> Call "/roster search <str>". :q Call "/quit". :wq Call "/quit". :x Call "/quit". :<n> Jump to line <n> in the roster. :<cmd> Call "/<cmd>" (unless <cmd> matches one of the above commands).
author Holger Weiß <holger@zedat.fu-berlin.de>
date Wed, 22 Jul 2015 19:25:22 +0200
parents 245ec6d73380
children 90b3e9876641
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
1 #ifndef __MCABBER_API_H__
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
2 #define __MCABBER_API_H__ 1
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
3
2037
96c0d8afdbe6 api.h should include glib header
Myhailo Danylenko <isbear@ukrpost.net>
parents: 2014
diff changeset
4 #include <glib.h>
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
5 #include <mcabber/config.h> // For MCABBER_BRANCH
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
6
2302
245ec6d73380 Post-1.0.5 changes
Mikael Berthe <mikael@lilotux.net>
parents: 2296
diff changeset
7 #define MCABBER_API_VERSION 41
245ec6d73380 Post-1.0.5 changes
Mikael Berthe <mikael@lilotux.net>
parents: 2296
diff changeset
8 #define MCABBER_API_MIN 41
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
9
2302
245ec6d73380 Post-1.0.5 changes
Mikael Berthe <mikael@lilotux.net>
parents: 2296
diff changeset
10 #define MCABBER_BRANCH_DEV 1
1990
504743d4782e Introduce MCABBER_BRANCH_DEV to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1988
diff changeset
11
2042
0cb8ea02e472 Make completion sorting order configurable
Myhailo Danylenko <isbear@ukrpost.net>
parents: 2037
diff changeset
12 // cmd_add returns gpointer id
1991
0450147afa05 Introduce MCABBER_API_HAVE_CMD_ID to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1990
diff changeset
13 #define MCABBER_API_HAVE_CMD_ID 1
2042
0cb8ea02e472 Make completion sorting order configurable
Myhailo Danylenko <isbear@ukrpost.net>
parents: 2037
diff changeset
14 // compl_new_category accepts flags argument
0cb8ea02e472 Make completion sorting order configurable
Myhailo Danylenko <isbear@ukrpost.net>
parents: 2037
diff changeset
15 #define MCABBER_API_HAVE_COMPL_FLAGS 1
1991
0450147afa05 Introduce MCABBER_API_HAVE_CMD_ID to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1990
diff changeset
16
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
17 extern const gchar *mcabber_branch;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
18 extern const guint mcabber_api_version;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
19
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
20 #endif
1811
e6d355e50d7a Update Vim modelines
Mikael Berthe <mikael@lilotux.net>
parents: 1806
diff changeset
21 /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2: For Vim users... */