1 /* logjam - a GTK client for LiveJournal.
2 * Copyright (C) 2000-2003 Evan Martin <evan@livejournal.com>
4 * vim: tabstop=4 shiftwidth=4 noexpandtab :
7 #ifndef __LOGJAM_CHECKFRIENDS_H__
8 #define __LOGJAM_CHECKFRIENDS_H__
10 #include <glib-object.h>
23 typedef struct _CFMgr CFMgr
;
24 typedef struct _CFMgrClass CFMgrClass
;
26 #define LOGJAM_TYPE_CFMGR (cfmgr_get_type())
27 #define LOGJAM_CFMGR(object) (G_TYPE_CHECK_INSTANCE_CAST((object), LOGJAM_TYPE_CFMGR, CFMgr))
28 #define LOGJAM_CFMGR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LOGJAM_TYPE_CFMGR, CFMgrClass))
30 CFMgr
* cfmgr_new(JamAccount
*acc
);
31 GType
cfmgr_get_type(void);
33 JamAccountLJ
* cfmgr_get_account(CFMgr
*cfm
);
35 void cfmgr_set_mask(CFMgr
*cfm
, guint32 mask
);
37 void cfmgr_set_account(CFMgr
*cfm
, JamAccount
*acc
);
38 void cfmgr_set_state(CFMgr
*cfm
, CFState state
);
39 CFState
cfmgr_get_state(CFMgr
*cfm
);
41 void cf_threshold_normalize(gint
*threshold
);
43 gboolean
checkfriends_cli(JamAccountLJ
*acc
);
44 void checkfriends_cli_purge(JamAccountLJ
*acc
);
48 typedef struct _CFFloat CFFloat
;
49 CFFloat
* cf_float_new(CFMgr
*cfm
);
51 void cf_float_decorate_refresh(void);
53 void cf_app_update_float(void);
56 void cf_update_dock(CFMgr
*cfm
, GtkWindow
* parent
);
60 #endif /* __LOGJAM_CHECKFRIENDS_H__ */