progress.*: cosmetix
[k8lowj.git] / src / security.h
blob73a7001395000b684556136134ad0a05b3ecded3
1 /* logjam - a GTK client for LiveJournal.
2 * Copyright (C) 2000-2003 Evan Martin <evan@livejournal.com>
3 */
4 #ifndef __LOGJAM_SECURITY_H__
5 #define __LOGJAM_SECURITY_H__
7 #include <gtk/gtkoptionmenu.h>
9 #include "liblj/livejournal.h"
11 #include "account.h"
13 /* A SecMgr is a widget which manages a security setting.
14 * The LJSecurity object now lives in livejournal.[ch].
17 #define SECMGR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), secmgr_get_type(), SecMgr))
19 typedef struct _SecMgr SecMgr;
21 GType secmgr_get_type(void);
22 GtkWidget *secmgr_new(gboolean withcustom);
23 void secmgr_security_set(SecMgr * secmgr, const LJSecurity * security);
24 void secmgr_security_set_force(SecMgr * secmgr, const LJSecurity * security);
25 void secmgr_security_get(SecMgr * secmgr, LJSecurity * security);
26 void secmgr_set_account(SecMgr * sm, JamAccountLJ * account);
28 guint32 custom_security_dlg_run(GtkWindow * parent, guint32 mask, JamAccountLJ * acc);
30 #endif /* __SECURITY_H__ */