aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-user-dialog.h
blob: b212172b85ba3bb22b077c8089ce3207d2ca3598 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* Copyright (C) 2001-2004 Novell, Inc. */

#ifndef __E2K_USER_DIALOG_H__
#define __E2K_USER_DIALOG_H__

#include <gtk/gtkdialog.h>

#define E2K_TYPE_USER_DIALOG        (e2k_user_dialog_get_type ())
#define E2K_USER_DIALOG(obj)        (G_TYPE_CHECK_INSTANCE_CAST ((obj), E2K_TYPE_USER_DIALOG, E2kUserDialog))
#define E2K_USER_DIALOG_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E2K_TYPE_USER_DIALOG,    \
                     E2kUserDialogClass))
#define E2K_IS_USER_DIALOG(obj)     (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E2K_TYPE_USER_DIALOG))
#define E2K_IS_USER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E2K_TYPE_USER_DIALOG))

typedef struct _E2kUserDialog       E2kUserDialog;
typedef struct _E2kUserDialogClass  E2kUserDialogClass;
typedef struct _E2kUserDialogPrivate    E2kUserDialogPrivate;

struct _E2kUserDialog {
    GtkDialog parent;

    /* Private data */
    E2kUserDialogPrivate *priv;
};

struct _E2kUserDialogClass {
    GtkDialogClass parent_class;
};

GType      e2k_user_dialog_get_type (void);
GtkWidget *e2k_user_dialog_new      (GtkWidget     *parent_window,
                     const char    *label_text,
                     const char    *section_name);
char      *e2k_user_dialog_get_user (E2kUserDialog *dialog);

#endif /* __E2K_USER_DIALOG_H__ */