Revision cd75287e purple.h

b/purple.h
1 1
/* File: purple.h
2
   Time-stamp: <2011-02-10 17:54:53 gawen>
2
   Time-stamp: <2012-04-05 17:05:44 gawen>
3 3

  
4 4
   Copyright (C) 2010 David Hauweele <david@hauweele.net>
5 5
   Copyright (C) 2008,2009 Craig Harding <craigwharding@gmail.com>
......
31 31
  void *callback;
32 32
};
33 33

  
34
/* not sure purple define that */
34
/* not sure purple defines that */
35 35
#ifndef PURPLE_PREFS_CALLBACK
36 36
# define PURPLE_PREFS_CALLBACK(func) ((PurplePrefCallback)func)
37 37
#endif
38 38

  
39
gboolean is_gtk_blist_created();
39
gboolean is_same_song(const PurpleStatus *old, const PurpleStatus *new);
40
gboolean is_gtk_blist_created(void);
40 41
GdkPixbuf * create_prpl_icon_from_info(PurplePluginProtocolInfo *prpl_info,
41 42
                                       PidginPrplIconSize size);
42
GdkPixbuf * get_buddy_icon();
43
GdkPixbuf * get_buddy_icon_hover();
43
GdkPixbuf * get_buddy_icon(void);
44
GdkPixbuf * get_buddy_icon_hover(void);
44 45
GHashTable * get_protocol_attrs(PurplePluginProtocolInfo *protocol);
45 46
GHashTable * get_account_attrs(PurpleAccount *account);
46
const gchar * get_status_stock_id();
47
gchar * get_mood_icon_path();
48
PurpleMood * get_global_moods();
47
const gchar * get_status_stock_id(void);
48
gchar * get_mood_icon_path(const gchar *mood);
49
PurpleMood * get_global_moods(void);
49 50

  
50 51
void set_status_message(const gchar *pm);
51 52
void set_status_all(const gchar *status_id, GList *attrs);

Also available in: Unified diff