summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystemwin32.h
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2003-11-15 20:35:55 +0000
committerHans Breuer <hans@src.gnome.org>2003-11-15 20:35:55 +0000
commit947b32b7dcaf233f3c2bb9a38fb07c2c64a1ee0b (patch)
tree291ecb13f1f016b39addcbe1d9f84c551f5d982e /gtk/gtkfilesystemwin32.h
parent9e831c8b8ea506d02e31d4aefa86f49a29a395a6 (diff)
downloadgdk-pixbuf-947b32b7dcaf233f3c2bb9a38fb07c2c64a1ee0b.tar.gz
updated added all the new tests
2003-11-15 Hans Breuer <hans@breuer.org> * gdk/makefile.msc gdk/gdk.def gtk/gtk.def gtk/makefile.msc.in : updated * tests/makefile.msc : added all the new tests * gtk/gtkfilefilter.c(finalize) : initialize filter from object not from itself * gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc] modified as less as posible to have aworking implementation on win32. There maybe the desire to merge the unchanged pats into a common base class. Also implemented a simple glib based bookmark handling, which is currently missing in gtkfilesystemunix.[hc] but can be copied over there. * gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h * gdk/win32/gdkwindow-win32.c : implement gdk_window_set_keep_above() and gdk_window_set_keep_below() * tests/testmerge.c : don't include unistd.h unconditionally, #define STDOUT_FILENO if it isn't defined * tests/testfilechooser.c : make it compile on win32
Diffstat (limited to 'gtk/gtkfilesystemwin32.h')
-rw-r--r--gtk/gtkfilesystemwin32.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/gtk/gtkfilesystemwin32.h b/gtk/gtkfilesystemwin32.h
new file mode 100644
index 000000000..2c2e6d540
--- /dev/null
+++ b/gtk/gtkfilesystemwin32.h
@@ -0,0 +1,40 @@
+/* GTK - The GIMP Toolkit
+ * gtkfilesystemunix.h: Default implementation of GtkFileSystem for UNIX-like systems
+ * Copyright (C) 2003, Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GTK_FILE_SYSTEM_UNIX_H__
+#define __GTK_FILE_SYSTEM_UNIX_H__
+
+#include <glib-object.h>
+#include "gtkfilesystem.h"
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_FILE_SYSTEM_UNIX (gtk_file_system_unix_get_type ())
+#define GTK_FILE_SYSTEM_UNIX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_SYSTEM_UNIX, GtkFileSystemUnix))
+#define GTK_IS_FILE_SYSTEM_UNIX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_SYSTEM_UNIX))
+
+typedef struct _GtkFileSystemUnix GtkFileSystemUnix;
+
+GtkFileSystem *gtk_file_system_unix_new (void);
+GType gtk_file_system_unix_get_type (void);
+
+G_END_DECLS
+
+#endif /* __GTK_FILE_SYSTEM_UNIX_H__ */