2
* Copyright (C) 2002 Ricardo Fern�ndez Pascual
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2, or (at your option)
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
#ifndef __gul_filesystem_autocompletion_h
20
#define __gul_filesystem_autocompletion_h
22
#include <glib-object.h>
29
/* object forward declarations */
31
typedef struct _GulFilesystemAutocompletion GulFilesystemAutocompletion;
32
typedef struct _GulFilesystemAutocompletionClass GulFilesystemAutocompletionClass;
33
typedef struct _GulFilesystemAutocompletionPrivate GulFilesystemAutocompletionPrivate;
36
* FilesystemAutocompletion object
39
#define GUL_TYPE_FILESYSTEM_AUTOCOMPLETION (gul_filesystem_autocompletion_get_type())
40
#define GUL_FILESYSTEM_AUTOCOMPLETION(object) (G_TYPE_CHECK_INSTANCE_CAST((object), \
41
GUL_TYPE_FILESYSTEM_AUTOCOMPLETION,\
42
GulFilesystemAutocompletion))
43
#define GUL_FILESYSTEM_AUTOCOMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
44
GUL_TYPE_FILESYSTEM_AUTOCOMPLETION,\
45
GulFilesystemAutocompletionClass))
46
#define GUL_IS_FILESYSTEM_AUTOCOMPLETION(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), \
47
GUL_TYPE_FILESYSTEM_AUTOCOMPLETION))
48
#define GUL_IS_FILESYSTEM_AUTOCOMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), \
49
GUL_TYPE_FILESYSTEM_AUTOCOMPLETION))
50
#define GUL_FILESYSTEM_AUTOCOMPLETION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
51
GUL_TYPE_FILESYSTEM_AUTOCOMPLETION,\
52
GulFilesystemAutocompletionClass))
54
struct _GulFilesystemAutocompletionClass
56
GObjectClass parent_class;
60
struct _GulFilesystemAutocompletion
62
GObject parent_object;
63
GulFilesystemAutocompletionPrivate *priv;
66
GType gul_filesystem_autocompletion_get_type (void);
67
GulFilesystemAutocompletion * gul_filesystem_autocompletion_new (void);
68
void gul_filesystem_autocompletion_set_base_dir (GulFilesystemAutocompletion *fa, const gchar *d);