1 /* 2 nautilus-vfs-directory.h: Subclass of NautilusDirectory to implement the 3 the case of a VFS directory. 4 5 Copyright (C) 1999, 2000 Eazel, Inc. 6 7 This program is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License as 9 published by the Free Software Foundation; either version 2 of the 10 License, or (at your option) any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 General Public License for more details. 16 17 You should have received a copy of the GNU General Public 18 License along with this program; if not, see <http://www.gnu.org/licenses/>. 19 20 Author: Darin Adler <darin@bentspoon.com> 21 */ 22 23 #pragma once 24 25 #include "nautilus-directory.h" 26 27 #define NAUTILUS_TYPE_VFS_DIRECTORY nautilus_vfs_directory_get_type() 28 #define NAUTILUS_VFS_DIRECTORY(obj) \ 29 (G_TYPE_CHECK_INSTANCE_CAST ((obj), NAUTILUS_TYPE_VFS_DIRECTORY, NautilusVFSDirectory)) 30 #define NAUTILUS_VFS_DIRECTORY_CLASS(klass) \ 31 (G_TYPE_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_VFS_DIRECTORY, NautilusVFSDirectoryClass)) 32 #define NAUTILUS_IS_VFS_DIRECTORY(obj) \ 33 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NAUTILUS_TYPE_VFS_DIRECTORY)) 34 #define NAUTILUS_IS_VFS_DIRECTORY_CLASS(klass) \ 35 (G_TYPE_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_VFS_DIRECTORY)) 36 #define NAUTILUS_VFS_DIRECTORY_GET_CLASS(obj) \ 37 (G_TYPE_INSTANCE_GET_CLASS ((obj), NAUTILUS_TYPE_VFS_DIRECTORY, NautilusVFSDirectoryClass)) 38 39 typedef struct NautilusVFSDirectoryDetails NautilusVFSDirectoryDetails; 40 41 typedef struct { 42 NautilusDirectory parent_slot; 43 } NautilusVFSDirectory; 44 45 typedef struct { 46 NautilusDirectoryClass parent_slot; 47 } NautilusVFSDirectoryClass; 48 49 GType nautilus_vfs_directory_get_type (void);