1 /* logjam - a GTK client for LiveJournal.
2 * Copyright (C) 2000-2003 Evan Martin <evan@livejournal.com>
4 * vim: tabstop=4 shiftwidth=4 noexpandtab :
6 #ifndef __LOGJAM_CHECKFRIENDS_H__
7 #define __LOGJAM_CHECKFRIENDS_H__
9 #include <glib-object.h>
21 typedef struct _CFMgr CFMgr
;
22 typedef struct _CFMgrClass CFMgrClass
;
25 #define LOGJAM_TYPE_CFMGR (cfmgr_get_type())
26 #define LOGJAM_CFMGR(object) (G_TYPE_CHECK_INSTANCE_CAST((object), LOGJAM_TYPE_CFMGR, CFMgr))
27 #define LOGJAM_CFMGR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LOGJAM_TYPE_CFMGR, CFMgrClass))
29 extern CFMgr
*cfmgr_new (JamAccount
*acc
);
30 extern GType
cfmgr_get_type (void);
32 extern JamAccountLJ
*cfmgr_get_account (CFMgr
*cfm
);
34 extern void cfmgr_set_mask (CFMgr
*cfm
, guint32 mask
);
36 extern void cfmgr_set_account (CFMgr
*cfm
, JamAccount
*acc
);
37 extern void cfmgr_set_state (CFMgr
*cfm
, CFState state
);
38 extern CFState
cfmgr_get_state (CFMgr
*cfm
);
40 extern void cf_threshold_normalize (gint
*threshold
);
42 extern gboolean
checkfriends_cli (JamAccountLJ
* acc
);
43 extern void checkfriends_cli_purge (JamAccountLJ
* acc
);
46 typedef struct _CFFloat CFFloat
;
48 extern CFFloat
*cf_float_new (CFMgr
*cfm
);
49 extern void cf_float_decorate_refresh (void);
50 extern void cf_app_update_float (void);
53 extern void cf_update_dock (CFMgr
*cfm
, GtkWindow
*parent
);