mcabber/mcabber/api.h
author Myhailo Danylenko <isbear@ukrpost.net>
Sat, 13 Mar 2010 20:09:14 +0200
changeset 1768 d80a9e32ab1a
parent 1763 e7ce50fe19a9
child 1780 e4378fbab5d7
permissions -rw-r--r--
Refuse to replace existing guards * Settings_set_guard returns success status * API v3 * Min API v3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1763
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
1768
d80a9e32ab1a Refuse to replace existing guards
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1763
diff changeset
     6
#define MCABBER_API_VERSION 3
d80a9e32ab1a Refuse to replace existing guards
Myhailo Danylenko <isbear@ukrpost.net>
parents: 1763
diff changeset
     7
#define MCABBER_API_MIN     3
1763
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
     8
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
     9
extern const gchar *mcabber_branch;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
    10
extern const guint mcabber_api_version;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
    11
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
    12
#endif