annotate mcabber/mcabber/api.h @ 2037:96c0d8afdbe6

api.h should include glib header
author Myhailo Danylenko <isbear@ukrpost.net>
date Thu, 22 Nov 2012 00:59:19 +0200
parents 99db5d4ed047
children 0cb8ea02e472
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
2014
99db5d4ed047 Update API changelog
Hermitifier
parents: 2011
diff changeset
7 #define MCABBER_API_VERSION 23
1999
51f032d5ca22 Add support for XEP-0115 Entity Capabilities, with offline cache
Hermitifier
parents: 1991
diff changeset
8 #define MCABBER_API_MIN 21
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
9
1990
504743d4782e Introduce MCABBER_BRANCH_DEV to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1988
diff changeset
10 #define MCABBER_BRANCH_DEV 1
504743d4782e Introduce MCABBER_BRANCH_DEV to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1988
diff changeset
11
1991
0450147afa05 Introduce MCABBER_API_HAVE_CMD_ID to ease module updates
Mikael Berthe <mikael@lilotux.net>
parents: 1990
diff changeset
12 #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
13
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
14 extern const gchar *mcabber_branch;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
15 extern const guint mcabber_api_version;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
16
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
17 #endif
1811
e6d355e50d7a Update Vim modelines
Mikael Berthe <mikael@lilotux.net>
parents: 1806
diff changeset
18 /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2: For Vim users... */