~alecu/ubuntuone-client/stop-proxy-tunnel

« back to all changes in this revision

Viewing changes to nautilus/share-dialog.h

  • Committer: Rodney Dawes
  • Date: 2011-07-21 15:24:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1062.
  • Revision ID: rodney.dawes@canonical.com-20110721152402-xp5r1tg5yr02cz94
Moved the GNOME-specific pieces of code to ubuntuone-client-gnome

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * UbuntuOne Nautilus plugin
3
 
 *
4
 
 * Authors: Rodrigo Moya <rodrigo.moya@canonical.com>
5
 
 *
6
 
 * Copyright 2009-2010 Canonical Ltd.
7
 
 *
8
 
 * This program is free software: you can redistribute it and/or modify it
9
 
 * under the terms of the GNU General Public License version 3, as published
10
 
 * by the Free Software Foundation.
11
 
 *
12
 
 * This program is distributed in the hope that it will be useful, but
13
 
 * WITHOUT ANY WARRANTY; without even the implied warranties of
14
 
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
15
 
 * PURPOSE.  See the GNU General Public License for more details.
16
 
 *
17
 
 * You should have received a copy of the GNU General Public License along
18
 
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 
 *
20
 
 */
21
 
 
22
 
#ifndef __SHARE_DIALOG_H__
23
 
#define __SHARE_DIALOG_H__
24
 
 
25
 
#include <gtk/gtk.h>
26
 
#include "ubuntuone-nautilus.h"
27
 
 
28
 
#define TYPE_SHARE_DIALOG                (share_dialog_get_type ())
29
 
#define SHARE_DIALOG(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SHARE_DIALOG, ShareDialog))
30
 
#define IS_SHARE_DIALOG(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SHARE_DIALOG))
31
 
#define SHARE_DIALOG_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SHARE_DIALOG, ShareDialogClass))
32
 
#define IS_SHARE_DIALOG_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SHARE_DIALOG))
33
 
#define SHARE_DIALOG_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SHARE_DIALOG, ShareDialogClass))
34
 
 
35
 
typedef struct {
36
 
        GtkDialog parent;
37
 
 
38
 
        UbuntuOneNautilus *uon;
39
 
        gchar *path;
40
 
        GtkWidget *user_picker;
41
 
        GtkWidget *allow_mods;
42
 
} ShareDialog;
43
 
 
44
 
typedef struct {
45
 
        GtkDialogClass parent_class;
46
 
} ShareDialogClass;
47
 
 
48
 
GType      share_dialog_get_type (void);
49
 
GtkWidget *share_dialog_new (GtkWidget *parent, UbuntuOneNautilus *uon, const gchar *path);
50
 
 
51
 
#endif