1
/* This file is part of GQ
4
* Sven Herzberg <herzi@gnome-de.org>
6
* Copyright (C) 2006 Sven Herzberg <herzi@gnome-de.org>
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public License as
10
* published by the Free Software Foundation; either version 2.1 of the
11
* License, or (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU Lesser General Public License for more details.
18
* You should have received a copy of the GNU Lesser General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24
#ifndef GQ_LOGIN_DIALOG_H
25
#define GQ_LOGIN_DIALOG_H
27
#include "gq-server.h"
28
#include "herzi-glade-dialog.h"
32
typedef HerziGladeDialog GqLoginDialog;
33
typedef HerziGladeDialogClass GqLoginDialogClass;
35
#define GQ_TYPE_LOGIN_DIALOG (gq_login_dialog_get_type())
36
#define GQ_LOGIN_DIALOG(i) (G_TYPE_CHECK_INSTANCE_CAST((i), GQ_TYPE_LOGIN_DIALOG, GqLoginDialog))
37
#define GQ_LOGIN_DIALOG_CLASS(c) (G_TYPE_CHECK_CLASS_CAST((c), GQ_TYPE_LOGIN_DIALOG, GqLoginDialogClass))
38
#define GQ_IS_LOGIN_DIALOG(i) (G_TYPE_CHECK_INSTANCE_TYPE((i), GQ_TYPE_LOGIN_DIALOG))
39
#define GQ_IS_LOGIN_DIALOG_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE((c), GQ_TYPE_LOGIN_DIALOG))
40
#define GQ_LOGIN_DIALOG_GET_CLASS(i) (G_TYPE_INSTANCE_GET_CLASS((i), GQ_TYPE_LOGIN_DIALOG, GqLoginDialogClass))
42
GType gq_login_dialog_get_type (void);
43
GtkWidget * gq_login_dialog_new (GqServer* server);
44
gchar const* gq_login_dialog_get_password (GqLoginDialog const* self);
45
gboolean gq_login_dialog_get_save_password(GqLoginDialog const* self);
49
#endif /* !GQ_LOGIN_DIALOG_H */