From a340c7548c33018798021b6f71d25e6761eaf6a0 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 14 Jan 2010 00:27:48 +0100 Subject: nautilus-sbmanager: adds a 'launch sbmanager' entry to nautilus' context menu --- nautilus/nautilus-sbmanager.h | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 nautilus/nautilus-sbmanager.h (limited to 'nautilus/nautilus-sbmanager.h') diff --git a/nautilus/nautilus-sbmanager.h b/nautilus/nautilus-sbmanager.h new file mode 100644 index 0000000..d3179f8 --- /dev/null +++ b/nautilus/nautilus-sbmanager.h @@ -0,0 +1,54 @@ +/* + * nautilus-sbmanager.h + * + * Copyright (C) 2010 Nikias Bassen + * + * Licensed under the GNU General Public License Version 2 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more profile. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA + */ +#ifndef NAUTILUS_SBMANAGER_H +#define NAUTILUS_SBMANAGER_H + +#include + +G_BEGIN_DECLS + +/* Declarations for the open terminal extension object. This object will be + * instantiated by nautilus. It implements the GInterfaces + * exported by libnautilus. */ + + +#define NAUTILUS_TYPE_SBMANAGER (nautilus_sbmanager_get_type ()) +#define NAUTILUS_SBMANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), NAUTILUS_TYPE_SBMANAGER, NautilusSBManager)) +#define NAUTILUS_IS_SBMANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), NAUTILUS_TYPE_SBMANAGER)) +typedef struct _NautilusSBManager NautilusSBManager; +typedef struct _NautilusSBManagerClass NautilusSBManagerClass; + +struct _NautilusSBManager { + GObject parent_slot; +}; + +struct _NautilusSBManagerClass { + GObjectClass parent_slot; +}; + +GType nautilus_sbmanager_get_type (void); +void nautilus_sbmanager_register_type (GTypeModule *module); + +G_END_DECLS + +#endif -- cgit v1.1-32-gdbae