1 /* 2 * caja-open-terminal.h 3 * 4 * Copyright (C) 2004, 2005 Free Software Foundation, Inc. 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public 8 * License as published by the Free Software Foundation; either 9 * version 2 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Library General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public 17 * License along with this library; if not, write to the Free 18 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 19 * 20 * Author: Christian Neumair <chris@gnome-de.org> 21 * 22 */ 23 24 #ifndef CAJA_OPEN_TERMINAL_H 25 #define CAJA_OPEN_TERMINAL_H 26 27 #include <glib-object.h> 28 29 G_BEGIN_DECLS 30 31 /* Declarations for the open terminal extension object. This object will be 32 * instantiated by caja. It implements the GInterfaces 33 * exported by libcaja. */ 34 35 36 #define CAJA_TYPE_OPEN_TERMINAL (caja_open_terminal_get_type ()) 37 #define CAJA_OPEN_TERMINAL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CAJA_TYPE_OPEN_TERMINAL, CajaOpenTerminal)) 38 #define CAJA_IS_OPEN_TERMINAL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CAJA_TYPE_OPEN_TERMINAL)) 39 typedef struct _CajaOpenTerminal CajaOpenTerminal; 40 typedef struct _CajaOpenTerminalClass CajaOpenTerminalClass; 41 42 struct _CajaOpenTerminal { 43 GObject parent_slot; 44 }; 45 46 struct _CajaOpenTerminalClass { 47 GObjectClass parent_slot; 48 }; 49 50 GType caja_open_terminal_get_type (void); 51 void caja_open_terminal_register_type (GTypeModule *module); 52 53 G_END_DECLS 54 55 #endif 56