1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- 2 3 caja-vfs-file.h: Subclass of CajaFile to implement the 4 the case of a VFS file. 5 6 Copyright (C) 1999, 2000 Eazel, Inc. 7 8 This program 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. 12 13 This program 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. 17 18 You should have received a copy of the GNU General Public 19 License along with this program; if not, write to the 20 Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 21 Boston, MA 02110-1301, USA. 22 23 Author: Darin Adler <darin@bentspoon.com> 24 */ 25 26 #ifndef CAJA_VFS_FILE_H 27 #define CAJA_VFS_FILE_H 28 29 #include "caja-file.h" 30 31 #define CAJA_TYPE_VFS_FILE caja_vfs_file_get_type() 32 #define CAJA_VFS_FILE(obj) \ 33 (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAJA_TYPE_VFS_FILE, CajaVFSFile)) 34 #define CAJA_VFS_FILE_CLASS(klass) \ 35 (G_TYPE_CHECK_CLASS_CAST ((klass), CAJA_TYPE_VFS_FILE, CajaVFSFileClass)) 36 #define CAJA_IS_VFS_FILE(obj) \ 37 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CAJA_TYPE_VFS_FILE)) 38 #define CAJA_IS_VFS_FILE_CLASS(klass) \ 39 (G_TYPE_CHECK_CLASS_TYPE ((klass), CAJA_TYPE_VFS_FILE)) 40 #define CAJA_VFS_FILE_GET_CLASS(obj) \ 41 (G_TYPE_INSTANCE_GET_CLASS ((obj), CAJA_TYPE_VFS_FILE, CajaVFSFileClass)) 42 43 typedef struct CajaVFSFileDetails CajaVFSFileDetails; 44 45 typedef struct 46 { 47 CajaFile parent_slot; 48 } CajaVFSFile; 49 50 typedef struct 51 { 52 CajaFileClass parent_slot; 53 } CajaVFSFileClass; 54 55 GType caja_vfs_file_get_type (void); 56 57 #endif /* CAJA_VFS_FILE_H */ 58