mcabber/mcabber/api.h
author Holger Weiß <holger@zedat.fu-berlin.de>
Thu, 23 Jul 2015 23:44:45 +0200
changeset 2190 ee3a40ffcd8b
parent 2188 84252c616919
child 2196 8811fe9d6ef0
permissions -rw-r--r--
New option: 'clear_unread_on_carbon' If the new 'clear_unread_on_carbon' option is set to 1, clear the unread message flag for a contact whenever an outgoing carbon copy of a message sent to that contact is received from another client. --- mcabber/mcabber/commands.c | 2 +- mcabber/mcabber/hbuf.h | 1 + mcabber/mcabber/hooks.c | 17 ++++++++++++----- mcabber/mcabber/hooks.h | 2 +- mcabber/mcabber/screen.c | 18 ++++++++++++++---- mcabber/mcabber/xmpp.c | 2 +- mcabber/mcabberrc.example | 5 +++++ 7 files changed, 35 insertions(+), 12 deletions(-)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
2190
ee3a40ffcd8b New option: 'clear_unread_on_carbon'
Holger Weiß <holger@zedat.fu-berlin.de>
parents: 2188
diff changeset
     7
#define MCABBER_API_VERSION 38
ee3a40ffcd8b New option: 'clear_unread_on_carbon'
Holger Weiß <holger@zedat.fu-berlin.de>
parents: 2188
diff changeset
     8
#define MCABBER_API_MIN     38
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
     9
2179
11a6318f30ad Post-1.0.0 changes
Mikael Berthe <mikael@lilotux.net>
parents: 2175
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... */