2 Unix SMB/CIFS implementation.
3 SMB-related GTK+ functions
5 Copyright (C) Jelmer Vernooij 2004
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef __GTK_SELECT_H__
23 #define __GTK_SELECT_H__
29 typedef struct _GtkSelectDomainDialog GtkSelectDomainDialog;
31 struct _GtkSelectDomainDialog
34 GtkWidget *entry_domain;
35 GtkWidget *list_domains;
36 GtkListStore *store_domains;
38 struct dcerpc_pipe *sam_pipe;
41 typedef struct _GtkSelectDomainDialogClass GtkSelectDomainDialogClass;
43 struct _GtkSelectDomainDialogClass
45 GtkDialogClass parent_class;
48 #define GTK_SELECT_DOMAIN_DIALOG(obj) GTK_CHECK_CAST (obj, gtk_rpc_binding_dialog_get_type (), GtkSelectDomainDialog)
49 #define GTK_SELECT_DOMAIN_DIALOG_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_rpc_binding_dialog_class_get_type (), GtkSelectDomainDialogClass)
50 #define IS_GTK_SELECT_DOMAIN_DIALOG(obj) GTK_CHECK_TYPE (obj, gtk_rpc_binding_dialog_get_type ())
52 typedef struct _GtkSelectHostDialog GtkSelectHostDialog;
54 struct _GtkSelectHostDialog
57 GtkWidget *entry_host;
59 GtkTreeStore *store_host;
60 struct dcerpc_pipe *sam_pipe;
64 typedef struct _GtkSelectHostDialogClass GtkSelectHostDialogClass;
66 struct _GtkSelectHostDialogClass
68 GtkDialogClass parent_class;
71 #define GTK_SELECT_HOST_DIALOG(obj) GTK_CHECK_CAST (obj, gtk_rpc_binding_dialog_get_type (), GtkSelectHostDialog)
72 #define GTK_SELECT_HOST_DIALOG_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_rpc_binding_dialog_class_get_type (), GtkSelectHostDialogClass)
73 #define IS_GTK_SELECT_HOST_DIALOG(obj) GTK_CHECK_TYPE (obj, gtk_rpc_binding_dialog_get_type ())