mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
b4aa3c083a
And add a check for the presence of nautilus-sendto to the initialisation of the object. Building the extension is optional, though on by default. https://bugzilla.gnome.org/show_bug.cgi?id=633485
52 lines
1.5 KiB
C
52 lines
1.5 KiB
C
/*
|
|
* Nautilus SendTo extension
|
|
*
|
|
* Copyright (C) 2005 Roberto Majadas
|
|
*
|
|
* This library 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 library 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public
|
|
* License along with this library; if not, write to the Free
|
|
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*
|
|
* Author: Roberto Majadas <roberto.majadas@openshine.com>
|
|
*
|
|
*/
|
|
|
|
#ifndef NAUTILUS_NSTE_H
|
|
#define NAUTILUS_NSTE_H
|
|
|
|
#include <glib-object.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define NAUTILUS_TYPE_NSTE (nautilus_nste_get_type ())
|
|
#define NAUTILUS_NSTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), NAUTILUS_TYPE_NSTE, NautilusNste))
|
|
#define NAUTILUS_IS_NSTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), NAUTILUS_TYPE_NSTE))
|
|
|
|
typedef struct _NautilusNste NautilusNste;
|
|
typedef struct _NautilusNsteClass NautilusNsteClass;
|
|
|
|
struct _NautilusNste {
|
|
GObject __parent;
|
|
gboolean nst_present;
|
|
};
|
|
|
|
struct _NautilusNsteClass {
|
|
GObjectClass __parent;
|
|
};
|
|
|
|
GType nautilus_nste_get_type (void);
|
|
void nautilus_nste_register_type (GTypeModule *module);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* NAUTILUS_NSTE_H */
|