annotate mcabber/mcabber/api.h @ 1991:0450147afa05

Introduce MCABBER_API_HAVE_CMD_ID to ease module updates
author Mikael Berthe <mikael@lilotux.net>
date Sun, 27 Mar 2011 20:19:54 +0200
parents 504743d4782e
children 51f032d5ca22
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
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
4 #include <mcabber/config.h> // For MCABBER_BRANCH
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
5
1988
dd65a18dc480 Add cmd_set_safe() / cmd_is_safe() (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents: 1986
diff changeset
6 #define MCABBER_API_VERSION 20
1986
ad77110343d6 Use a command ID with cmd_add/cmd_del (Myhailo Danylenko)
Mikael Berthe <mikael@lilotux.net>
parents: 1981
diff changeset
7 #define MCABBER_API_MIN 19
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
8
1990
504743d4782e Introduce MCABBER_BRANCH_DEV to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1988
diff changeset
9 #define MCABBER_BRANCH_DEV 1
504743d4782e Introduce MCABBER_BRANCH_DEV to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1988
diff changeset
10
1991
0450147afa05 Introduce MCABBER_API_HAVE_CMD_ID to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1990
diff changeset
11 #define MCABBER_API_HAVE_CMD_ID 1
0450147afa05 Introduce MCABBER_API_HAVE_CMD_ID to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1990
diff changeset
12
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
13 extern const gchar *mcabber_branch;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
14 extern const guint mcabber_api_version;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
15
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
16 #endif
1811
e6d355e50d7a Update Vim modelines
Mikael Berthe <mikael@lilotux.net>
parents: 1806
diff changeset
17 /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2: For Vim users... */