2008-04-30 Cosimo Cecchi <cosimoc@gnome.org>
[nautilus.git] / src / nautilus-connect-server-dialog.h
blobe4dcf873e4a7b6fa7396f58b5a8799168f4284ff
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /*
4 * Nautilus
6 * Copyright (C) 2003 Red Hat, Inc.
8 * Nautilus is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
13 * Nautilus 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 GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public
19 * License along with this program; see the file COPYING. If not,
20 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef NAUTILUS_CONNECT_SERVER_DIALOG_H
25 #define NAUTILUS_CONNECT_SERVER_DIALOG_H
27 #include <gio/gio.h>
28 #include <gtk/gtkdialog.h>
29 #include "nautilus-window.h"
31 #define NAUTILUS_TYPE_CONNECT_SERVER_DIALOG (nautilus_connect_server_dialog_get_type ())
32 #define NAUTILUS_CONNECT_SERVER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_CONNECT_SERVER_DIALOG, NautilusConnectServerDialog))
33 #define NAUTILUS_CONNECT_SERVER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_CONNECT_SERVER_DIALOG, NautilusConnectServerDialogClass))
34 #define NAUTILUS_IS_CONNECT_SERVER_DIALOG(obj) (G_TYPE_INSTANCE_CHECK_TYPE ((obj), NAUTILUS_TYPE_CONNECT_SERVER_DIALOG)
36 typedef struct _NautilusConnectServerDialog NautilusConnectServerDialog;
37 typedef struct _NautilusConnectServerDialogClass NautilusConnectServerDialogClass;
38 typedef struct _NautilusConnectServerDialogDetails NautilusConnectServerDialogDetails;
40 struct _NautilusConnectServerDialog {
41 GtkDialog parent;
42 NautilusConnectServerDialogDetails *details;
45 struct _NautilusConnectServerDialogClass {
46 GtkDialogClass parent_class;
49 GType nautilus_connect_server_dialog_get_type (void);
50 GtkWidget* nautilus_connect_server_dialog_new (NautilusWindow *window,
51 GFile *location);
53 /* Private internal calls */
55 void nautilus_connect_server_dialog_present_uri (NautilusApplication *application,
56 GFile *location,
57 GtkWidget *widget);
59 #endif /* NAUTILUS_CONNECT_SERVER_DIALOG_H */