diff options
Diffstat (limited to 'lib-x86-64/gtk-2.12.12/usr/include/glib-2.0')
119 files changed, 0 insertions, 18495 deletions
diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gappinfo.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gappinfo.h deleted file mode 100644 index d0fddf75..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gappinfo.h +++ /dev/null @@ -1,242 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_APP_INFO_H__ -#define __G_APP_INFO_H__ - -#include <glib-object.h> -#include <gio/gicon.h> - -G_BEGIN_DECLS - -#define G_TYPE_APP_INFO (g_app_info_get_type ()) -#define G_APP_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_APP_INFO, GAppInfo)) -#define G_IS_APP_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_APP_INFO)) -#define G_APP_INFO_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_APP_INFO, GAppInfoIface)) - -#define G_TYPE_APP_LAUNCH_CONTEXT (g_app_launch_context_get_type ()) -#define G_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_APP_LAUNCH_CONTEXT, GAppLaunchContext)) -#define G_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_APP_LAUNCH_CONTEXT, GAppLaunchContextClass)) -#define G_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_APP_LAUNCH_CONTEXT)) -#define G_IS_APP_LAUNCH_CONTEXT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_APP_LAUNCH_CONTEXT)) -#define G_APP_LAUNCH_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_APP_LAUNCH_CONTEXT, GAppLaunchContextClass)) - -/** - * GAppInfoCreateFlags: - * @G_APP_INFO_CREATE_NONE: No flags. - * @G_APP_INFO_CREATE_NEEDS_TERMINAL: Application opens in a terminal window. - * @G_APP_INFO_CREATE_SUPPORTS_URIS: Application supports URI arguments. - * - * Flags used when creating a #GAppInfo. - */ -typedef enum { - G_APP_INFO_CREATE_NONE = 0, /*< nick=none >*/ - G_APP_INFO_CREATE_NEEDS_TERMINAL = (1<<0), /*< nick=needs-terminal >*/ - G_APP_INFO_CREATE_SUPPORTS_URIS = (1<<1) /*< nick=supports-uris >*/ -} GAppInfoCreateFlags; - -typedef struct _GAppLaunchContext GAppLaunchContext; -typedef struct _GAppLaunchContextClass GAppLaunchContextClass; -typedef struct _GAppLaunchContextPrivate GAppLaunchContextPrivate; - -/** - * GAppInfo: - * - * Information about an installed application and methods to launch - * it (with file arguments). - */ -typedef struct _GAppInfo GAppInfo; /* Dummy typedef */ - -/** - * GAppInfoIface: - * @g_iface: The parent interface. - * @dup: Copies a #GAppInfo. - * @equal: Checks two #GAppInfo<!-- -->s for equality. - * @get_id: Gets a string identifier for a #GAppInfo. - * @get_name: Gets the name of the application for a #GAppInfo. - * @get_description: Gets a short description for the application described by the #GAppInfo. - * @get_executable: Gets the execuable name for the #GAppInfo. - * @get_icon: Gets the #GIcon for the #GAppInfo. - * @launch: Launches an application specified by the #GAppInfo. - * @supports_uris: Indicates whether the application specified supports launching URIs. - * @supports_files: Indicates whether the application specified accepts filename arguments. - * @launch_uris: Launches an application with a list of URIs. - * @should_show: Returns whether an application should be shown (e.g. when getting a list of installed applications). - * <ulink url="http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt"> - * <citetitle>FreeDesktop.Org Startup Notification Specification</citetitle></ulink>. - * @set_as_default_for_type: Sets an application as default for a given content type. - * @set_as_default_for_extension: Sets an application as default for a given file extention. - * @add_supports_type: Adds to the #GAppInfo information about supported file types. - * @can_remove_supports_type: Checks for support for removing supported file types from a #GAppInfo. - * @remove_supports_type: Removes a supported application type from a #GAppInfo. - * - * Application Information interface, for operating system portability. - */ -typedef struct _GAppInfoIface GAppInfoIface; - -struct _GAppInfoIface -{ - GTypeInterface g_iface; - - /* Virtual Table */ - - GAppInfo * (*dup) (GAppInfo *appinfo); - gboolean (*equal) (GAppInfo *appinfo1, - GAppInfo *appinfo2); - const char * (*get_id) (GAppInfo *appinfo); - const char * (*get_name) (GAppInfo *appinfo); - const char * (*get_description) (GAppInfo *appinfo); - const char * (*get_executable) (GAppInfo *appinfo); - GIcon * (*get_icon) (GAppInfo *appinfo); - gboolean (*launch) (GAppInfo *appinfo, - GList *filenames, - GAppLaunchContext *launch_context, - GError **error); - gboolean (*supports_uris) (GAppInfo *appinfo); - gboolean (*supports_files) (GAppInfo *appinfo); - gboolean (*launch_uris) (GAppInfo *appinfo, - GList *uris, - GAppLaunchContext *launch_context, - GError **error); - gboolean (*should_show) (GAppInfo *appinfo); - - /* For changing associations */ - gboolean (*set_as_default_for_type) (GAppInfo *appinfo, - const char *content_type, - GError **error); - gboolean (*set_as_default_for_extension) (GAppInfo *appinfo, - const char *extension, - GError **error); - gboolean (*add_supports_type) (GAppInfo *appinfo, - const char *content_type, - GError **error); - gboolean (*can_remove_supports_type) (GAppInfo *appinfo); - gboolean (*remove_supports_type) (GAppInfo *appinfo, - const char *content_type, - GError **error); -}; - -GType g_app_info_get_type (void) G_GNUC_CONST; -GType g_app_launch_context_get_type (void) G_GNUC_CONST; - -GAppInfo * g_app_info_create_from_commandline (const char *commandline, - const char *application_name, - GAppInfoCreateFlags flags, - GError **error); -GAppInfo * g_app_info_dup (GAppInfo *appinfo); -gboolean g_app_info_equal (GAppInfo *appinfo1, - GAppInfo *appinfo2); -const char *g_app_info_get_id (GAppInfo *appinfo); -const char *g_app_info_get_name (GAppInfo *appinfo); -const char *g_app_info_get_description (GAppInfo *appinfo); -const char *g_app_info_get_executable (GAppInfo *appinfo); -GIcon * g_app_info_get_icon (GAppInfo *appinfo); -gboolean g_app_info_launch (GAppInfo *appinfo, - GList *files, - GAppLaunchContext *launch_context, - GError **error); -gboolean g_app_info_supports_uris (GAppInfo *appinfo); -gboolean g_app_info_supports_files (GAppInfo *appinfo); -gboolean g_app_info_launch_uris (GAppInfo *appinfo, - GList *uris, - GAppLaunchContext *launch_context, - GError **error); -gboolean g_app_info_should_show (GAppInfo *appinfo); - -gboolean g_app_info_set_as_default_for_type (GAppInfo *appinfo, - const char *content_type, - GError **error); -gboolean g_app_info_set_as_default_for_extension (GAppInfo *appinfo, - const char *extension, - GError **error); -gboolean g_app_info_add_supports_type (GAppInfo *appinfo, - const char *content_type, - GError **error); -gboolean g_app_info_can_remove_supports_type (GAppInfo *appinfo); -gboolean g_app_info_remove_supports_type (GAppInfo *appinfo, - const char *content_type, - GError **error); - -GList * g_app_info_get_all (void); -GList * g_app_info_get_all_for_type (const char *content_type); -GAppInfo *g_app_info_get_default_for_type (const char *content_type, - gboolean must_support_uris); -GAppInfo *g_app_info_get_default_for_uri_scheme (const char *uri_scheme); - -gboolean g_app_info_launch_default_for_uri (const char *uri, - GAppLaunchContext *launch_context, - GError **error); - -/** - * GAppLaunchContext: - * @parent_instance: The parent instance. - * - * Integrating the launch with the launching application. This is used to - * handle for instance startup notification and launching the new application - * on the same screen as the launching window. - */ -struct _GAppLaunchContext -{ - GObject parent_instance; - - /*< private >*/ - GAppLaunchContextPrivate *priv; -}; - -struct _GAppLaunchContextClass -{ - GObjectClass parent_class; - - char * (*get_display) (GAppLaunchContext *context, - GAppInfo *info, - GList *files); - char * (*get_startup_notify_id) (GAppLaunchContext *context, - GAppInfo *info, - GList *files); - void (*launch_failed) (GAppLaunchContext *context, - const char *startup_notify_id); - - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - -GAppLaunchContext *g_app_launch_context_new (void); -char * g_app_launch_context_get_display (GAppLaunchContext *context, - GAppInfo *info, - GList *files); -char * g_app_launch_context_get_startup_notify_id (GAppLaunchContext *context, - GAppInfo *info, - GList *files); -void g_app_launch_context_launch_failed (GAppLaunchContext *context, - const char * startup_notify_id); - -G_END_DECLS - -#endif /* __G_APP_INFO_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gasyncresult.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gasyncresult.h deleted file mode 100644 index 640d6111..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gasyncresult.h +++ /dev/null @@ -1,86 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_ASYNC_RESULT_H__ -#define __G_ASYNC_RESULT_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -#define G_TYPE_ASYNC_RESULT (g_async_result_get_type ()) -#define G_ASYNC_RESULT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_ASYNC_RESULT, GAsyncResult)) -#define G_IS_ASYNC_RESULT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_ASYNC_RESULT)) -#define G_ASYNC_RESULT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_ASYNC_RESULT, GAsyncResultIface)) - -/** - * GAsyncResult: - * - * Holds results information for an asynchronous operation, - * usually passed directly to a asynchronous _finish() operation. - **/ -typedef struct _GAsyncResult GAsyncResult; /* Dummy typedef */ -typedef struct _GAsyncResultIface GAsyncResultIface; - -/** - * GAsyncReadyCallback: - * @source_object: the object the asynchronous operation was started with. - * @res: a #GAsyncResult. - * @user_data: user data passed to the callback. - * - * Type definition for a function that will be called back when an asynchronous - * operation within GIO has been completed. - **/ -typedef void (*GAsyncReadyCallback) (GObject *source_object, - GAsyncResult *res, - gpointer user_data); - -/** - * GAsyncResultIface: - * @g_iface: The parent interface. - * @get_user_data: Gets the user data passed to the callback. - * @get_source_object: Gets the source object that issued the asynchronous operation. - * - * Interface definition for #GAsyncResult. - **/ -struct _GAsyncResultIface -{ - GTypeInterface g_iface; - - /* Virtual Table */ - - gpointer (*get_user_data) (GAsyncResult *async_result); - GObject * (*get_source_object) (GAsyncResult *async_result); -}; - -GType g_async_result_get_type (void) G_GNUC_CONST; - -gpointer g_async_result_get_user_data (GAsyncResult *res); -GObject *g_async_result_get_source_object (GAsyncResult *res); - -G_END_DECLS - -#endif /* __G_ASYNC_RESULT_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gbufferedinputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gbufferedinputstream.h deleted file mode 100644 index 3eea4f9b..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gbufferedinputstream.h +++ /dev/null @@ -1,126 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Christian Kellner <gicmo@gnome.org> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_BUFFERED_INPUT_STREAM_H__ -#define __G_BUFFERED_INPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/gfilterinputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_BUFFERED_INPUT_STREAM (g_buffered_input_stream_get_type ()) -#define G_BUFFERED_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_BUFFERED_INPUT_STREAM, GBufferedInputStream)) -#define G_BUFFERED_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_BUFFERED_INPUT_STREAM, GBufferedInputStreamClass)) -#define G_IS_BUFFERED_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_BUFFERED_INPUT_STREAM)) -#define G_IS_BUFFERED_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_BUFFERED_INPUT_STREAM)) -#define G_BUFFERED_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_BUFFERED_INPUT_STREAM, GBufferedInputStreamClass)) - -/** - * GBufferedInputStream: - * - * Implements #GFilterInputStream with a sized input buffer. - **/ -typedef struct _GBufferedInputStream GBufferedInputStream; -typedef struct _GBufferedInputStreamClass GBufferedInputStreamClass; -typedef struct _GBufferedInputStreamPrivate GBufferedInputStreamPrivate; - -struct _GBufferedInputStream -{ - GFilterInputStream parent_instance; - - /*< private >*/ - GBufferedInputStreamPrivate *priv; -}; - -struct _GBufferedInputStreamClass -{ - GFilterInputStreamClass parent_class; - - gssize (* fill) (GBufferedInputStream *stream, - gssize count, - GCancellable *cancellable, - GError **error); - - /* Async ops: (optional in derived classes) */ - void (* fill_async) (GBufferedInputStream *stream, - gssize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gssize (* fill_finish) (GBufferedInputStream *stream, - GAsyncResult *result, - GError **error); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - - -GType g_buffered_input_stream_get_type (void) G_GNUC_CONST; -GInputStream* g_buffered_input_stream_new (GInputStream *base_stream); -GInputStream* g_buffered_input_stream_new_sized (GInputStream *base_stream, - gsize size); - -gsize g_buffered_input_stream_get_buffer_size (GBufferedInputStream *stream); -void g_buffered_input_stream_set_buffer_size (GBufferedInputStream *stream, - gsize size); -gsize g_buffered_input_stream_get_available (GBufferedInputStream *stream); -gsize g_buffered_input_stream_peek (GBufferedInputStream *stream, - void *buffer, - gsize offset, - gsize count); -const void* g_buffered_input_stream_peek_buffer (GBufferedInputStream *stream, - gsize *count); - -gssize g_buffered_input_stream_fill (GBufferedInputStream *stream, - gssize count, - GCancellable *cancellable, - GError **error); -void g_buffered_input_stream_fill_async (GBufferedInputStream *stream, - gssize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gssize g_buffered_input_stream_fill_finish (GBufferedInputStream *stream, - GAsyncResult *result, - GError **error); - -int g_buffered_input_stream_read_byte (GBufferedInputStream *stream, - GCancellable *cancellable, - GError **error); - - -G_END_DECLS - -#endif /* __G_BUFFERED_INPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gbufferedoutputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gbufferedoutputstream.h deleted file mode 100644 index 5adce9e1..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gbufferedoutputstream.h +++ /dev/null @@ -1,87 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Christian Kellner <gicmo@gnome.org> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_BUFFERED_OUTPUT_STREAM_H__ -#define __G_BUFFERED_OUTPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/gfilteroutputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_BUFFERED_OUTPUT_STREAM (g_buffered_output_stream_get_type ()) -#define G_BUFFERED_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_BUFFERED_OUTPUT_STREAM, GBufferedOutputStream)) -#define G_BUFFERED_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_BUFFERED_OUTPUT_STREAM, GBufferedOutputStreamClass)) -#define G_IS_BUFFERED_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_BUFFERED_OUTPUT_STREAM)) -#define G_IS_BUFFERED_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_BUFFERED_OUTPUT_STREAM)) -#define G_BUFFERED_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_BUFFERED_OUTPUT_STREAM, GBufferedOutputStreamClass)) - -/** - * GBufferedOutputStream: - * @parent_class: The parent class. - * - * An implementation of #GFilterOutputStream with a sized buffer. - **/ -typedef struct _GBufferedOutputStream GBufferedOutputStream; -typedef struct _GBufferedOutputStreamClass GBufferedOutputStreamClass; -typedef struct _GBufferedOutputStreamPrivate GBufferedOutputStreamPrivate; - -struct _GBufferedOutputStream -{ - GFilterOutputStream parent_instance; - - /*< protected >*/ - GBufferedOutputStreamPrivate *priv; -}; - -struct _GBufferedOutputStreamClass -{ - GOutputStreamClass parent_class; - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - - -GType g_buffered_output_stream_get_type (void) G_GNUC_CONST; -GOutputStream* g_buffered_output_stream_new (GOutputStream *base_stream); -GOutputStream* g_buffered_output_stream_new_sized (GOutputStream *base_stream, - gsize size); -gsize g_buffered_output_stream_get_buffer_size (GBufferedOutputStream *stream); -void g_buffered_output_stream_set_buffer_size (GBufferedOutputStream *stream, - gsize size); -gboolean g_buffered_output_stream_get_auto_grow (GBufferedOutputStream *stream); -void g_buffered_output_stream_set_auto_grow (GBufferedOutputStream *stream, - gboolean auto_grow); - -G_END_DECLS - -#endif /* __G_BUFFERED_OUTPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gcancellable.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gcancellable.h deleted file mode 100644 index 7c890be9..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gcancellable.h +++ /dev/null @@ -1,84 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_CANCELLABLE_H__ -#define __G_CANCELLABLE_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -#define G_TYPE_CANCELLABLE (g_cancellable_get_type ()) -#define G_CANCELLABLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_CANCELLABLE, GCancellable)) -#define G_CANCELLABLE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_CANCELLABLE, GCancellableClass)) -#define G_IS_CANCELLABLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_CANCELLABLE)) -#define G_IS_CANCELLABLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_CANCELLABLE)) -#define G_CANCELLABLE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_CANCELLABLE, GCancellableClass)) - -/** - * GCancellable: - * - * Allows actions to be cancelled. - */ -typedef struct _GCancellable GCancellable; -typedef struct _GCancellableClass GCancellableClass; - -struct _GCancellableClass -{ - GObjectClass parent_class; - - void (* cancelled) (GCancellable *cancellable); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - -GType g_cancellable_get_type (void) G_GNUC_CONST; - -GCancellable *g_cancellable_new (void); - -/* These are only safe to call inside a cancellable op */ -gboolean g_cancellable_is_cancelled (GCancellable *cancellable); -gboolean g_cancellable_set_error_if_cancelled (GCancellable *cancellable, - GError **error); -int g_cancellable_get_fd (GCancellable *cancellable); -GCancellable *g_cancellable_get_current (void); -void g_cancellable_push_current (GCancellable *cancellable); -void g_cancellable_pop_current (GCancellable *cancellable); -void g_cancellable_reset (GCancellable *cancellable); - - -/* This is safe to call from another thread */ -void g_cancellable_cancel (GCancellable *cancellable); - -G_END_DECLS - -#endif /* __G_CANCELLABLE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gcontenttype.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gcontenttype.h deleted file mode 100644 index 9dcbf149..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gcontenttype.h +++ /dev/null @@ -1,54 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_CONTENT_TYPE_H__ -#define __G_CONTENT_TYPE_H__ - -#include <glib.h> -#include <gio/gicon.h> - -G_BEGIN_DECLS - -gboolean g_content_type_equals (const char *type1, - const char *type2); -gboolean g_content_type_is_a (const char *type, - const char *supertype); -gboolean g_content_type_is_unknown (const char *type); -char * g_content_type_get_description (const char *type); -char * g_content_type_get_mime_type (const char *type); -GIcon * g_content_type_get_icon (const char *type); -gboolean g_content_type_can_be_executable (const char *type); - -char * g_content_type_guess (const char *filename, - const guchar *data, - gsize data_size, - gboolean *result_uncertain ); - -GList * g_content_types_get_registered (void); - -G_END_DECLS - -#endif /* __G_CONTENT_TYPE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdatainputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdatainputstream.h deleted file mode 100644 index 0ecd14f5..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdatainputstream.h +++ /dev/null @@ -1,147 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_DATA_INPUT_STREAM_H__ -#define __G_DATA_INPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/gbufferedinputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_DATA_INPUT_STREAM (g_data_input_stream_get_type ()) -#define G_DATA_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DATA_INPUT_STREAM, GDataInputStream)) -#define G_DATA_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_DATA_INPUT_STREAM, GDataInputStreamClass)) -#define G_IS_DATA_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DATA_INPUT_STREAM)) -#define G_IS_DATA_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DATA_INPUT_STREAM)) -#define G_DATA_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_DATA_INPUT_STREAM, GDataInputStreamClass)) - -/** - * GDataInputStream: - * @parent: a #GBufferedInputStream. - * - * An implementation of #GBufferedInputStream that allows for high-level - * data manipulation of arbitrary data (including binary operations). - **/ -typedef struct _GDataInputStream GDataInputStream; -typedef struct _GDataInputStreamClass GDataInputStreamClass; -typedef struct _GDataInputStreamPrivate GDataInputStreamPrivate; - -struct _GDataInputStream -{ - GBufferedInputStream parent_instance; - - /*< private >*/ - GDataInputStreamPrivate *priv; -}; - -struct _GDataInputStreamClass -{ - GBufferedInputStreamClass parent_class; - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - -/** - * GDataStreamByteOrder: - * @G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: Selects Big Endian byte order. - * @G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: Selects Little Endian byte order. - * @G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: Selects endianness based on host machine's architecture. - * - * #GDataStreamByteOrder is used to ensure proper endianness of streaming data sources - * across various machine architectures. - * - **/ -typedef enum { - G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN, - G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN, - G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN -} GDataStreamByteOrder; - -/** - * GDataStreamNewlineType: - * @G_DATA_STREAM_NEWLINE_TYPE_LF: Selects "LF" line endings, common on most modern UNIX platforms. - * @G_DATA_STREAM_NEWLINE_TYPE_CR: Selects "CR" line endings. - * @G_DATA_STREAM_NEWLINE_TYPE_CR_LF: Selects "CR, LF" line ending, common on Microsoft Windows. - * @G_DATA_STREAM_NEWLINE_TYPE_ANY: Automatically try to handle any line ending type. - * - * #GDataStreamNewlineType is used when checking for or setting the line endings for a given file. - **/ -typedef enum { - G_DATA_STREAM_NEWLINE_TYPE_LF, - G_DATA_STREAM_NEWLINE_TYPE_CR, - G_DATA_STREAM_NEWLINE_TYPE_CR_LF, - G_DATA_STREAM_NEWLINE_TYPE_ANY -} GDataStreamNewlineType; - -GType g_data_input_stream_get_type (void) G_GNUC_CONST; -GDataInputStream* g_data_input_stream_new (GInputStream *base_stream); - -void g_data_input_stream_set_byte_order (GDataInputStream *stream, - GDataStreamByteOrder order); -GDataStreamByteOrder g_data_input_stream_get_byte_order (GDataInputStream *stream); -void g_data_input_stream_set_newline_type (GDataInputStream *stream, - GDataStreamNewlineType type); -GDataStreamNewlineType g_data_input_stream_get_newline_type (GDataInputStream *stream); -guchar g_data_input_stream_read_byte (GDataInputStream *stream, - GCancellable *cancellable, - GError **error); -gint16 g_data_input_stream_read_int16 (GDataInputStream *stream, - GCancellable *cancellable, - GError **error); -guint16 g_data_input_stream_read_uint16 (GDataInputStream *stream, - GCancellable *cancellable, - GError **error); -gint32 g_data_input_stream_read_int32 (GDataInputStream *stream, - GCancellable *cancellable, - GError **error); -guint32 g_data_input_stream_read_uint32 (GDataInputStream *stream, - GCancellable *cancellable, - GError **error); -gint64 g_data_input_stream_read_int64 (GDataInputStream *stream, - GCancellable *cancellable, - GError **error); -guint64 g_data_input_stream_read_uint64 (GDataInputStream *stream, - GCancellable *cancellable, - GError **error); -char * g_data_input_stream_read_line (GDataInputStream *stream, - gsize *length, - GCancellable *cancellable, - GError **error); -char * g_data_input_stream_read_until (GDataInputStream *stream, - const gchar *stop_chars, - gsize *length, - GCancellable *cancellable, - GError **error); - -G_END_DECLS - -#endif /* __G_DATA_INPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdataoutputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdataoutputstream.h deleted file mode 100644 index 7a4e4055..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdataoutputstream.h +++ /dev/null @@ -1,117 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_DATA_OUTPUT_STREAM_H__ -#define __G_DATA_OUTPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/gfilteroutputstream.h> -#include <gio/gdatainputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_DATA_OUTPUT_STREAM (g_data_output_stream_get_type ()) -#define G_DATA_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DATA_OUTPUT_STREAM, GDataOutputStream)) -#define G_DATA_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_DATA_OUTPUT_STREAM, GDataOutputStreamClass)) -#define G_IS_DATA_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DATA_OUTPUT_STREAM)) -#define G_IS_DATA_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DATA_OUTPUT_STREAM)) -#define G_DATA_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_DATA_OUTPUT_STREAM, GDataOutputStreamClass)) - -/** - * GDataOutputStream: - * @parent_instance: a #GBufferedOutputStream. - * - * An implementation of #GBufferedOutputStream that allows for high-level - * data manipulation of arbitrary data (including binary operations). - **/ -typedef struct _GDataOutputStream GDataOutputStream; -typedef struct _GDataOutputStreamClass GDataOutputStreamClass; -typedef struct _GDataOutputStreamPrivate GDataOutputStreamPrivate; - -struct _GDataOutputStream -{ - GFilterOutputStream parent_instance; - - /*< private >*/ - GDataOutputStreamPrivate *priv; -}; - -struct _GDataOutputStreamClass -{ - GFilterOutputStreamClass parent_class; - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - - -GType g_data_output_stream_get_type (void) G_GNUC_CONST; -GDataOutputStream* g_data_output_stream_new (GOutputStream *base_stream); - -void g_data_output_stream_set_byte_order (GDataOutputStream *stream, - GDataStreamByteOrder order); -GDataStreamByteOrder g_data_output_stream_get_byte_order (GDataOutputStream *stream); - -gboolean g_data_output_stream_put_byte (GDataOutputStream *stream, - guchar data, - GCancellable *cancellable, - GError **error); -gboolean g_data_output_stream_put_int16 (GDataOutputStream *stream, - gint16 data, - GCancellable *cancellable, - GError **error); -gboolean g_data_output_stream_put_uint16 (GDataOutputStream *stream, - guint16 data, - GCancellable *cancellable, - GError **error); -gboolean g_data_output_stream_put_int32 (GDataOutputStream *stream, - gint32 data, - GCancellable *cancellable, - GError **error); -gboolean g_data_output_stream_put_uint32 (GDataOutputStream *stream, - guint32 data, - GCancellable *cancellable, - GError **error); -gboolean g_data_output_stream_put_int64 (GDataOutputStream *stream, - gint64 data, - GCancellable *cancellable, - GError **error); -gboolean g_data_output_stream_put_uint64 (GDataOutputStream *stream, - guint64 data, - GCancellable *cancellable, - GError **error); -gboolean g_data_output_stream_put_string (GDataOutputStream *stream, - const char *str, - GCancellable *cancellable, - GError **error); - -G_END_DECLS - -#endif /* __G_DATA_OUTPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdrive.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdrive.h deleted file mode 100644 index 26671b91..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gdrive.h +++ /dev/null @@ -1,144 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - * David Zeuthen <davidz@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_DRIVE_H__ -#define __G_DRIVE_H__ - -#include <glib-object.h> -#include <gio/gmount.h> -#include <gio/gvolume.h> -#include <gio/gmountoperation.h> - -G_BEGIN_DECLS - -#define G_TYPE_DRIVE (g_drive_get_type ()) -#define G_DRIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_DRIVE, GDrive)) -#define G_IS_DRIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DRIVE)) -#define G_DRIVE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_DRIVE, GDriveIface)) - -/** - * GDriveIface: - * @g_iface: The parent interface. - * @changed: Signal emitted when the drive is changed. - * @disconnected: The removed signal that is emitted when the #GDrive have been disconnected. If the recipient is holding references to the object they should release them so the object can be finalized. - * @eject_button: Signal emitted when the physical eject button (if any) of a drive have been pressed. - * @get_name: Returns the name for the given #GDrive. - * @get_icon: Returns a #GIcon for the given #GDrive. - * @has_volumes: Returns %TRUE if the #GDrive has mountable volumes. - * @get_volumes: Returns a list #GList of #GVolume for the #GDrive. - * @is_media_removable: Returns %TRUE if the #GDrive supports removal and insertion of media. - * @has_media: Returns %TRUE if the #GDrive has media inserted. - * @is_media_check_automatic: Returns %TRUE if the #GDrive is capabable of automatically detecting media changes. - * @can_poll_for_media: Returns %TRUE if the #GDrive is capable of manually polling for media change. - * @can_eject: Returns %TRUE if the #GDrive can eject media. - * @eject: Ejects a #GDrive. - * @eject_finish: Finishes an eject operation. - * @poll_for_media: Poll for media insertion/removal on a #GDrive. - * @poll_for_media_finish: Finishes a media poll operation. - * @get_identifier: Returns the identifier of the given kind, or %NULL if - * the #GDrive doesn't have one. - * @enumerate_identifiers: Returns an array strings listing the kinds - * of identifiers which the #GDrive has. - * - * - * Interface for creating #GDrive implementations. - */ -typedef struct _GDriveIface GDriveIface; - -struct _GDriveIface -{ - GTypeInterface g_iface; - - /* signals */ - void (*changed) (GDrive *drive); - void (*disconnected) (GDrive *drive); - void (*eject_button) (GDrive *drive); - - /* Virtual Table */ - char * (*get_name) (GDrive *drive); - GIcon * (*get_icon) (GDrive *drive); - gboolean (*has_volumes) (GDrive *drive); - GList * (*get_volumes) (GDrive *drive); - gboolean (*is_media_removable) (GDrive *drive); - gboolean (*has_media) (GDrive *drive); - gboolean (*is_media_check_automatic) (GDrive *drive); - gboolean (*can_eject) (GDrive *drive); - gboolean (*can_poll_for_media) (GDrive *drive); - void (*eject) (GDrive *drive, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*eject_finish) (GDrive *drive, - GAsyncResult *result, - GError **error); - void (*poll_for_media) (GDrive *drive, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*poll_for_media_finish) (GDrive *drive, - GAsyncResult *result, - GError **error); - - char * (*get_identifier) (GDrive *drive, - const char *kind); - char ** (*enumerate_identifiers) (GDrive *drive); -}; - -GType g_drive_get_type (void) G_GNUC_CONST; - -char * g_drive_get_name (GDrive *drive); -GIcon * g_drive_get_icon (GDrive *drive); -gboolean g_drive_has_volumes (GDrive *drive); -GList * g_drive_get_volumes (GDrive *drive); -gboolean g_drive_is_media_removable (GDrive *drive); -gboolean g_drive_has_media (GDrive *drive); -gboolean g_drive_is_media_check_automatic (GDrive *drive); -gboolean g_drive_can_poll_for_media (GDrive *drive); -gboolean g_drive_can_eject (GDrive *drive); -void g_drive_eject (GDrive *drive, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_drive_eject_finish (GDrive *drive, - GAsyncResult *result, - GError **error); -void g_drive_poll_for_media (GDrive *drive, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_drive_poll_for_media_finish (GDrive *drive, - GAsyncResult *result, - GError **error); -char * g_drive_get_identifier (GDrive *drive, - const char *kind); -char ** g_drive_enumerate_identifiers (GDrive *drive); - -G_END_DECLS - -#endif /* __G_DRIVE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfile.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfile.h deleted file mode 100644 index a67b72eb..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfile.h +++ /dev/null @@ -1,929 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILE_H__ -#define __G_FILE_H__ - -#include <glib-object.h> -#include <gio/gfileinfo.h> -#include <gio/gfileenumerator.h> -#include <gio/gfileinputstream.h> -#include <gio/gfileoutputstream.h> -#include <gio/gmountoperation.h> -#include <gio/gappinfo.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILE (g_file_get_type ()) -#define G_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_FILE, GFile)) -#define G_IS_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_FILE)) -#define G_FILE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_FILE, GFileIface)) - -/** - * GFileQueryInfoFlags: - * @G_FILE_QUERY_INFO_NONE: No flags set. - * @G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: Don't follow symlinks. - * - * Flags used when querying a #GFileInfo. - */ -typedef enum { - G_FILE_QUERY_INFO_NONE = 0, - G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS = (1<<0) /*< nick=nofollow-symlinks >*/ -} GFileQueryInfoFlags; - -/** - * GFileCreateFlags: - * @G_FILE_CREATE_NONE: No flags set. - * @G_FILE_CREATE_PRIVATE: Create a file that can only be - * accessed by the current user. - * - * Flags used when an operation may create a file. - */ -typedef enum { - G_FILE_CREATE_NONE = 0, - G_FILE_CREATE_PRIVATE = (1<<0) -} GFileCreateFlags; - - -/** - * GMountMountFlags: - * @G_MOUNT_MOUNT_NONE: No flags set. - * - * Flags used when mounting a mount. - */ -typedef enum { - G_MOUNT_MOUNT_NONE = 0 -} GMountMountFlags; - - -/** - * GMountUnmountFlags: - * @G_MOUNT_UNMOUNT_NONE: No flags set. - * @G_MOUNT_UNMOUNT_FORCE: Unmount even if there are outstanding - * file operations on the mount. - * - * Flags used when an unmounting a mount. - */ -typedef enum { - G_MOUNT_UNMOUNT_NONE = 0, - G_MOUNT_UNMOUNT_FORCE = (1<<0) -} GMountUnmountFlags; - -/** - * GFileCopyFlags: - * @G_FILE_COPY_NONE: No flags set. - * @G_FILE_COPY_OVERWRITE: Overwrite any existing files - * @G_FILE_COPY_BACKUP: Make a backup of any existing files. - * @G_FILE_COPY_NOFOLLOW_SYMLINKS: Don't follow symlinks. - * @G_FILE_COPY_ALL_METADATA: Copy all file metadata instead of just default set used for copy (see #GFileInfo). - * @G_FILE_COPY_NO_FALLBACK_FOR_MOVE: Don't use copy and delete fallback if native move not supported. - * - * Flags used when copying or moving files. - */ -typedef enum { - G_FILE_COPY_NONE = 0, /*< nick=none >*/ - G_FILE_COPY_OVERWRITE = (1<<0), - G_FILE_COPY_BACKUP = (1<<1), - G_FILE_COPY_NOFOLLOW_SYMLINKS = (1<<2), - G_FILE_COPY_ALL_METADATA = (1<<3), - G_FILE_COPY_NO_FALLBACK_FOR_MOVE = (1<<4) -} GFileCopyFlags; - -/** - * GFileMonitorFlags: - * @G_FILE_MONITOR_NONE: No flags set. - * @G_FILE_MONITOR_WATCH_MOUNTS: Watch for mount events. - * - * Flags used to set what a #GFileMonitor will watch for. - */ -typedef enum { - G_FILE_MONITOR_NONE = 0, - G_FILE_MONITOR_WATCH_MOUNTS = (1<<0) -} GFileMonitorFlags; - -/** - * GFile: - * - * A handle to an object implementing the #GFileIface interface. - * Generally stores a location within the file system. Handles do not - * necessarily represent files or directories that currently exist. - **/ -typedef struct _GFile GFile; /* Dummy typedef */ -typedef struct _GFileIface GFileIface; -typedef struct _GFileMonitor GFileMonitor; - -/** - * GMount: - * - * A handle to an object implementing the #GMountIface interface. - **/ -typedef struct _GMount GMount; /* Dummy typedef */ - -/** - * GFileProgressCallback: - * @current_num_bytes: the current number of bytes in the operation. - * @total_num_bytes: the total number of bytes in the operation. - * @user_data: user data passed to the callback. - * - * When doing file operations that may take a while, such as moving - * a file or copying a file, a progress callback is used to pass how - * far along that operation is to the application. - **/ -typedef void (*GFileProgressCallback) (goffset current_num_bytes, - goffset total_num_bytes, - gpointer user_data); - -/** - * GFileReadMoreCallback: - * @file_contents: the data as currently read. - * @file_size: the size of the data currently read. - * @callback_data: data passed to the callback. - * - * When loading the partial contents of a file with g_file_read_partial_contents(), - * it may become necessary to determine if any more data from the file should be loaded. - * A #GFileReadMoreCallback function facilitates this by returning %TRUE if more data - * should be read, or %FALSE otherwise. - * - * Returns: %TRUE if more data should be read back. %FALSE otherwise. - **/ -typedef gboolean (* GFileReadMoreCallback) (const char *file_contents, - goffset file_size, - gpointer callback_data); - -/** - * GFileIface: - * @g_iface: The parent interface. - * @dup: Duplicates a #GFile. - * @hash: Creates a hash of a #GFile. - * @equal: Checks equality of two given #GFile<!-- -->s. - * @is_native: Checks to see if a file is native to the system. - * @has_uri_scheme: Checks to see if a #GFile has a given URI scheme. - * @get_uri_scheme: Gets the URI scheme for a #GFile. - * @get_basename: Gets the basename for a given #GFile. - * @get_path: Gets the current path within a #GFile. - * @get_uri: Gets a URI for the path within a #GFile. - * @get_parse_name: Gets the parsed name for the #GFile. - * @get_parent: Gets the parent directory for the #GFile. - * @prefix_matches: Checks whether a #GFile contains a specified file. - * @get_relative_path: Gets the path for a #GFile relative to a given path. - * @resolve_relative_path: Resolves a relative path for a #GFile to an absolute path. - * @get_child_for_display_name: Gets the child #GFile for a given display name. - * @enumerate_children: Gets a #GFileEnumerator with the children of a #GFile. - * @enumerate_children_async: Asynchronously gets a #GFileEnumerator with the children of a #GFile. - * @enumerate_children_finish: Finishes asynchronously enumerating the children. - * @query_info: Gets the #GFileInfo for a #GFile. - * @query_info_async: Asynchronously gets the #GFileInfo for a #GFile. - * @query_info_finish: Finishes an asynchronous query info operation. - * @query_filesystem_info: Gets a #GFileInfo for the file system #GFile is on. - * @query_filesystem_info_async: Asynchronously gets a #GFileInfo for the file system #GFile is on. - * @query_filesystem_info_finish: Finishes asynchronously getting the file system info. - * @find_enclosing_mount: Gets a #GMount for the #GFile. - * @find_enclosing_mount_async: Asynchronously gets the #GMount for a #GFile. - * @find_enclosing_mount_finish: Finishes asynchronously getting the volume. - * @set_display_name: Sets the display name for a #GFile. - * @set_display_name_async: Asynchronously sets a #GFile's display name. - * @set_display_name_finish: Finishes asynchronously setting a #GFile's display name. - * @query_settable_attributes: Returns a list of #GFileAttribute<!-- -->s that can be set. - * @_query_settable_attributes_async: Asynchronously gets a list of #GFileAttribute<!-- -->s that can be set. - * @_query_settable_attributes_finish: Finishes asynchronously querying settable attributes. - * @query_writable_namespaces: Returns a list of #GFileAttribute namespaces that are writable. - * @_query_writable_namespaces_async: Asynchronously gets a list of #GFileAttribute namespaces that are writable. - * @_query_writable_namespaces_finish: Finishes asynchronously querying the writable namespaces. - * @set_attribute: Sets a #GFileAttribute. - * @set_attributes_from_info: Sets a #GFileAttribute with information from a #GFileInfo. - * @set_attributes_async: Asynchronously sets a file's attributes. - * @set_attributes_finish: Finishes setting a file's attributes asynchronously. - * @read_fn: Reads a file asynchronously. - * @read_async: Asynchronously reads a file. - * @read_finish: Finishes asynchronously reading a file. - * @append_to: Writes to the end of a file. - * @append_to_async: Asynchronously writes to the end of a file. - * @append_to_finish: Finishes an asynchronous file append operation. - * @create: Creates a new file. - * @create_async: Asynchronously creates a file. - * @create_finish: Finishes asynchronously creating a file. - * @replace: Replaces the contents of a file. - * @replace_async: Asynchronously replaces the contents of a file. - * @replace_finish: Finishes asynchronously replacing a file. - * @delete_file: Deletes a file. - * @_delete_file_async: Asynchronously deletes a file. - * @_delete_file_finish: Finishes an asynchronous delete. - * @trash: Sends a #GFile to the Trash location. - * @_trash_async: Asynchronously sends a #GFile to the Trash location. - * @_trash_finish: Finishes an asynchronous file trashing operation. - * @make_directory: Makes a directory. - * @_make_directory_async: Asynchronously makes a directory. - * @_make_directory_finish: Finishes making a directory asynchronously. - * @make_symbolic_link: Makes a symbolic link. - * @_make_symbolic_link_async: Asynchronously makes a symbolic link - * @_make_symbolic_link_finish: Finishes making a symbolic link asynchronously. - * @copy: Copies a file. - * @copy_async: Asynchronously copies a file. - * @copy_finish: Finishes an asynchronous copy operation. - * @move: Moves a file. - * @_move_async: Asynchronously moves a file. - * @_move_finish: Finishes an asynchronous move operation. - * @mount_mountable: Mounts a mountable object. - * @mount_mountable_finish: Finishes a mounting operation. - * @unmount_mountable: Unmounts a mountable object. - * @unmount_mountable_finish: Finishes an unmount operation. - * @eject_mountable: Ejects a mountable. - * @eject_mountable_finish: Finishes an eject operation. - * @mount_enclosing_volume: Mounts a specified location. - * @mount_enclosing_volume_finish: Finishes mounting a specified location. - * @monitor_dir: Creates a #GFileMonitor for the location. - * @monitor_file: Creates a #GFileMonitor for the location. - * - * An interface for writing VFS file handles. - **/ -struct _GFileIface -{ - GTypeInterface g_iface; - - /* Virtual Table */ - - GFile * (*dup) (GFile *file); - guint (*hash) (GFile *file); - gboolean (*equal) (GFile *file1, - GFile *file2); - gboolean (*is_native) (GFile *file); - gboolean (*has_uri_scheme) (GFile *file, - const char *uri_scheme); - char * (*get_uri_scheme) (GFile *file); - char * (*get_basename) (GFile *file); - char * (*get_path) (GFile *file); - char * (*get_uri) (GFile *file); - char * (*get_parse_name) (GFile *file); - GFile * (*get_parent) (GFile *file); - gboolean (*prefix_matches) (GFile *prefix, - GFile *file); - char * (*get_relative_path) (GFile *parent, - GFile *descendant); - GFile * (*resolve_relative_path) (GFile *file, - const char *relative_path); - GFile * (*get_child_for_display_name) (GFile *file, - const char *display_name, - GError **error); - - GFileEnumerator * (*enumerate_children) (GFile *file, - const char *attributes, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); - void (*enumerate_children_async) (GFile *file, - const char *attributes, - GFileQueryInfoFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileEnumerator * (*enumerate_children_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - GFileInfo * (*query_info) (GFile *file, - const char *attributes, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); - void (*query_info_async) (GFile *file, - const char *attributes, - GFileQueryInfoFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileInfo * (*query_info_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - GFileInfo * (*query_filesystem_info)(GFile *file, - const char *attributes, - GCancellable *cancellable, - GError **error); - void (*query_filesystem_info_async) (GFile *file, - const char *attributes, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileInfo * (*query_filesystem_info_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - GMount * (*find_enclosing_mount)(GFile *file, - GCancellable *cancellable, - GError **error); - void (*find_enclosing_mount_async)(GFile *file, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GMount * (*find_enclosing_mount_finish)(GFile *file, - GAsyncResult *res, - GError **error); - - GFile * (*set_display_name) (GFile *file, - const char *display_name, - GCancellable *cancellable, - GError **error); - void (*set_display_name_async) (GFile *file, - const char *display_name, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFile * (*set_display_name_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - GFileAttributeInfoList * (*query_settable_attributes) (GFile *file, - GCancellable *cancellable, - GError **error); - void (*_query_settable_attributes_async) (void); - void (*_query_settable_attributes_finish) (void); - - GFileAttributeInfoList * (*query_writable_namespaces) (GFile *file, - GCancellable *cancellable, - GError **error); - void (*_query_writable_namespaces_async) (void); - void (*_query_writable_namespaces_finish) (void); - - gboolean (*set_attribute) (GFile *file, - const char *attribute, - GFileAttributeType type, - gpointer value_p, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); - gboolean (*set_attributes_from_info) (GFile *file, - GFileInfo *info, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); - void (*set_attributes_async) (GFile *file, - GFileInfo *info, - GFileQueryInfoFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*set_attributes_finish) (GFile *file, - GAsyncResult *result, - GFileInfo **info, - GError **error); - - GFileInputStream * (*read_fn) (GFile *file, - GCancellable *cancellable, - GError **error); - void (*read_async) (GFile *file, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileInputStream * (*read_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - GFileOutputStream * (*append_to) (GFile *file, - GFileCreateFlags flags, - GCancellable *cancellable, - GError **error); - void (*append_to_async) (GFile *file, - GFileCreateFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileOutputStream * (*append_to_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - GFileOutputStream * (*create) (GFile *file, - GFileCreateFlags flags, - GCancellable *cancellable, - GError **error); - void (*create_async) (GFile *file, - GFileCreateFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileOutputStream * (*create_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - GFileOutputStream * (*replace) (GFile *file, - const char *etag, - gboolean make_backup, - GFileCreateFlags flags, - GCancellable *cancellable, - GError **error); - void (*replace_async) (GFile *file, - const char *etag, - gboolean make_backup, - GFileCreateFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileOutputStream * (*replace_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - gboolean (*delete_file) (GFile *file, - GCancellable *cancellable, - GError **error); - void (*_delete_file_async) (void); - void (*_delete_file_finish) (void); - - gboolean (*trash) (GFile *file, - GCancellable *cancellable, - GError **error); - void (*_trash_async) (void); - void (*_trash_finish) (void); - - gboolean (*make_directory) (GFile *file, - GCancellable *cancellable, - GError **error); - void (*_make_directory_async) (void); - void (*_make_directory_finish) (void); - - gboolean (*make_symbolic_link) (GFile *file, - const char *symlink_value, - GCancellable *cancellable, - GError **error); - void (*_make_symbolic_link_async) (void); - void (*_make_symbolic_link_finish) (void); - - gboolean (*copy) (GFile *source, - GFile *destination, - GFileCopyFlags flags, - GCancellable *cancellable, - GFileProgressCallback progress_callback, - gpointer progress_callback_data, - GError **error); - void (*copy_async) (GFile *source, - GFile *destination, - GFileCopyFlags flags, - int io_priority, - GCancellable *cancellable, - GFileProgressCallback progress_callback, - gpointer progress_callback_data, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*copy_finish) (GFile *file, - GAsyncResult *res, - GError **error); - - gboolean (*move) (GFile *source, - GFile *destination, - GFileCopyFlags flags, - GCancellable *cancellable, - GFileProgressCallback progress_callback, - gpointer progress_callback_data, - GError **error); - - void (*_move_async) (void); - void (*_move_finish) (void); - - - void (*mount_mountable) (GFile *file, - GMountMountFlags flags, - GMountOperation *mount_operation, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFile * (*mount_mountable_finish) (GFile *file, - GAsyncResult *result, - GError **error); - void (*unmount_mountable) (GFile *file, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*unmount_mountable_finish) (GFile *file, - GAsyncResult *result, - GError **error); - void (*eject_mountable) (GFile *file, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*eject_mountable_finish) (GFile *file, - GAsyncResult *result, - GError **error); - - - void (*mount_enclosing_volume) (GFile *location, - GMountMountFlags flags, - GMountOperation *mount_operation, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*mount_enclosing_volume_finish) (GFile *location, - GAsyncResult *result, - GError **error); - - GFileMonitor* (*monitor_dir) (GFile *file, - GFileMonitorFlags flags, - GCancellable *cancellable, - GError **error); - - GFileMonitor* (*monitor_file) (GFile *file, - GFileMonitorFlags flags, - GCancellable *cancellable, - GError **error); - -}; - -GType g_file_get_type (void) G_GNUC_CONST; - -GFile * g_file_new_for_path (const char *path); -GFile * g_file_new_for_uri (const char *uri); -GFile * g_file_new_for_commandline_arg (const char *arg); -GFile * g_file_parse_name (const char *parse_name); -GFile * g_file_dup (GFile *file); -guint g_file_hash (gconstpointer file); -gboolean g_file_equal (GFile *file1, - GFile *file2); -char * g_file_get_basename (GFile *file); -char * g_file_get_path (GFile *file); -char * g_file_get_uri (GFile *file); -char * g_file_get_parse_name (GFile *file); -GFile * g_file_get_parent (GFile *file); -GFile * g_file_get_child (GFile *file, - const char *name); -GFile * g_file_get_child_for_display_name (GFile *file, - const char *display_name, - GError **error); -gboolean g_file_has_prefix (GFile *file, - GFile *prefix); -char * g_file_get_relative_path (GFile *parent, - GFile *descendant); -GFile * g_file_resolve_relative_path (GFile *file, - const char *relative_path); -gboolean g_file_is_native (GFile *file); -gboolean g_file_has_uri_scheme (GFile *file, - const char *uri_scheme); -char * g_file_get_uri_scheme (GFile *file); -GFileInputStream * g_file_read (GFile *file, - GCancellable *cancellable, - GError **error); -void g_file_read_async (GFile *file, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileInputStream * g_file_read_finish (GFile *file, - GAsyncResult *res, - GError **error); -GFileOutputStream * g_file_append_to (GFile *file, - GFileCreateFlags flags, - GCancellable *cancellable, - GError **error); -GFileOutputStream * g_file_create (GFile *file, - GFileCreateFlags flags, - GCancellable *cancellable, - GError **error); -GFileOutputStream * g_file_replace (GFile *file, - const char *etag, - gboolean make_backup, - GFileCreateFlags flags, - GCancellable *cancellable, - GError **error); -void g_file_append_to_async (GFile *file, - GFileCreateFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileOutputStream * g_file_append_to_finish (GFile *file, - GAsyncResult *res, - GError **error); -void g_file_create_async (GFile *file, - GFileCreateFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileOutputStream * g_file_create_finish (GFile *file, - GAsyncResult *res, - GError **error); -void g_file_replace_async (GFile *file, - const char *etag, - gboolean make_backup, - GFileCreateFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileOutputStream * g_file_replace_finish (GFile *file, - GAsyncResult *res, - GError **error); -gboolean g_file_query_exists (GFile *file, - GCancellable *cancellable); -GFileInfo * g_file_query_info (GFile *file, - const char *attributes, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -void g_file_query_info_async (GFile *file, - const char *attributes, - GFileQueryInfoFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileInfo * g_file_query_info_finish (GFile *file, - GAsyncResult *res, - GError **error); -GFileInfo * g_file_query_filesystem_info (GFile *file, - const char *attributes, - GCancellable *cancellable, - GError **error); -void g_file_query_filesystem_info_async (GFile *file, - const char *attributes, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileInfo * g_file_query_filesystem_info_finish (GFile *file, - GAsyncResult *res, - GError **error); -GMount * g_file_find_enclosing_mount (GFile *file, - GCancellable *cancellable, - GError **error); -void g_file_find_enclosing_mount_async (GFile *file, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GMount * g_file_find_enclosing_mount_finish (GFile *file, - GAsyncResult *res, - GError **error); -GFileEnumerator * g_file_enumerate_children (GFile *file, - const char *attributes, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -void g_file_enumerate_children_async (GFile *file, - const char *attributes, - GFileQueryInfoFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileEnumerator * g_file_enumerate_children_finish (GFile *file, - GAsyncResult *res, - GError **error); -GFile * g_file_set_display_name (GFile *file, - const char *display_name, - GCancellable *cancellable, - GError **error); -void g_file_set_display_name_async (GFile *file, - const char *display_name, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFile * g_file_set_display_name_finish (GFile *file, - GAsyncResult *res, - GError **error); -gboolean g_file_delete (GFile *file, - GCancellable *cancellable, - GError **error); -gboolean g_file_trash (GFile *file, - GCancellable *cancellable, - GError **error); -gboolean g_file_copy (GFile *source, - GFile *destination, - GFileCopyFlags flags, - GCancellable *cancellable, - GFileProgressCallback progress_callback, - gpointer progress_callback_data, - GError **error); -void g_file_copy_async (GFile *source, - GFile *destination, - GFileCopyFlags flags, - int io_priority, - GCancellable *cancellable, - GFileProgressCallback progress_callback, - gpointer progress_callback_data, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_copy_finish (GFile *file, - GAsyncResult *res, - GError **error); -gboolean g_file_move (GFile *source, - GFile *destination, - GFileCopyFlags flags, - GCancellable *cancellable, - GFileProgressCallback progress_callback, - gpointer progress_callback_data, - GError **error); -gboolean g_file_make_directory (GFile *file, - GCancellable *cancellable, - GError **error); -gboolean g_file_make_symbolic_link (GFile *file, - const char *symlink_value, - GCancellable *cancellable, - GError **error); -GFileAttributeInfoList *g_file_query_settable_attributes (GFile *file, - GCancellable *cancellable, - GError **error); -GFileAttributeInfoList *g_file_query_writable_namespaces (GFile *file, - GCancellable *cancellable, - GError **error); -gboolean g_file_set_attribute (GFile *file, - const char *attribute, - GFileAttributeType type, - gpointer value_p, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -gboolean g_file_set_attributes_from_info (GFile *file, - GFileInfo *info, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -void g_file_set_attributes_async (GFile *file, - GFileInfo *info, - GFileQueryInfoFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_set_attributes_finish (GFile *file, - GAsyncResult *result, - GFileInfo **info, - GError **error); -gboolean g_file_set_attribute_string (GFile *file, - const char *attribute, - const char *value, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -gboolean g_file_set_attribute_byte_string (GFile *file, - const char *attribute, - const char *value, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -gboolean g_file_set_attribute_uint32 (GFile *file, - const char *attribute, - guint32 value, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -gboolean g_file_set_attribute_int32 (GFile *file, - const char *attribute, - gint32 value, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -gboolean g_file_set_attribute_uint64 (GFile *file, - const char *attribute, - guint64 value, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -gboolean g_file_set_attribute_int64 (GFile *file, - const char *attribute, - gint64 value, - GFileQueryInfoFlags flags, - GCancellable *cancellable, - GError **error); -void g_file_mount_enclosing_volume (GFile *location, - GMountMountFlags flags, - GMountOperation *mount_operation, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_mount_enclosing_volume_finish (GFile *location, - GAsyncResult *result, - GError **error); -void g_file_mount_mountable (GFile *file, - GMountMountFlags flags, - GMountOperation *mount_operation, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFile * g_file_mount_mountable_finish (GFile *file, - GAsyncResult *result, - GError **error); -void g_file_unmount_mountable (GFile *file, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_unmount_mountable_finish (GFile *file, - GAsyncResult *result, - GError **error); -void g_file_eject_mountable (GFile *file, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_eject_mountable_finish (GFile *file, - GAsyncResult *result, - GError **error); - -gboolean g_file_copy_attributes (GFile *source, - GFile *destination, - GFileCopyFlags flags, - GCancellable *cancellable, - GError **error); - - -GFileMonitor* g_file_monitor_directory (GFile *file, - GFileMonitorFlags flags, - GCancellable *cancellable, - GError **error); -GFileMonitor* g_file_monitor_file (GFile *file, - GFileMonitorFlags flags, - GCancellable *cancellable, - GError **error); - - -/* Utilities */ - -GAppInfo *g_file_query_default_handler (GFile *file, - GCancellable *cancellable, - GError **error); -gboolean g_file_load_contents (GFile *file, - GCancellable *cancellable, - char **contents, - gsize *length, - char **etag_out, - GError **error); -void g_file_load_contents_async (GFile *file, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_load_contents_finish (GFile *file, - GAsyncResult *res, - char **contents, - gsize *length, - char **etag_out, - GError **error); -void g_file_load_partial_contents_async (GFile *file, - GCancellable *cancellable, - GFileReadMoreCallback read_more_callback, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_load_partial_contents_finish (GFile *file, - GAsyncResult *res, - char **contents, - gsize *length, - char **etag_out, - GError **error); -gboolean g_file_replace_contents (GFile *file, - const char *contents, - gsize length, - const char *etag, - gboolean make_backup, - GFileCreateFlags flags, - char **new_etag, - GCancellable *cancellable, - GError **error); -void g_file_replace_contents_async (GFile *file, - const char *contents, - gsize length, - const char *etag, - gboolean make_backup, - GFileCreateFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_replace_contents_finish (GFile *file, - GAsyncResult *res, - char **new_etag, - GError **error); - -G_END_DECLS - -#endif /* __G_FILE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileattribute.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileattribute.h deleted file mode 100644 index 758fe9b6..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileattribute.h +++ /dev/null @@ -1,129 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILE_ATTRIBUTE_H__ -#define __G_FILE_ATTRIBUTE_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -/** - * GFileAttributeType: - * @G_FILE_ATTRIBUTE_TYPE_INVALID: indicates an invalid or uninitalized type. - * @G_FILE_ATTRIBUTE_TYPE_STRING: a null terminated UTF8 string. - * @G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: a zero terminated string of non-zero bytes. - * @G_FILE_ATTRIBUTE_TYPE_BOOLEAN: a boolean value. - * @G_FILE_ATTRIBUTE_TYPE_UINT32: an unsigned 4-byte/32-bit integer. - * @G_FILE_ATTRIBUTE_TYPE_INT32: a signed 4-byte/32-bit integer. - * @G_FILE_ATTRIBUTE_TYPE_UINT64: an unsigned 8-byte/64-bit integer. - * @G_FILE_ATTRIBUTE_TYPE_INT64: a signed 8-byte/64-bit integer. - * @G_FILE_ATTRIBUTE_TYPE_OBJECT: a #GObject. - * - * The data types for file attributes. - **/ -typedef enum { - G_FILE_ATTRIBUTE_TYPE_INVALID = 0, - G_FILE_ATTRIBUTE_TYPE_STRING, - G_FILE_ATTRIBUTE_TYPE_BYTE_STRING, /* zero terminated string of non-zero bytes */ - G_FILE_ATTRIBUTE_TYPE_BOOLEAN, - G_FILE_ATTRIBUTE_TYPE_UINT32, - G_FILE_ATTRIBUTE_TYPE_INT32, - G_FILE_ATTRIBUTE_TYPE_UINT64, - G_FILE_ATTRIBUTE_TYPE_INT64, - G_FILE_ATTRIBUTE_TYPE_OBJECT -} GFileAttributeType; - -/** - * GFileAttributeInfoFlags: - * @G_FILE_ATTRIBUTE_INFO_NONE: no flags set. - * @G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: copy the attribute values when the file is copied. - * @G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: copy the attribute values when the file is moved. - * - * Flags specifying the behaviour of an attribute. - **/ -typedef enum { - G_FILE_ATTRIBUTE_INFO_NONE = 0, - G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE = 1 << 0, - G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED = 1 << 1 -} GFileAttributeInfoFlags; - -/** - * GFileAttributeStatus: - * @G_FILE_ATTRIBUTE_STATUS_UNSET: Attribute value is unset (empty). - * @G_FILE_ATTRIBUTE_STATUS_SET: Attribute value is set. - * @G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: Indicates an error in setting the value. - * - * Used by g_file_set_attributes_from_info() when setting file attributes. - **/ -typedef enum { - G_FILE_ATTRIBUTE_STATUS_UNSET = 0, - G_FILE_ATTRIBUTE_STATUS_SET, - G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING -} GFileAttributeStatus; - -/** - * GFileAttributeInfo: - * @name: the name of the attribute. - * @type: the #GFileAttributeType type of the attribute. - * @flags: a set of #GFileAttributeInfoFlags. - * - * Information about a specific attribute. - **/ -typedef struct { - char *name; - GFileAttributeType type; - GFileAttributeInfoFlags flags; -} GFileAttributeInfo; - -/** - * GFileAttributeInfoList: - * @infos: an array of #GFileAttributeInfo<!-- -->s. - * @n_infos: the number of values in the array. - * - * Acts as a lightweight registry for possible valid file attributes. - * The registry stores Key-Value pair formats as #GFileAttributeInfo<!-- -->s. - **/ -typedef struct { - GFileAttributeInfo *infos; - int n_infos; -} GFileAttributeInfoList; - -GFileAttributeInfoList * g_file_attribute_info_list_new (void); -GFileAttributeInfoList * g_file_attribute_info_list_ref (GFileAttributeInfoList *list); -void g_file_attribute_info_list_unref (GFileAttributeInfoList *list); -GFileAttributeInfoList * g_file_attribute_info_list_dup (GFileAttributeInfoList *list); -const GFileAttributeInfo *g_file_attribute_info_list_lookup (GFileAttributeInfoList *list, - const char *name); -void g_file_attribute_info_list_add (GFileAttributeInfoList *list, - const char *name, - GFileAttributeType type, - GFileAttributeInfoFlags flags); - -G_END_DECLS - - -#endif /* __G_FILE_INFO_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileenumerator.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileenumerator.h deleted file mode 100644 index 11d04fc4..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileenumerator.h +++ /dev/null @@ -1,139 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILE_ENUMERATOR_H__ -#define __G_FILE_ENUMERATOR_H__ - -#include <glib-object.h> -#include <gio/gioerror.h> -#include <gio/gcancellable.h> -#include <gio/gfileinfo.h> -#include <gio/gasyncresult.h> - -G_BEGIN_DECLS - - -#define G_TYPE_FILE_ENUMERATOR (g_file_enumerator_get_type ()) -#define G_FILE_ENUMERATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILE_ENUMERATOR, GFileEnumerator)) -#define G_FILE_ENUMERATOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_ENUMERATOR, GFileEnumeratorClass)) -#define G_IS_FILE_ENUMERATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILE_ENUMERATOR)) -#define G_IS_FILE_ENUMERATOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILE_ENUMERATOR)) -#define G_FILE_ENUMERATOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILE_ENUMERATOR, GFileEnumeratorClass)) - -/** - * GFileEnumerator: - * @parent_instance: The parent class. - * - * A per matched file iterator. - **/ -typedef struct _GFileEnumerator GFileEnumerator; -typedef struct _GFileEnumeratorClass GFileEnumeratorClass; -typedef struct _GFileEnumeratorPrivate GFileEnumeratorPrivate; - - -struct _GFileEnumerator -{ - GObject parent_instance; - - /*< private >*/ - GFileEnumeratorPrivate *priv; -}; - -struct _GFileEnumeratorClass -{ - GObjectClass parent_class; - - /* Virtual Table */ - - GFileInfo *(*next_file) (GFileEnumerator *enumerator, - GCancellable *cancellable, - GError **error); - gboolean (*close_fn) (GFileEnumerator *enumerator, - GCancellable *cancellable, - GError **error); - - void (*next_files_async) (GFileEnumerator *enumerator, - int num_files, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GList * (*next_files_finish) (GFileEnumerator *enumerator, - GAsyncResult *res, - GError **error); - void (*close_async) (GFileEnumerator *enumerator, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*close_finish) (GFileEnumerator *enumerator, - GAsyncResult *res, - GError **error); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); - void (*_g_reserved6) (void); - void (*_g_reserved7) (void); -}; - -GType g_file_enumerator_get_type (void) G_GNUC_CONST; - -GFileInfo *g_file_enumerator_next_file (GFileEnumerator *enumerator, - GCancellable *cancellable, - GError **error); -gboolean g_file_enumerator_close (GFileEnumerator *enumerator, - GCancellable *cancellable, - GError **error); -void g_file_enumerator_next_files_async (GFileEnumerator *enumerator, - int num_files, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GList * g_file_enumerator_next_files_finish (GFileEnumerator *enumerator, - GAsyncResult *result, - GError **error); -void g_file_enumerator_close_async (GFileEnumerator *enumerator, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_file_enumerator_close_finish (GFileEnumerator *enumerator, - GAsyncResult *result, - GError **error); -gboolean g_file_enumerator_is_closed (GFileEnumerator *enumerator); -gboolean g_file_enumerator_has_pending (GFileEnumerator *enumerator); -void g_file_enumerator_set_pending (GFileEnumerator *enumerator, - gboolean pending); - -G_END_DECLS - -#endif /* __G_FILE_ENUMERATOR_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileicon.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileicon.h deleted file mode 100644 index 18d73d0d..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileicon.h +++ /dev/null @@ -1,58 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILE_ICON_H__ -#define __G_FILE_ICON_H__ - -#include <gio/gloadableicon.h> -#include <gio/gfile.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILE_ICON (g_file_icon_get_type ()) -#define G_FILE_ICON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILE_ICON, GFileIcon)) -#define G_FILE_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_ICON, GFileIconClass)) -#define G_IS_FILE_ICON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILE_ICON)) -#define G_IS_FILE_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILE_ICON)) -#define G_FILE_ICON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILE_ICON, GFileIconClass)) - -/** - * GFileIcon: - * - * Gets an icon for a #GFile. Implements #GLoadableIcon. - **/ -typedef struct _GFileIcon GFileIcon; -typedef struct _GFileIconClass GFileIconClass; - -GType g_file_icon_get_type (void) G_GNUC_CONST; - -GIcon *g_file_icon_new (GFile *file); - -GFile *g_file_icon_get_file (GFileIcon *icon); - -G_END_DECLS - -#endif /* __G_FILE_ICON_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileinfo.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileinfo.h deleted file mode 100644 index 93d74a35..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileinfo.h +++ /dev/null @@ -1,868 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILE_INFO_H__ -#define __G_FILE_INFO_H__ - -#include <glib-object.h> -#include <glib/gfileutils.h> -#include <gio/gfileattribute.h> -#include <gio/gicon.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILE_INFO (g_file_info_get_type ()) -#define G_FILE_INFO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILE_INFO, GFileInfo)) -#define G_FILE_INFO_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_INFO, GFileInfoClass)) -#define G_IS_FILE_INFO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILE_INFO)) -#define G_IS_FILE_INFO_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILE_INFO)) -#define G_FILE_INFO_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILE_INFO, GFileInfoClass)) - -/** - * GFileInfo: - * - * Stores information about a file system object referenced by a #GFile. - **/ -typedef struct _GFileInfo GFileInfo; -typedef struct _GFileInfoClass GFileInfoClass; - -/** - * GFileAttributeMatcher: - * - * Determines if a string matches a file attribute. - **/ -typedef struct _GFileAttributeMatcher GFileAttributeMatcher; - -/** - * GFileType: - * @G_FILE_TYPE_UNKNOWN: File's type is unknown. - * @G_FILE_TYPE_REGULAR: File handle represents a regular file. - * @G_FILE_TYPE_DIRECTORY: File handle represents a directory. - * @G_FILE_TYPE_SYMBOLIC_LINK: File handle represents a symbolic link - * (Unix systems). - * @G_FILE_TYPE_SPECIAL: File is a "special" file, such as a socket, fifo, - * block device, or character device. - * @G_FILE_TYPE_SHORTCUT: File is a shortcut (Windows systems). - * @G_FILE_TYPE_MOUNTABLE: File is a mountable location. - * - * Indicates the file's on-disk type. - **/ -typedef enum { - G_FILE_TYPE_UNKNOWN = 0, - G_FILE_TYPE_REGULAR, - G_FILE_TYPE_DIRECTORY, - G_FILE_TYPE_SYMBOLIC_LINK, - G_FILE_TYPE_SPECIAL, /* socket, fifo, blockdev, chardev */ - G_FILE_TYPE_SHORTCUT, - G_FILE_TYPE_MOUNTABLE -} GFileType; - -/** - * GFilesystemPreviewType: - * @G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: Only preview files if user has explicitly requested it. - * @G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: Preview files if user has requested preview of "local" files. - * @G_FILESYSTEM_PREVIEW_TYPE_NEVER: Never preview files. - * - * Indicates a hint from the file system whether files should be - * previewed in a file manager. Returned as the value of the key - * #G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW. - **/ -typedef enum { - G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS = 0, - G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL, - G_FILESYSTEM_PREVIEW_TYPE_NEVER -} GFilesystemPreviewType; - -/* Common Attributes: */ -/** - * G_FILE_ATTRIBUTE_STANDARD_TYPE: - * - * A key in the "standard" namespace for storing file types. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32. - * The value for this key should contain a #GFileType. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_TYPE "standard::type" /* uint32 (GFileType) */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: - * - * A key in the "standard" namespace for checking if a file is hidden. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN "standard::is-hidden" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: - * - * A key in the "standard" namespace for checking if a file is a backup file. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "standard::is-backup" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: - * - * A key in the "standard" namespace for checking if the file is a symlink. - * Typically the actual type is something else, if we followed the symlink - * to get the type. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK "standard::is-symlink" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: - * - * A key in the "standard" namespace for checking if a file is virtual. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL "standard::is-virtual" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_NAME: - * - * A key in the "standard" namespace for getting the name of the file. - * The name is the on-disk filename which may not be in any known encoding, - * and can thus not be generally displayed as is. - * Use #G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME if you need to display the - * name in a user interface. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_NAME "standard::name" /* byte string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: - * - * A key in the "standard" namespace for getting the display name of the file. - * A display name is guaranteed to be in UTF8 and can thus be displayed in - * the UI. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "standard::display-name" /* string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: - * - * A key in the "standard" namespace for edit name of the file. - * An edit name is similar to the display name, but it is meant to be - * used when you want to rename the file in the UI. The display name - * might contain information you don't want in the new filename (such as - * "(invalid unicode)" if the filename was in an invalid encoding). - * - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME "standard::edit-name" /* string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: - * - * A key in the "standard" namespace for getting the copy name of the file. - * The copy name is an optional version of the name. If availible its always - * in UTF8, and corresponds directly to the original filename (only transcoded to - * UTF8). This is useful if you want to copy the file to another filesystem that - * might have a different encoding. If the filename is not a valid string in the - * encoding selected for the filesystem it is in then the copy name will not be set. - * - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_COPY_NAME "standard::copy-name" /* string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: - * - * A key in the "standard" namespace for getting the description of the file. - * The description is a utf8 string that describes the file, generally containing - * the filename, but can also contain furter information. Example descriptions - * could be "filename (on hostname)" for a remote file or "filename (in trash)" - * for a file in the trash. This is useful for instance as the window title - * when displaying a directory or for a bookmarks menu. - * - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION "standard::description" /* string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_ICON: - * - * A key in the "standard" namespace for getting the icon for the file. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_OBJECT. - * The value for this key should contain a #GIcon. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_ICON "standard::icon" /* object (GIcon) */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: - * - * A key in the "standard" namespace for getting the content type of the file. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - * The value for this key should contain a valid content type. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE "standard::content-type" /* string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: - * - * A key in the "standard" namespace for getting the fast content type. - * The fast content type isn't as reliable as the regular one, as it - * only uses the filename to guess it, but it is faster to calculate than the - * regular content type. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - * - **/ -#define G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE "standard::fast-content-type" /* string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_SIZE: - * - * A key in the "standard" namespace for getting the file's size (in bytes). - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT64. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_SIZE "standard::size" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: - * - * A key in the "standard" namespace for getting the symlink target, if the file - * is a symlink. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET "standard::symlink-target" /* byte string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: - * - * A key in the "standard" namespace for getting the target URI for the file, in - * the case of %G_FILE_TYPE_SHORTCUT or %G_FILE_TYPE_MOUNTABLE files. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_TARGET_URI "standard::target-uri" /* string */ - -/** - * G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: - * - * A key in the "standard" namespace for setting the sort order of a file. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_INT32. - * An example use would be in file managers, which would use this key - * to set the order files are displayed. Files with smaller sort order - * should be sorted first, and files without sort order as if sort order - * was zero. - **/ -#define G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER "standard::sort-order" /* int32 */ - -/* Entity tags, used to avoid missing updates on save */ - -/** - * G_FILE_ATTRIBUTE_ETAG_VALUE: - * - * A key in the "etag" namespace for getting the value of the file's - * entity tag. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_ETAG_VALUE "etag::value" /* string */ - -/* File identifier, for e.g. avoiding loops when doing recursive - * directory scanning - */ - -/** - * G_FILE_ATTRIBUTE_ID_FILE: - * - * A key in the "id" namespace for getting a file identifier. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - * An example use would be during listing files, to avoid recursive - * directory scanning. - **/ -#define G_FILE_ATTRIBUTE_ID_FILE "id::file" /* string */ - -/** - * G_FILE_ATTRIBUTE_ID_FILESYSTEM: - * - * A key in the "id" namespace for getting the file system identifier. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - * An example use would be during drag and drop to see if the source - * and target are on the same filesystem (default to move) or not (default - * to copy). - **/ -#define G_FILE_ATTRIBUTE_ID_FILESYSTEM "id::filesystem" /* string */ - -/* Calculated Access Rights for current user */ - -/** - * G_FILE_ATTRIBUTE_ACCESS_CAN_READ: - * - * A key in the "access" namespace for getting read privileges. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - * This attribute will be %TRUE if the user is able to read the file. - **/ -#define G_FILE_ATTRIBUTE_ACCESS_CAN_READ "access::can-read" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: - * - * A key in the "access" namespace for getting write privileges. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - * This attribute will be %TRUE if the user is able to write to the file. - **/ -#define G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE "access::can-write" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: - * - * A key in the "access" namespace for getting execution privileges. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - * This attribute will be %TRUE if the user is able to execute the file. - **/ -#define G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE "access::can-execute" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: - * - * A key in the "access" namespace for checking deletion privileges. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - * This attribute will be %TRUE if the user is able to delete the file. - **/ -#define G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE "access::can-delete" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: - * - * A key in the "access" namespace for checking trashing privileges. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - * This attribute will be %TRUE if the user is able to move the file to - * the trash. - **/ -#define G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH "access::can-trash" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: - * - * A key in the "access" namespace for checking renaming privileges. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - * This attribute will be %TRUE if the user is able to rename the file. - **/ -#define G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME "access::can-rename" /* boolean */ - -/* TODO: Should we have special version for directories? can_enumerate, etc */ - -/* Mountable attributes */ - -/** - * G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: - * - * A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is mountable. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT "mountable::can-mount" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: - * - * A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) is unmountable. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT "mountable::can-unmount" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: - * - * A key in the "mountable" namespace for checking if a file (of type G_FILE_TYPE_MOUNTABLE) can be ejected. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT "mountable::can-eject" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: - * - * A key in the "mountable" namespace for getting the unix device. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE "mountable::unix-device" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: - * - * A key in the "mountable" namespace for getting the HAL UDI for the mountable - * file. Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI "mountable::hal-udi" /* string */ - -/* Time attributes */ - -/** - * G_FILE_ATTRIBUTE_TIME_MODIFIED: - * - * A key in the "time" namespace for getting the time the file was last - * modified. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT64, and contains the UNIX time since the - * file was modified. - **/ -#define G_FILE_ATTRIBUTE_TIME_MODIFIED "time::modified" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: - * - * A key in the "time" namespace for getting the miliseconds of the time - * the file was last modified. This should be used in conjunction with - * #G_FILE_ATTRIBUTE_TIME_MODIFIED. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC "time::modified-usec" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_TIME_ACCESS: - * - * A key in the "time" namespace for getting the time the file was last - * accessed. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT64, and contains the UNIX time since the - * file was last accessed. - **/ -#define G_FILE_ATTRIBUTE_TIME_ACCESS "time::access" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: - * - * A key in the "time" namespace for getting the microseconds of the time - * the file was last accessed. This should be used in conjunction with - * #G_FILE_ATTRIBUTE_TIME_ACCESS. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_TIME_ACCESS_USEC "time::access-usec" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_TIME_CHANGED: - * - * A key in the "time" namespace for getting the time the file was last - * changed. Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT64, - * and contains the UNIX time since the file was last changed. - * - * This corresponds to the traditional UNIX ctime. - **/ -#define G_FILE_ATTRIBUTE_TIME_CHANGED "time::changed" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: - * - * A key in the "time" namespace for getting the microseconds of the time - * the file was last changed. This should be used in conjunction with - * #G_FILE_ATTRIBUTE_TIME_CHANGED. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_TIME_CHANGED_USEC "time::changed-usec" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_TIME_CREATED: - * - * A key in the "time" namespace for getting the time the file was created. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT64, - * and contains the UNIX time since the file was created. - * - * This corresponds to the NTFS ctime. - **/ -#define G_FILE_ATTRIBUTE_TIME_CREATED "time::created" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_TIME_CREATED_USEC: - * - * A key in the "time" namespace for getting the microseconds of the time - * the file was created. This should be used in conjunction with - * #G_FILE_ATTRIBUTE_TIME_CREATED. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_TIME_CREATED_USEC "time::created-usec" /* uint32 */ - -/* Unix specific attributes */ - -/** - * G_FILE_ATTRIBUTE_UNIX_DEVICE: - * - * A key in the "unix" namespace for getting the device id of the device the - * file is located on (see stat() documentation). This attribute is only - * available for UNIX file systems. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_UNIX_DEVICE "unix::device" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_INODE: - * - * A key in the "unix" namespace for getting the inode of the file. - * This attribute is only available for UNIX file systems. Corresponding - * #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT64. - **/ -#define G_FILE_ATTRIBUTE_UNIX_INODE "unix::inode" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_MODE: - * - * A key in the "unix" namespace for getting the mode of the file - * (e.g. whether the file is a regular file, symlink, etc). See lstat() - * documentation. This attribute is only available for UNIX file systems. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_UNIX_MODE "unix::mode" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_NLINK: - * - * A key in the "unix" namespace for getting the number of hard links - * for a file. See lstat() documentation. This attribute is only available - * for UNIX file systems. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_UNIX_NLINK "unix::nlink" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_UID: - * - * A key in the "unix" namespace for getting the user ID for the file. - * This attribute is only available for UNIX file systems. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_UNIX_UID "unix::uid" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_GID: - * - * A key in the "unix" namespace for getting the group ID for the file. - * This attribute is only available for UNIX file systems. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_UNIX_GID "unix::gid" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_RDEV: - * - * A key in the "unix" namespace for getting the device ID for the file - * (if it is a special file). See lstat() documentation. This attribute - * is only available for UNIX file systems. Corresponding #GFileAttributeType - * is %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_UNIX_RDEV "unix::rdev" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: - * - * A key in the "unix" namespace for getting the block size for the file - * system. This attribute is only available for UNIX file systems. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE "unix::block-size" /* uint32 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_BLOCKS: - * - * A key in the "unix" namespace for getting the number of blocks allocated - * for the file. This attribute is only available for UNIX file systems. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT64. - **/ -#define G_FILE_ATTRIBUTE_UNIX_BLOCKS "unix::blocks" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: - * - * A key in the "unix" namespace for checking if the file represents a - * UNIX mount point. This attribute is %TRUE if the file is a UNIX mount - * point. This attribute is only available for UNIX file systems. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT "unix::is-mountpoint" /* boolean */ - -/* DOS specific attributes */ - -/** - * G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: - * - * A key in the "dos" namespace for checking if the file's archive flag - * is set. This attribute is %TRUE if the archive flag is set. This attribute - * is only available for DOS file systems. Corresponding #GFileAttributeType - * is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE "dos::is-archive" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: - * - * A key in the "dos" namespace for checking if the file's backup flag - * is set. This attribute is %TRUE if the backup flag is set. This attribute - * is only available for DOS file systems. Corresponding #GFileAttributeType - * is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_DOS_IS_SYSTEM "dos::is-system" /* boolean */ - -/* Owner attributes */ - -/** - * G_FILE_ATTRIBUTE_OWNER_USER: - * - * A key in the "owner" namespace for getting the user name of the - * file's owner. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_OWNER_USER "owner::user" /* string */ - -/** - * G_FILE_ATTRIBUTE_OWNER_USER_REAL: - * - * A key in the "owner" namespace for getting the real name of the - * user that owns the file. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_OWNER_USER_REAL "owner::user-real" /* string */ - -/** - * G_FILE_ATTRIBUTE_OWNER_GROUP: - * - * A key in the "owner" namespace for getting the file owner's group. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_OWNER_GROUP "owner::group" /* string */ - -/* Thumbnails */ - -/** - * G_FILE_ATTRIBUTE_THUMBNAIL_PATH: - * - * A key in the "thumbnail" namespace for getting the path to the thumbnail - * image. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING. - **/ -#define G_FILE_ATTRIBUTE_THUMBNAIL_PATH "thumbnail::path" /* bytestring */ -/** - * G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: - * - * A key in the "thumbnail" namespace for checking if thumbnailing failed. - * This attribute is %TRUE if thumbnailing failed. Corresponding - * #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_THUMBNAILING_FAILED "thumbnail::failed" /* boolean */ - -/* File system info (for g_file_get_filesystem_info) */ - -/** - * G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: - * - * A key in the "filesystem" namespace for getting the total size (in bytes) of the file system, - * used in g_file_query_filesystem_info(). Corresponding #GFileAttributeType - * is %G_FILE_ATTRIBUTE_TYPE_UINT64. - **/ -#define G_FILE_ATTRIBUTE_FILESYSTEM_SIZE "filesystem::size" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_FILESYSTEM_FREE: - * - * A key in the "filesystem" namespace for getting the number of bytes of free space left on the - * file system. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_UINT64. - **/ -#define G_FILE_ATTRIBUTE_FILESYSTEM_FREE "filesystem::free" /* uint64 */ - -/** - * G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: - * - * A key in the "filesystem" namespace for getting the file system's type. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_FILESYSTEM_TYPE "filesystem::type" /* string */ - -/** - * G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: - * - * A key in the "filesystem" namespace for checking if the file system - * is read only. Is set to %TRUE if the file system is read only. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN. - **/ -#define G_FILE_ATTRIBUTE_FILESYSTEM_READONLY "filesystem::readonly" /* boolean */ - -/** - * G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: - * - * A key in the "filesystem" namespace for hinting a file manager - * application whether it should preview (e.g. thumbnail) files on the - * file system. The value for this key contain a - * #GFilesystemPreviewType. - **/ -#define G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW "filesystem::use-preview" /* uint32 (GFilesystemPreviewType) */ - -/** - * G_FILE_ATTRIBUTE_GVFS_BACKEND: - * - * A key in the "gvfs" namespace that gets the name of the current - * GVFS backend in use. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_STRING. - **/ -#define G_FILE_ATTRIBUTE_GVFS_BACKEND "gvfs::backend" /* string */ - -/** - * G_FILE_ATTRIBUTE_SELINUX_CONTEXT: - * - * A key in the "selinux" namespace for getting the file's SELinux - * context. Corresponding #GFileAttributeType is - * %G_FILE_ATTRIBUTE_TYPE_STRING. Note that this attribute is only - * available if GLib has been built with SELinux support. - **/ -#define G_FILE_ATTRIBUTE_SELINUX_CONTEXT "selinux::context" /* string */ - -/** - * G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: - * - * A key in the "trash" namespace. When requested against - * "trash:///" returns the number of (toplevel) items in the trash folder. - * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32. - **/ -#define G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT "trash::item-count" /* uint32 */ - -GType g_file_info_get_type (void) G_GNUC_CONST; - -GFileInfo * g_file_info_new (void); -GFileInfo * g_file_info_dup (GFileInfo *other); -void g_file_info_copy_into (GFileInfo *src_info, - GFileInfo *dest_info); -gboolean g_file_info_has_attribute (GFileInfo *info, - const char *attribute); -char ** g_file_info_list_attributes (GFileInfo *info, - const char *name_space); -gboolean g_file_info_get_attribute_data (GFileInfo *info, - const char *attribute, - GFileAttributeType *type, - gpointer *value_pp, - GFileAttributeStatus *status); -GFileAttributeType g_file_info_get_attribute_type (GFileInfo *info, - const char *attribute); -void g_file_info_remove_attribute (GFileInfo *info, - const char *attribute); -GFileAttributeStatus g_file_info_get_attribute_status (GFileInfo *info, - const char *attribute); -char * g_file_info_get_attribute_as_string (GFileInfo *info, - const char *attribute); -const char * g_file_info_get_attribute_string (GFileInfo *info, - const char *attribute); -const char * g_file_info_get_attribute_byte_string (GFileInfo *info, - const char *attribute); -gboolean g_file_info_get_attribute_boolean (GFileInfo *info, - const char *attribute); -guint32 g_file_info_get_attribute_uint32 (GFileInfo *info, - const char *attribute); -gint32 g_file_info_get_attribute_int32 (GFileInfo *info, - const char *attribute); -guint64 g_file_info_get_attribute_uint64 (GFileInfo *info, - const char *attribute); -gint64 g_file_info_get_attribute_int64 (GFileInfo *info, - const char *attribute); -GObject * g_file_info_get_attribute_object (GFileInfo *info, - const char *attribute); - -void g_file_info_set_attribute (GFileInfo *info, - const char *attribute, - GFileAttributeType type, - gpointer value_p); -void g_file_info_set_attribute_string (GFileInfo *info, - const char *attribute, - const char *attr_value); -void g_file_info_set_attribute_byte_string (GFileInfo *info, - const char *attribute, - const char *attr_value); -void g_file_info_set_attribute_boolean (GFileInfo *info, - const char *attribute, - gboolean attr_value); -void g_file_info_set_attribute_uint32 (GFileInfo *info, - const char *attribute, - guint32 attr_value); -void g_file_info_set_attribute_int32 (GFileInfo *info, - const char *attribute, - gint32 attr_value); -void g_file_info_set_attribute_uint64 (GFileInfo *info, - const char *attribute, - guint64 attr_value); -void g_file_info_set_attribute_int64 (GFileInfo *info, - const char *attribute, - gint64 attr_value); -void g_file_info_set_attribute_object (GFileInfo *info, - const char *attribute, - GObject *attr_value); - -void g_file_info_clear_status (GFileInfo *info); - -/* Helper getters: */ -GFileType g_file_info_get_file_type (GFileInfo *info); -gboolean g_file_info_get_is_hidden (GFileInfo *info); -gboolean g_file_info_get_is_backup (GFileInfo *info); -gboolean g_file_info_get_is_symlink (GFileInfo *info); -const char * g_file_info_get_name (GFileInfo *info); -const char * g_file_info_get_display_name (GFileInfo *info); -const char * g_file_info_get_edit_name (GFileInfo *info); -GIcon * g_file_info_get_icon (GFileInfo *info); -const char * g_file_info_get_content_type (GFileInfo *info); -goffset g_file_info_get_size (GFileInfo *info); -void g_file_info_get_modification_time (GFileInfo *info, - GTimeVal *result); -const char * g_file_info_get_symlink_target (GFileInfo *info); -const char * g_file_info_get_etag (GFileInfo *info); -gint32 g_file_info_get_sort_order (GFileInfo *info); - -void g_file_info_set_attribute_mask (GFileInfo *info, - GFileAttributeMatcher *mask); -void g_file_info_unset_attribute_mask (GFileInfo *info); - -/* Helper setters: */ -void g_file_info_set_file_type (GFileInfo *info, - GFileType type); -void g_file_info_set_is_hidden (GFileInfo *info, - gboolean is_hidden); -void g_file_info_set_is_symlink (GFileInfo *info, - gboolean is_symlink); -void g_file_info_set_name (GFileInfo *info, - const char *name); -void g_file_info_set_display_name (GFileInfo *info, - const char *display_name); -void g_file_info_set_edit_name (GFileInfo *info, - const char *edit_name); -void g_file_info_set_icon (GFileInfo *info, - GIcon *icon); -void g_file_info_set_content_type (GFileInfo *info, - const char *content_type); -void g_file_info_set_size (GFileInfo *info, - goffset size); -void g_file_info_set_modification_time (GFileInfo *info, - GTimeVal *mtime); -void g_file_info_set_symlink_target (GFileInfo *info, - const char *symlink_target); -void g_file_info_set_sort_order (GFileInfo *info, - gint32 sort_order); - -GFileAttributeMatcher *g_file_attribute_matcher_new (const char *attributes); -GFileAttributeMatcher *g_file_attribute_matcher_ref (GFileAttributeMatcher *matcher); -void g_file_attribute_matcher_unref (GFileAttributeMatcher *matcher); -gboolean g_file_attribute_matcher_matches (GFileAttributeMatcher *matcher, - const char *attribute); -gboolean g_file_attribute_matcher_matches_only (GFileAttributeMatcher *matcher, - const char *attribute); -gboolean g_file_attribute_matcher_enumerate_namespace (GFileAttributeMatcher *matcher, - const char *ns); -const char * g_file_attribute_matcher_enumerate_next (GFileAttributeMatcher *matcher); - -G_END_DECLS - - -#endif /* __G_FILE_INFO_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileinputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileinputstream.h deleted file mode 100644 index 1abc46eb..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileinputstream.h +++ /dev/null @@ -1,114 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILE_INPUT_STREAM_H__ -#define __G_FILE_INPUT_STREAM_H__ - -#include <gio/ginputstream.h> -#include <gio/gfileinfo.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILE_INPUT_STREAM (g_file_input_stream_get_type ()) -#define G_FILE_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILE_INPUT_STREAM, GFileInputStream)) -#define G_FILE_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_INPUT_STREAM, GFileInputStreamClass)) -#define G_IS_FILE_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILE_INPUT_STREAM)) -#define G_IS_FILE_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILE_INPUT_STREAM)) -#define G_FILE_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILE_INPUT_STREAM, GFileInputStreamClass)) - -/** - * GFileInputStream: - * - * A subclass of GInputStream for opened files. This adds - * a few file-specific operations and seeking. - * - * #GFileInputStream implements #GSeekable. - **/ -typedef struct _GFileInputStream GFileInputStream; -typedef struct _GFileInputStreamClass GFileInputStreamClass; -typedef struct _GFileInputStreamPrivate GFileInputStreamPrivate; - -struct _GFileInputStream -{ - GInputStream parent_instance; - - /*< private >*/ - GFileInputStreamPrivate *priv; -}; - -struct _GFileInputStreamClass -{ - GInputStreamClass parent_class; - - goffset (*tell) (GFileInputStream *stream); - gboolean (*can_seek) (GFileInputStream *stream); - gboolean (*seek) (GFileInputStream *stream, - goffset offset, - GSeekType type, - GCancellable *cancellable, - GError **error); - GFileInfo *(*query_info) (GFileInputStream *stream, - char *attributes, - GCancellable *cancellable, - GError **error); - void (*query_info_async) (GFileInputStream *stream, - char *attributes, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileInfo *(*query_info_finish) (GFileInputStream *stream, - GAsyncResult *res, - GError **error); - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - -GType g_file_input_stream_get_type (void) G_GNUC_CONST; - -GFileInfo *g_file_input_stream_query_info (GFileInputStream *stream, - char *attributes, - GCancellable *cancellable, - GError **error); -void g_file_input_stream_query_info_async (GFileInputStream *stream, - char *attributes, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileInfo *g_file_input_stream_query_info_finish (GFileInputStream *stream, - GAsyncResult *result, - GError **error); - - -G_END_DECLS - -#endif /* __G_FILE_FILE_INPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilemonitor.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilemonitor.h deleted file mode 100644 index dfc3e26d..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilemonitor.h +++ /dev/null @@ -1,118 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILE_MONITOR_H__ -#define __G_FILE_MONITOR_H__ - -#include <glib-object.h> -#include <gio/gfile.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILE_MONITOR (g_file_monitor_get_type ()) -#define G_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILE_MONITOR, GFileMonitor)) -#define G_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_MONITOR, GFileMonitorClass)) -#define G_IS_FILE_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILE_MONITOR)) -#define G_IS_FILE_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILE_MONITOR)) -#define G_FILE_MONITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILE_MONITOR, GFileMonitorClass)) - -/** - * GFileMonitorEvent: - * @G_FILE_MONITOR_EVENT_CHANGED: a file changed. - * @G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: a hint that this was probably the last change in a set of changes. - * @G_FILE_MONITOR_EVENT_DELETED: a file was deleted. - * @G_FILE_MONITOR_EVENT_CREATED: a file was created. - * @G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: a file attribute was changed. - * @G_FILE_MONITOR_EVENT_PRE_UNMOUNT: the file location will soon be unmounted. - * @G_FILE_MONITOR_EVENT_UNMOUNTED: the file location was unmounted. - * - * Specifies what type of event a monitor event is. - **/ -typedef enum { - G_FILE_MONITOR_EVENT_CHANGED, - G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT, - G_FILE_MONITOR_EVENT_DELETED, - G_FILE_MONITOR_EVENT_CREATED, - G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED, - G_FILE_MONITOR_EVENT_PRE_UNMOUNT, - G_FILE_MONITOR_EVENT_UNMOUNTED -} GFileMonitorEvent; - -typedef struct _GFileMonitorClass GFileMonitorClass; -typedef struct _GFileMonitorPrivate GFileMonitorPrivate; - -/** - * GFileMonitor: - * - * Watches for changes to a file. - **/ -struct _GFileMonitor -{ - GObject parent_instance; - - /*< private >*/ - GFileMonitorPrivate *priv; -}; - -struct _GFileMonitorClass -{ - GObjectClass parent_class; - - /* Signals */ - void (* changed) (GFileMonitor* monitor, - GFile* file, - GFile* other_file, - GFileMonitorEvent event_type); - - /* Virtual Table */ - gboolean (*cancel)(GFileMonitor* monitor); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - -GType g_file_monitor_get_type (void) G_GNUC_CONST; - -gboolean g_file_monitor_cancel (GFileMonitor *monitor); -gboolean g_file_monitor_is_cancelled (GFileMonitor *monitor); -void g_file_monitor_set_rate_limit (GFileMonitor *monitor, - int limit_msecs); - - -/* For implementations */ -void g_file_monitor_emit_event (GFileMonitor *monitor, - GFile *child, - GFile *other_file, - GFileMonitorEvent event_type); - -G_END_DECLS - -#endif /* __G_FILE_MONITOR_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilenamecompleter.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilenamecompleter.h deleted file mode 100644 index c7fd3835..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilenamecompleter.h +++ /dev/null @@ -1,76 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILENAME_COMPLETER_H__ -#define __G_FILENAME_COMPLETER_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILENAME_COMPLETER (g_filename_completer_get_type ()) -#define G_FILENAME_COMPLETER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILENAME_COMPLETER, GFilenameCompleter)) -#define G_FILENAME_COMPLETER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILENAME_COMPLETER, GFilenameCompleterClass)) -#define G_FILENAME_COMPLETER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILENAME_COMPLETER, GFilenameCompleterClass)) -#define G_IS_FILENAME_COMPLETER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILENAME_COMPLETER)) -#define G_IS_FILENAME_COMPLETER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILENAME_COMPLETER)) - -/** - * GFilenameCompleter: - * - * Completes filenames based on files that exist within the file system. - **/ -typedef struct _GFilenameCompleter GFilenameCompleter; -typedef struct _GFilenameCompleterClass GFilenameCompleterClass; - -struct _GFilenameCompleterClass { - GObjectClass parent_class; - - /*< public >*/ - /* signals */ - void (* got_completion_data) (GFilenameCompleter *filename_completer); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); -}; - -GType g_filename_completer_get_type (void) G_GNUC_CONST; - -GFilenameCompleter *g_filename_completer_new (void); - -char * g_filename_completer_get_completion_suffix (GFilenameCompleter *completer, - const char *initial_text); -char ** g_filename_completer_get_completions (GFilenameCompleter *completer, - const char *initial_text); -void g_filename_completer_set_dirs_only (GFilenameCompleter *completer, - gboolean dirs_only); - -G_END_DECLS - -#endif /* __G_FILENAME_COMPLETER_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileoutputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileoutputstream.h deleted file mode 100644 index aebb3c24..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfileoutputstream.h +++ /dev/null @@ -1,121 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILE_OUTPUT_STREAM_H__ -#define __G_FILE_OUTPUT_STREAM_H__ - -#include <gio/goutputstream.h> -#include <gio/gfileinfo.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILE_OUTPUT_STREAM (g_file_output_stream_get_type ()) -#define G_FILE_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILE_OUTPUT_STREAM, GFileOutputStream)) -#define G_FILE_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_OUTPUT_STREAM, GFileOutputStreamClass)) -#define G_IS_FILE_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILE_OUTPUT_STREAM)) -#define G_IS_FILE_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILE_OUTPUT_STREAM)) -#define G_FILE_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILE_OUTPUT_STREAM, GFileOutputStreamClass)) - -/** - * GFileOutputStream: - * - * A subclass of GOutputStream for opened files. This adds - * a few file-specific operations and seeking and truncating. - * - * #GFileOutputStream implements GSeekable. - **/ -typedef struct _GFileOutputStream GFileOutputStream; -typedef struct _GFileOutputStreamClass GFileOutputStreamClass; -typedef struct _GFileOutputStreamPrivate GFileOutputStreamPrivate; - -struct _GFileOutputStream -{ - GOutputStream parent_instance; - - /*< private >*/ - GFileOutputStreamPrivate *priv; -}; - -struct _GFileOutputStreamClass -{ - GOutputStreamClass parent_class; - - goffset (*tell) (GFileOutputStream *stream); - gboolean (*can_seek) (GFileOutputStream *stream); - gboolean (*seek) (GFileOutputStream *stream, - goffset offset, - GSeekType type, - GCancellable *cancellable, - GError **error); - gboolean (*can_truncate) (GFileOutputStream *stream); - gboolean (*truncate_fn) (GFileOutputStream *stream, - goffset size, - GCancellable *cancellable, - GError **error); - GFileInfo *(*query_info) (GFileOutputStream *stream, - char *attributes, - GCancellable *cancellable, - GError **error); - void (*query_info_async) (GFileOutputStream *stream, - char *attributes, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GFileInfo *(*query_info_finish) (GFileOutputStream *stream, - GAsyncResult *res, - GError **error); - char *(*get_etag) (GFileOutputStream *stream); - - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - -GType g_file_output_stream_get_type (void) G_GNUC_CONST; - - -GFileInfo *g_file_output_stream_query_info (GFileOutputStream *stream, - char *attributes, - GCancellable *cancellable, - GError **error); -void g_file_output_stream_query_info_async (GFileOutputStream *stream, - char *attributes, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GFileInfo *g_file_output_stream_query_info_finish (GFileOutputStream *stream, - GAsyncResult *result, - GError **error); -char * g_file_output_stream_get_etag (GFileOutputStream *stream); - -G_END_DECLS - -#endif /* __G_FILE_FILE_OUTPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilterinputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilterinputstream.h deleted file mode 100644 index ee6d9152..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilterinputstream.h +++ /dev/null @@ -1,75 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Christian Kellner <gicmo@gnome.org> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILTER_INPUT_STREAM_H__ -#define __G_FILTER_INPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/ginputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILTER_INPUT_STREAM (g_filter_input_stream_get_type ()) -#define G_FILTER_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILTER_INPUT_STREAM, GFilterInputStream)) -#define G_FILTER_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILTER_INPUT_STREAM, GFilterInputStreamClass)) -#define G_IS_FILTER_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILTER_INPUT_STREAM)) -#define G_IS_FILTER_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILTER_INPUT_STREAM)) -#define G_FILTER_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILTER_INPUT_STREAM, GFilterInputStreamClass)) - -/** - * GFilterInputStream: - * - * A base class for all input streams that work on an underlying stream. - **/ -typedef struct _GFilterInputStream GFilterInputStream; -typedef struct _GFilterInputStreamClass GFilterInputStreamClass; -typedef struct _GFilterInputStreamPrivate GFilterInputStreamPrivate; - -struct _GFilterInputStream -{ - GInputStream parent_instance; - - /*<protected >*/ - GInputStream *base_stream; -}; - -struct _GFilterInputStreamClass -{ - GInputStreamClass parent_class; - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); -}; - - -GType g_filter_input_stream_get_type (void) G_GNUC_CONST; -GInputStream *g_filter_input_stream_get_base_stream (GFilterInputStream *stream); -G_END_DECLS - -#endif /* __G_FILTER_INPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilteroutputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilteroutputstream.h deleted file mode 100644 index ba2d968e..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gfilteroutputstream.h +++ /dev/null @@ -1,75 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Christian Kellner <gicmo@gnome.org> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_FILTER_OUTPUT_STREAM_H__ -#define __G_FILTER_OUTPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/goutputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_FILTER_OUTPUT_STREAM (g_filter_output_stream_get_type ()) -#define G_FILTER_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_FILTER_OUTPUT_STREAM, GFilterOutputStream)) -#define G_FILTER_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILTER_OUTPUT_STREAM, GFilterOutputStreamClass)) -#define G_IS_FILTER_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_FILTER_OUTPUT_STREAM)) -#define G_IS_FILTER_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_FILTER_OUTPUT_STREAM)) -#define G_FILTER_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_FILTER_OUTPUT_STREAM, GFilterOutputStreamClass)) - -/** - * GFilterOutputStream: - * - * A base class for all output streams that work on an underlying stream. - **/ -typedef struct _GFilterOutputStream GFilterOutputStream; -typedef struct _GFilterOutputStreamClass GFilterOutputStreamClass; -typedef struct _GFilterOutputStreamPrivate GFilterOutputStreamPrivate; - -struct _GFilterOutputStream -{ - GOutputStream parent_instance; - - /*< protected >*/ - GOutputStream *base_stream; -}; - -struct _GFilterOutputStreamClass -{ - GOutputStreamClass parent_class; - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); -}; - - -GType g_filter_output_stream_get_type (void) G_GNUC_CONST; -GOutputStream *g_filter_output_stream_get_base_stream (GFilterOutputStream *stream); -G_END_DECLS - -#endif /* __G_FILTER_OUTPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gicon.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gicon.h deleted file mode 100644 index dd028899..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gicon.h +++ /dev/null @@ -1,76 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_ICON_H__ -#define __G_ICON_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -#define G_TYPE_ICON (g_icon_get_type ()) -#define G_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_ICON, GIcon)) -#define G_IS_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_ICON)) -#define G_ICON_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_ICON, GIconIface)) - -/** - * GIcon: - * - * An abstract type that specifies an icon. - **/ -typedef struct _GIcon GIcon; /* Dummy typedef */ -typedef struct _GIconIface GIconIface; - -/** - * GIconIface: - * @g_iface: The parent interface. - * @hash: A hash for a given #GIcon. - * @equal: Checks if two #GIcon<!-- -->s are equal. - * - * GIconIface is used to implement GIcon types for various - * different systems. See #GThemedIcon and #GLoadableIcon for - * examples of how to implement this interface. - */ -struct _GIconIface -{ - GTypeInterface g_iface; - - /* Virtual Table */ - - guint (*hash) (GIcon *icon); - gboolean (*equal) (GIcon *icon1, - GIcon *icon2); -}; - -GType g_icon_get_type (void) G_GNUC_CONST; - -guint g_icon_hash (gconstpointer icon); -gboolean g_icon_equal (GIcon *icon1, - GIcon *icon2); - -G_END_DECLS - -#endif /* __G_ICON_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/ginputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/ginputstream.h deleted file mode 100644 index 3759fec7..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/ginputstream.h +++ /dev/null @@ -1,176 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_INPUT_STREAM_H__ -#define __G_INPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/gioerror.h> -#include <gio/gcancellable.h> -#include <gio/gasyncresult.h> - -G_BEGIN_DECLS - -#define G_TYPE_INPUT_STREAM (g_input_stream_get_type ()) -#define G_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_INPUT_STREAM, GInputStream)) -#define G_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_INPUT_STREAM, GInputStreamClass)) -#define G_IS_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_INPUT_STREAM)) -#define G_IS_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_INPUT_STREAM)) -#define G_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_INPUT_STREAM, GInputStreamClass)) - -/** - * GInputStream: - * - * Base class for streaming input operations. - **/ -typedef struct _GInputStream GInputStream; -typedef struct _GInputStreamClass GInputStreamClass; -typedef struct _GInputStreamPrivate GInputStreamPrivate; - -struct _GInputStream -{ - GObject parent_instance; - - /*< private >*/ - GInputStreamPrivate *priv; -}; - -struct _GInputStreamClass -{ - GObjectClass parent_class; - - /* Sync ops: */ - - gssize (* read_fn) (GInputStream *stream, - void *buffer, - gsize count, - GCancellable *cancellable, - GError **error); - gssize (* skip) (GInputStream *stream, - gsize count, - GCancellable *cancellable, - GError **error); - gboolean (* close_fn) (GInputStream *stream, - GCancellable *cancellable, - GError **error); - - /* Async ops: (optional in derived classes) */ - void (* read_async) (GInputStream *stream, - void *buffer, - gsize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gssize (* read_finish) (GInputStream *stream, - GAsyncResult *result, - GError **error); - void (* skip_async) (GInputStream *stream, - gsize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gssize (* skip_finish) (GInputStream *stream, - GAsyncResult *result, - GError **error); - void (* close_async) (GInputStream *stream, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (* close_finish)(GInputStream *stream, - GAsyncResult *result, - GError **error); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - -GType g_input_stream_get_type (void) G_GNUC_CONST; - -gssize g_input_stream_read (GInputStream *stream, - void *buffer, - gsize count, - GCancellable *cancellable, - GError **error); -gboolean g_input_stream_read_all (GInputStream *stream, - void *buffer, - gsize count, - gsize *bytes_read, - GCancellable *cancellable, - GError **error); -gssize g_input_stream_skip (GInputStream *stream, - gsize count, - GCancellable *cancellable, - GError **error); -gboolean g_input_stream_close (GInputStream *stream, - GCancellable *cancellable, - GError **error); -void g_input_stream_read_async (GInputStream *stream, - void *buffer, - gsize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gssize g_input_stream_read_finish (GInputStream *stream, - GAsyncResult *result, - GError **error); -void g_input_stream_skip_async (GInputStream *stream, - gsize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gssize g_input_stream_skip_finish (GInputStream *stream, - GAsyncResult *result, - GError **error); -void g_input_stream_close_async (GInputStream *stream, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_input_stream_close_finish (GInputStream *stream, - GAsyncResult *result, - GError **error); - -/* For implementations: */ - -gboolean g_input_stream_is_closed (GInputStream *stream); -gboolean g_input_stream_has_pending (GInputStream *stream); -gboolean g_input_stream_set_pending (GInputStream *stream, - GError **error); -void g_input_stream_clear_pending (GInputStream *stream); - -G_END_DECLS - -#endif /* __G_INPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gio.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gio.h deleted file mode 100644 index a81e17fe..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gio.h +++ /dev/null @@ -1,56 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#ifndef __G_IO_H__ -#define __G_IO_H__ - -#define __GIO_GIO_H_INSIDE__ - -#include <gio/gvfs.h> -#include <gio/gfile.h> -#include <gio/gvolumemonitor.h> -#include <gio/gcontenttype.h> -#include <gio/gappinfo.h> -#include <gio/gicon.h> -#include <gio/gfileicon.h> -#include <gio/gloadableicon.h> -#include <gio/gthemedicon.h> -#include <gio/gseekable.h> -#include <gio/gfilemonitor.h> -#include <gio/gbufferedinputstream.h> -#include <gio/gbufferedoutputstream.h> -#include <gio/gdatainputstream.h> -#include <gio/gdataoutputstream.h> -#include <gio/gfilenamecompleter.h> -#include <gio/gfilterinputstream.h> -#include <gio/gfilteroutputstream.h> -#include <gio/giomodule.h> -#include <gio/gioscheduler.h> -#include <gio/gmemoryinputstream.h> -#include <gio/gmemoryoutputstream.h> -#include <gio/gsimpleasyncresult.h> -#include <gio/gioenumtypes.h> -#include <gio/gnativevolumemonitor.h> - -#undef __GIO_GIO_H_INSIDE__ - -#endif /* __G_IO_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioenumtypes.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioenumtypes.h deleted file mode 100644 index ef64328f..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioenumtypes.h +++ /dev/null @@ -1,73 +0,0 @@ - -/* Generated data (by glib-mkenums) */ - -#ifndef __GIO_ENUM_TYPES_H__ -#define __GIO_ENUM_TYPES_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -/* enumerations from "gappinfo.h" */ -GType g_app_info_create_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_APP_INFO_CREATE_FLAGS (g_app_info_create_flags_get_type ()) - -/* enumerations from "gdatainputstream.h" */ -GType g_data_stream_byte_order_get_type (void) G_GNUC_CONST; -#define G_TYPE_DATA_STREAM_BYTE_ORDER (g_data_stream_byte_order_get_type ()) -GType g_data_stream_newline_type_get_type (void) G_GNUC_CONST; -#define G_TYPE_DATA_STREAM_NEWLINE_TYPE (g_data_stream_newline_type_get_type ()) - -/* enumerations from "gfile.h" */ -GType g_file_query_info_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_QUERY_INFO_FLAGS (g_file_query_info_flags_get_type ()) -GType g_file_create_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_CREATE_FLAGS (g_file_create_flags_get_type ()) -GType g_mount_mount_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_MOUNT_MOUNT_FLAGS (g_mount_mount_flags_get_type ()) -GType g_mount_unmount_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_MOUNT_UNMOUNT_FLAGS (g_mount_unmount_flags_get_type ()) -GType g_file_copy_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_COPY_FLAGS (g_file_copy_flags_get_type ()) -GType g_file_monitor_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_MONITOR_FLAGS (g_file_monitor_flags_get_type ()) - -/* enumerations from "gfileattribute.h" */ -GType g_file_attribute_type_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_ATTRIBUTE_TYPE (g_file_attribute_type_get_type ()) -GType g_file_attribute_info_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS (g_file_attribute_info_flags_get_type ()) -GType g_file_attribute_status_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_ATTRIBUTE_STATUS (g_file_attribute_status_get_type ()) - -/* enumerations from "gfileinfo.h" */ -GType g_file_type_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_TYPE (g_file_type_get_type ()) -GType g_filesystem_preview_type_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILESYSTEM_PREVIEW_TYPE (g_filesystem_preview_type_get_type ()) - -/* enumerations from "gfilemonitor.h" */ -GType g_file_monitor_event_get_type (void) G_GNUC_CONST; -#define G_TYPE_FILE_MONITOR_EVENT (g_file_monitor_event_get_type ()) - -/* enumerations from "gioerror.h" */ -GType g_io_error_enum_get_type (void) G_GNUC_CONST; -#define G_TYPE_IO_ERROR_ENUM (g_io_error_enum_get_type ()) - -/* enumerations from "gmountoperation.h" */ -GType g_ask_password_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_ASK_PASSWORD_FLAGS (g_ask_password_flags_get_type ()) -GType g_password_save_get_type (void) G_GNUC_CONST; -#define G_TYPE_PASSWORD_SAVE (g_password_save_get_type ()) -GType g_mount_operation_result_get_type (void) G_GNUC_CONST; -#define G_TYPE_MOUNT_OPERATION_RESULT (g_mount_operation_result_get_type ()) - -/* enumerations from "goutputstream.h" */ -GType g_output_stream_splice_flags_get_type (void) G_GNUC_CONST; -#define G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS (g_output_stream_splice_flags_get_type ()) -G_END_DECLS - -#endif /* __GIO_ENUM_TYPES_H__ */ - -/* Generated data ends here */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioerror.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioerror.h deleted file mode 100644 index 01a1ae29..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioerror.h +++ /dev/null @@ -1,126 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_IO_ERROR_H__ -#define __G_IO_ERROR_H__ - -#include <glib/gerror.h> - -G_BEGIN_DECLS - -GQuark g_io_error_quark (void); - -/** - * G_IO_ERROR: - * - * Error domain for GIO. Errors in this domain will be from the #GIOErrorEnum enumeration. - * See #GError for more information on error domains. - **/ -#define G_IO_ERROR g_io_error_quark() - -/* This enumeration conflicts with GIOError in giochannel.h. However, - * that is only used as a return value in some deprecated functions. - * So, we reuse the same prefix for the enumeration values, but call - * the actual enumeration (which is rarely used) GIOErrorEnum. - */ - -/** - * GIOErrorEnum: - * @G_IO_ERROR_FAILED: Generic error condition for when any operation fails. - * @G_IO_ERROR_NOT_FOUND: File not found error. - * @G_IO_ERROR_EXISTS: File already exists error. - * @G_IO_ERROR_IS_DIRECTORY: File is a directory error. - * @G_IO_ERROR_NOT_DIRECTORY: File is not a directory. - * @G_IO_ERROR_NOT_EMPTY: File is a directory that isn't empty. - * @G_IO_ERROR_NOT_REGULAR_FILE: File is not a regular file. - * @G_IO_ERROR_NOT_SYMBOLIC_LINK: File is not a symbolic link. - * @G_IO_ERROR_NOT_MOUNTABLE_FILE: File cannot be mounted. - * @G_IO_ERROR_FILENAME_TOO_LONG: Filename is too many characters. - * @G_IO_ERROR_INVALID_FILENAME: Filename is invalid or contains invalid characters. - * @G_IO_ERROR_TOO_MANY_LINKS: File contains too many symbolic links. - * @G_IO_ERROR_NO_SPACE: No space left on drive. - * @G_IO_ERROR_INVALID_ARGUMENT: Invalid argument. - * @G_IO_ERROR_PERMISSION_DENIED: Permission denied. - * @G_IO_ERROR_NOT_SUPPORTED: Operation not supported for the current backend. - * @G_IO_ERROR_NOT_MOUNTED: File isn't mounted. - * @G_IO_ERROR_ALREADY_MOUNTED: File is already mounted. - * @G_IO_ERROR_CLOSED: File was closed. - * @G_IO_ERROR_CANCELLED: Operation was cancelled. See #GCancellable. - * @G_IO_ERROR_PENDING: Operations are still pending. - * @G_IO_ERROR_READ_ONLY: File is read only. - * @G_IO_ERROR_CANT_CREATE_BACKUP: Backup couldn't be created. - * @G_IO_ERROR_WRONG_ETAG: File's Entity Tag was incorrect. - * @G_IO_ERROR_TIMED_OUT: Operation timed out. - * @G_IO_ERROR_WOULD_RECURSE: Operation would be recursive. - * @G_IO_ERROR_BUSY: File is busy. - * @G_IO_ERROR_WOULD_BLOCK: Operation would block. - * @G_IO_ERROR_HOST_NOT_FOUND: Host couldn't be found (remote operations). - * @G_IO_ERROR_WOULD_MERGE: Operation would merge files. - * @G_IO_ERROR_FAILED_HANDLED: Operation failed and a helper program has already interacted with the user. Do not display any error dialog. - * - * Error codes returned by GIO functions. - * - **/ -typedef enum -{ - G_IO_ERROR_FAILED, - G_IO_ERROR_NOT_FOUND, - G_IO_ERROR_EXISTS, - G_IO_ERROR_IS_DIRECTORY, - G_IO_ERROR_NOT_DIRECTORY, - G_IO_ERROR_NOT_EMPTY, - G_IO_ERROR_NOT_REGULAR_FILE, - G_IO_ERROR_NOT_SYMBOLIC_LINK, - G_IO_ERROR_NOT_MOUNTABLE_FILE, - G_IO_ERROR_FILENAME_TOO_LONG, - G_IO_ERROR_INVALID_FILENAME, - G_IO_ERROR_TOO_MANY_LINKS, - G_IO_ERROR_NO_SPACE, - G_IO_ERROR_INVALID_ARGUMENT, - G_IO_ERROR_PERMISSION_DENIED, - G_IO_ERROR_NOT_SUPPORTED, - G_IO_ERROR_NOT_MOUNTED, - G_IO_ERROR_ALREADY_MOUNTED, - G_IO_ERROR_CLOSED, - G_IO_ERROR_CANCELLED, - G_IO_ERROR_PENDING, - G_IO_ERROR_READ_ONLY, - G_IO_ERROR_CANT_CREATE_BACKUP, - G_IO_ERROR_WRONG_ETAG, - G_IO_ERROR_TIMED_OUT, - G_IO_ERROR_WOULD_RECURSE, - G_IO_ERROR_BUSY, - G_IO_ERROR_WOULD_BLOCK, - G_IO_ERROR_HOST_NOT_FOUND, - G_IO_ERROR_WOULD_MERGE, - G_IO_ERROR_FAILED_HANDLED -} GIOErrorEnum; - -GIOErrorEnum g_io_error_from_errno (gint err_no); - -G_END_DECLS - -#endif /* __G_IO_ERROR_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/giomodule.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/giomodule.h deleted file mode 100644 index 2801d773..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/giomodule.h +++ /dev/null @@ -1,99 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_IO_MODULE_H__ -#define __G_IO_MODULE_H__ - -#include <glib-object.h> -#include <gmodule.h> - -G_BEGIN_DECLS - -#define G_IO_TYPE_MODULE (g_io_module_get_type ()) -#define G_IO_MODULE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_IO_TYPE_MODULE, GIOModule)) -#define G_IO_MODULE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_IO_TYPE_MODULE, GIOModuleClass)) -#define G_IO_IS_MODULE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_IO_TYPE_MODULE)) -#define G_IO_IS_MODULE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_IO_TYPE_MODULE)) -#define G_IO_MODULE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_IO_TYPE_MODULE, GIOModuleClass)) - -/** - * GIOModule: - * - * Opaque module base class for extending GIO. - **/ -typedef struct _GIOModule GIOModule; -typedef struct _GIOModuleClass GIOModuleClass; - -typedef struct _GIOExtensionPoint GIOExtensionPoint; -typedef struct _GIOExtension GIOExtension; - -GType g_io_module_get_type (void) G_GNUC_CONST; -GIOModule *g_io_module_new (const gchar *filename); - -GList *g_io_modules_load_all_in_directory (const char *dirname); - -GIOExtensionPoint *g_io_extension_point_register (const char *name); -GIOExtensionPoint *g_io_extension_point_lookup (const char *name); -void g_io_extension_point_set_required_type (GIOExtensionPoint *extension_point, - GType type); -GType g_io_extension_point_get_required_type (GIOExtensionPoint *extension_point); -GList *g_io_extension_point_get_extensions (GIOExtensionPoint *extension_point); -GIOExtension * g_io_extension_point_get_extension_by_name (GIOExtensionPoint *extension_point, - const char *name); -GIOExtension * g_io_extension_point_implement (const char *extension_point_name, - GType type, - const char *extension_name, - gint priority); - -GType g_io_extension_get_type (GIOExtension *extension); -const char * g_io_extension_get_name (GIOExtension *extension); -gint g_io_extension_get_priority (GIOExtension *extension); -GTypeClass* g_io_extension_ref_class (GIOExtension *extension); - -/* API for the modules to implement */ -/** - * g_io_module_load: - * @module: a #GIOModule. - * - * Required API for GIO modules to implement. - * This function is ran after the module has been loaded into GIO, - * to initialize the module. - **/ -void g_io_module_load (GIOModule *module); - -/** - * g_io_module_unload: - * @module: a #GIOModule. - * - * Required API for GIO modules to implement. - * This function is ran when the module is being unloaded from GIO, - * to finalize the module. - **/ -void g_io_module_unload (GIOModule *module); - -G_END_DECLS - -#endif /* __G_IO_MODULE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioscheduler.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioscheduler.h deleted file mode 100644 index 03c7f94f..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gioscheduler.h +++ /dev/null @@ -1,81 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_IO_SCHEDULER_H__ -#define __G_IO_SCHEDULER_H__ - -#include <glib.h> -#include <gio/gcancellable.h> - -G_BEGIN_DECLS - -/** - * GIOSchedulerJob: - * - * Opaque class for definining and scheduling IO jobs. - **/ -typedef struct _GIOSchedulerJob GIOSchedulerJob; - -/** - * GIOSchedulerJobFunc: - * @job: a #GIOSchedulerJob. - * @cancellable: optional #GCancellable object, %NULL to ignore. - * @user_data: the data to pass to callback function - * - * I/O Job function. - * - * Note that depending on whether threads are available, the - * #GIOScheduler may run jobs in separate threads or in an idle - * in the mainloop. - * - * Long-running jobs should periodically check the @cancellable - * to see if they have been cancelled. - * - * Returns: %TRUE if this function should be called again to - * complete the job, %FALSE if the job is complete (or cancelled) - **/ -typedef gboolean (*GIOSchedulerJobFunc) (GIOSchedulerJob *job, - GCancellable *cancellable, - gpointer user_data); - -void g_io_scheduler_push_job (GIOSchedulerJobFunc job_func, - gpointer user_data, - GDestroyNotify notify, - gint io_priority, - GCancellable *cancellable); -void g_io_scheduler_cancel_all_jobs (void); -gboolean g_io_scheduler_job_send_to_mainloop (GIOSchedulerJob *job, - GSourceFunc func, - gpointer user_data, - GDestroyNotify notify); -void g_io_scheduler_job_send_to_mainloop_async (GIOSchedulerJob *job, - GSourceFunc func, - gpointer user_data, - GDestroyNotify notify); - -G_END_DECLS - -#endif /* __G_IO_SCHEDULER_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gloadableicon.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gloadableicon.h deleted file mode 100644 index 3973f74d..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gloadableicon.h +++ /dev/null @@ -1,101 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_LOADABLE_ICON_H__ -#define __G_LOADABLE_ICON_H__ - -#include <glib-object.h> -#include <gio/gicon.h> -#include <gio/ginputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_LOADABLE_ICON (g_loadable_icon_get_type ()) -#define G_LOADABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_LOADABLE_ICON, GLoadableIcon)) -#define G_IS_LOADABLE_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_LOADABLE_ICON)) -#define G_LOADABLE_ICON_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_LOADABLE_ICON, GLoadableIconIface)) - -/** - * GLoadableIcon: - * - * Generic type for all kinds of icons that can be loaded - * as a stream. - **/ -typedef struct _GLoadableIcon GLoadableIcon; /* Dummy typedef */ -typedef struct _GLoadableIconIface GLoadableIconIface; - -/** - * GLoadableIconIface: - * @g_iface: The parent interface. - * @load: Loads an icon. - * @load_async: Loads an icon asynchronously. - * @load_finish: Finishes an asynchronous icon load. - * - * Interface for icons that can be loaded as a stream. - **/ -struct _GLoadableIconIface -{ - GTypeInterface g_iface; - - /* Virtual Table */ - - GInputStream * (*load) (GLoadableIcon *icon, - int size, - char **type, - GCancellable *cancellable, - GError **error); - void (*load_async) (GLoadableIcon *icon, - int size, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - GInputStream * (*load_finish) (GLoadableIcon *icon, - GAsyncResult *res, - char **type, - GError **error); -}; - -GType g_loadable_icon_get_type (void) G_GNUC_CONST; - - -GInputStream *g_loadable_icon_load (GLoadableIcon *icon, - int size, - char **type, - GCancellable *cancellable, - GError **error); -void g_loadable_icon_load_async (GLoadableIcon *icon, - int size, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -GInputStream *g_loadable_icon_load_finish (GLoadableIcon *icon, - GAsyncResult *res, - char **type, - GError **error); - -G_END_DECLS - -#endif /* __G_LOADABLE_ICON_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmemoryinputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmemoryinputstream.h deleted file mode 100644 index 0e3e43f2..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmemoryinputstream.h +++ /dev/null @@ -1,84 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Christian Kellner <gicmo@gnome.org> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_MEMORY_INPUT_STREAM_H__ -#define __G_MEMORY_INPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/ginputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_MEMORY_INPUT_STREAM (g_memory_input_stream_get_type ()) -#define G_MEMORY_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_MEMORY_INPUT_STREAM, GMemoryInputStream)) -#define G_MEMORY_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MEMORY_INPUT_STREAM, GMemoryInputStreamClass)) -#define G_IS_MEMORY_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_MEMORY_INPUT_STREAM)) -#define G_IS_MEMORY_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_MEMORY_INPUT_STREAM)) -#define G_MEMORY_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_MEMORY_INPUT_STREAM, GMemoryInputStreamClass)) - -/** - * GMemoryInputStream: - * - * Implements #GInputStream for arbitrary memory chunks. - **/ -typedef struct _GMemoryInputStream GMemoryInputStream; -typedef struct _GMemoryInputStreamClass GMemoryInputStreamClass; -typedef struct _GMemoryInputStreamPrivate GMemoryInputStreamPrivate; - -struct _GMemoryInputStream -{ - GInputStream parent_instance; - - /*< private >*/ - GMemoryInputStreamPrivate *priv; -}; - -struct _GMemoryInputStreamClass -{ - GInputStreamClass parent_class; - - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - - -GType g_memory_input_stream_get_type (void) G_GNUC_CONST; -GInputStream * g_memory_input_stream_new (void); -GInputStream * g_memory_input_stream_new_from_data (const void *data, - gssize len, - GDestroyNotify destroy); -void g_memory_input_stream_add_data (GMemoryInputStream *stream, - const void *data, - gssize len, - GDestroyNotify destroy); - -G_END_DECLS - -#endif /* __G_MEMORY_INPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmemoryoutputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmemoryoutputstream.h deleted file mode 100644 index 99fd8c2e..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmemoryoutputstream.h +++ /dev/null @@ -1,97 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Christian Kellner <gicmo@gnome.org> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_MEMORY_OUTPUT_STREAM_H__ -#define __G_MEMORY_OUTPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/goutputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_MEMORY_OUTPUT_STREAM (g_memory_output_stream_get_type ()) -#define G_MEMORY_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStream)) -#define G_MEMORY_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass)) -#define G_IS_MEMORY_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_MEMORY_OUTPUT_STREAM)) -#define G_IS_MEMORY_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_MEMORY_OUTPUT_STREAM)) -#define G_MEMORY_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass)) - -/** - * GMemoryOutputStream: - * - * Implements #GOutputStream for arbitrary memory chunks. - **/ -typedef struct _GMemoryOutputStream GMemoryOutputStream; -typedef struct _GMemoryOutputStreamClass GMemoryOutputStreamClass; -typedef struct _GMemoryOutputStreamPrivate GMemoryOutputStreamPrivate; - -struct _GMemoryOutputStream -{ - GOutputStream parent_instance; - - /*< private >*/ - GMemoryOutputStreamPrivate *priv; -}; - -struct _GMemoryOutputStreamClass -{ - GOutputStreamClass parent_class; - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); -}; - -/** - * GReallocFunc: - * @data: memory block to reallocate - * @size: size to reallocate @data to - * - * Changes the size of the memory block pointed to by @data to - * @size bytes. - * - * The function should have the same semantics as realloc(). - * - * Returns: a pointer to the reallocated memory - */ -typedef gpointer (*GReallocFunc) (gpointer data, gsize size); - -GType g_memory_output_stream_get_type (void) G_GNUC_CONST; - -GOutputStream *g_memory_output_stream_new (gpointer data, - gsize len, - GReallocFunc realloc_fn, - GDestroyNotify destroy); -gpointer g_memory_output_stream_get_data (GMemoryOutputStream *ostream); -gsize g_memory_output_stream_get_size (GMemoryOutputStream *ostream); - -G_END_DECLS - -#endif /* __G_MEMORY_OUTPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmount.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmount.h deleted file mode 100644 index c2474d56..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmount.h +++ /dev/null @@ -1,164 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - * David Zeuthen <davidz@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_MOUNT_H__ -#define __G_MOUNT_H__ - -#include <glib-object.h> -#include <gio/gfile.h> - -G_BEGIN_DECLS - -#define G_TYPE_MOUNT (g_mount_get_type ()) -#define G_MOUNT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_MOUNT, GMount)) -#define G_IS_MOUNT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_MOUNT)) -#define G_MOUNT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_MOUNT, GMountIface)) - -/* GMount typedef is in gfile.h due to include order issues */ -/** - * GVolume: - * - * Opaque mountable volume object. - **/ -typedef struct _GVolume GVolume; /* Dummy typedef */ - -/** - * GDrive: - * - * Opaque drive object. - **/ -typedef struct _GDrive GDrive; /* Dummy typedef */ - -typedef struct _GMountIface GMountIface; - -/** - * GMountIface: - * @g_iface: The parent interface. - * @changed: Changed signal that is emitted when the mount's state has changed. - * @unmounted: The unmounted signal that is emitted when the #GMount have been unmounted. If the recipient is holding references to the object they should release them so the object can be finalized. - * @get_root: Gets a #GFile to the root directory of the #GMount. - * @get_name: Gets a string containing the name of the #GMount. - * @get_icon: Gets a #GIcon for the #GMount. - * @get_uuid: Gets the UUID for the #GMount. The reference is typically based on the file system UUID for the mount in question and should be considered an opaque string. Returns %NULL if there is no UUID available. - * @get_volume: Gets a #GVolume the mount is located on. Returns %NULL if the #GMount is not associated with a #GVolume. - * @get_drive: Gets a #GDrive the volume of the mount is located on. Returns %NULL if the #GMount is not associated with a #GDrive or a #GVolume. This is convenience method for getting the #GVolume and using that to get the #GDrive. - * @can_unmount: Checks if a #GMount can be unmounted. - * @can_eject: Checks if a #GMount can be ejected. - * @unmount: Starts unmounting a #GMount. - * @unmount_finish: Finishes an unmounting operation. - * @eject: Starts ejecting a #GMount. - * @eject_finish: Finishes an eject operation. - * @remount: Starts remounting a #GMount. - * @remount_finish: Finishes a remounting operation. - * - * Interface for implementing operations for mounts. - **/ -struct _GMountIface -{ - GTypeInterface g_iface; - - /* signals */ - - void (*changed) (GMount *mount); - void (*unmounted) (GMount *mount); - - /* Virtual Table */ - - GFile * (*get_root) (GMount *mount); - char * (*get_name) (GMount *mount); - GIcon * (*get_icon) (GMount *mount); - char * (*get_uuid) (GMount *mount); - GVolume * (*get_volume) (GMount *mount); - GDrive * (*get_drive) (GMount *mount); - gboolean (*can_unmount) (GMount *mount); - gboolean (*can_eject) (GMount *mount); - void (*unmount) (GMount *mount, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*unmount_finish) (GMount *mount, - GAsyncResult *result, - GError **error); - void (*eject) (GMount *mount, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*eject_finish) (GMount *mount, - GAsyncResult *result, - GError **error); - void (*remount) (GMount *mount, - GMountMountFlags flags, - GMountOperation *mount_operation, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*remount_finish) (GMount *mount, - GAsyncResult *result, - GError **error); -}; - -GType g_mount_get_type (void) G_GNUC_CONST; - -GFile * g_mount_get_root (GMount *mount); -char * g_mount_get_name (GMount *mount); -GIcon * g_mount_get_icon (GMount *mount); -char * g_mount_get_uuid (GMount *mount); -GVolume * g_mount_get_volume (GMount *mount); -GDrive * g_mount_get_drive (GMount *mount); -gboolean g_mount_can_unmount (GMount *mount); -gboolean g_mount_can_eject (GMount *mount); -void g_mount_unmount (GMount *mount, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_mount_unmount_finish (GMount *mount, - GAsyncResult *result, - GError **error); -void g_mount_eject (GMount *mount, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_mount_eject_finish (GMount *mount, - GAsyncResult *result, - GError **error); -void g_mount_remount (GMount *mount, - GMountMountFlags flags, - GMountOperation *mount_operation, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_mount_remount_finish (GMount *mount, - GAsyncResult *result, - GError **error); - -G_END_DECLS - -#endif /* __G_MOUNT_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmountoperation.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmountoperation.h deleted file mode 100644 index a220d954..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gmountoperation.h +++ /dev/null @@ -1,172 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_MOUNT_OPERATION_H__ -#define __G_MOUNT_OPERATION_H__ - -#include <sys/stat.h> - -#include <glib-object.h> - -G_BEGIN_DECLS - -#define G_TYPE_MOUNT_OPERATION (g_mount_operation_get_type ()) -#define G_MOUNT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_MOUNT_OPERATION, GMountOperation)) -#define G_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MOUNT_OPERATION, GMountOperationClass)) -#define G_IS_MOUNT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_MOUNT_OPERATION)) -#define G_IS_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_MOUNT_OPERATION)) -#define G_MOUNT_OPERATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_MOUNT_OPERATION, GMountOperationClass)) - -/** - * GMountOperation: - * - * Class for providing authentication methods for mounting operations, - * such as mounting a file locally, or authenticating with a server. - **/ -typedef struct _GMountOperation GMountOperation; -typedef struct _GMountOperationClass GMountOperationClass; -typedef struct _GMountOperationPrivate GMountOperationPrivate; - -struct _GMountOperation -{ - GObject parent_instance; - - GMountOperationPrivate *priv; -}; - -/** - * GAskPasswordFlags: - * @G_ASK_PASSWORD_NEED_PASSWORD: operation requires a password. - * @G_ASK_PASSWORD_NEED_USERNAME: operation requires a username. - * @G_ASK_PASSWORD_NEED_DOMAIN: operation requires a domain. - * @G_ASK_PASSWORD_SAVING_SUPPORTED: operation supports saving settings. - * @G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: operation supports anonymous users. - * - * #GAskPasswordFlags are used to request specific information from the - * user, or to notify the user of their choices in an authentication - * situation. - * - **/ -typedef enum { - G_ASK_PASSWORD_NEED_PASSWORD = 1<<0, - G_ASK_PASSWORD_NEED_USERNAME = 1<<1, - G_ASK_PASSWORD_NEED_DOMAIN = 1<<2, - G_ASK_PASSWORD_SAVING_SUPPORTED = 1<<3, - G_ASK_PASSWORD_ANONYMOUS_SUPPORTED = 1<<4 -} GAskPasswordFlags; - -/** - * GPasswordSave: - * @G_PASSWORD_SAVE_NEVER: never save a password. - * @G_PASSWORD_SAVE_FOR_SESSION: save a password for the session. - * @G_PASSWORD_SAVE_PERMANENTLY: save a password permanently. - * - * #GPasswordSave is used to indicate the lifespan of a saved password. - **/ -typedef enum { - G_PASSWORD_SAVE_NEVER, - G_PASSWORD_SAVE_FOR_SESSION, - G_PASSWORD_SAVE_PERMANENTLY -} GPasswordSave; - -/** - * GMountOperationResult: - * @G_MOUNT_OPERATION_HANDLED: The request was fulfilled and the user specified data is now availible - * @G_MOUNT_OPERATION_ABORTED: The user requested the mount operation to be aborted - * @G_MOUNT_OPERATION_UNHANDLED: The request was unhandled (i.e. not implemented) - * - * #GMountOperationResult is returned as a result when a request for information - * is send by the mounting operation. - **/ -typedef enum { - G_MOUNT_OPERATION_HANDLED, - G_MOUNT_OPERATION_ABORTED, - G_MOUNT_OPERATION_UNHANDLED -} GMountOperationResult; - -struct _GMountOperationClass -{ - GObjectClass parent_class; - - /* signals: */ - - void (* ask_password) (GMountOperation *op, - const char *message, - const char *default_user, - const char *default_domain, - GAskPasswordFlags flags); - - void (* ask_question) (GMountOperation *op, - const char *message, - const char *choices[]); - - void (* reply) (GMountOperation *op, - GMountOperationResult result); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); - void (*_g_reserved6) (void); - void (*_g_reserved7) (void); - void (*_g_reserved8) (void); - void (*_g_reserved9) (void); - void (*_g_reserved10) (void); - void (*_g_reserved11) (void); - void (*_g_reserved12) (void); -}; - -GType g_mount_operation_get_type (void) G_GNUC_CONST; - -GMountOperation * g_mount_operation_new (void); - -const char * g_mount_operation_get_username (GMountOperation *op); -void g_mount_operation_set_username (GMountOperation *op, - const char *username); -const char * g_mount_operation_get_password (GMountOperation *op); -void g_mount_operation_set_password (GMountOperation *op, - const char *password); -gboolean g_mount_operation_get_anonymous (GMountOperation *op); -void g_mount_operation_set_anonymous (GMountOperation *op, - gboolean anonymous); -const char * g_mount_operation_get_domain (GMountOperation *op); -void g_mount_operation_set_domain (GMountOperation *op, - const char *domain); -GPasswordSave g_mount_operation_get_password_save (GMountOperation *op); -void g_mount_operation_set_password_save (GMountOperation *op, - GPasswordSave save); -int g_mount_operation_get_choice (GMountOperation *op); -void g_mount_operation_set_choice (GMountOperation *op, - int choice); -void g_mount_operation_reply (GMountOperation *op, - GMountOperationResult result); - -G_END_DECLS - -#endif /* __G_MOUNT_OPERATION_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gnativevolumemonitor.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gnativevolumemonitor.h deleted file mode 100644 index 3face1b2..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gnativevolumemonitor.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef __G_NATIVE_VOLUME_MONITOR_H__ -#define __G_NATIVE_VOLUME_MONITOR_H__ - -#include <glib-object.h> -#include <gio/gvolumemonitor.h> - -G_BEGIN_DECLS - -#define G_TYPE_NATIVE_VOLUME_MONITOR (g_native_volume_monitor_get_type ()) -#define G_NATIVE_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_NATIVE_VOLUME_MONITOR, GNativeVolumeMonitor)) -#define G_NATIVE_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_NATIVE_VOLUME_MONITOR, GNativeVolumeMonitorClass)) -#define G_IS_NATIVE_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_NATIVE_VOLUME_MONITOR)) -#define G_IS_NATIVE_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_NATIVE_VOLUME_MONITOR)) - -#define G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME "gio-native-volume-monitor" - -typedef struct _GNativeVolumeMonitor GNativeVolumeMonitor; -typedef struct _GNativeVolumeMonitorClass GNativeVolumeMonitorClass; - -struct _GNativeVolumeMonitor { - GVolumeMonitor parent_instance; -}; - -struct _GNativeVolumeMonitorClass { - GVolumeMonitorClass parent_class; - - GMount * (*get_mount_for_mount_path) (const char *mount_path, - GCancellable *cancellable); -}; - -GType g_native_volume_monitor_get_type (void) G_GNUC_CONST; - - -G_END_DECLS - -#endif /* __G_NATIVE_VOLUME_MONITOR_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/goutputstream.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/goutputstream.h deleted file mode 100644 index 263e6e6d..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/goutputstream.h +++ /dev/null @@ -1,225 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_OUTPUT_STREAM_H__ -#define __G_OUTPUT_STREAM_H__ - -#include <glib-object.h> -#include <gio/gioerror.h> -#include <gio/gasyncresult.h> -#include <gio/gcancellable.h> -#include <gio/ginputstream.h> - -G_BEGIN_DECLS - -#define G_TYPE_OUTPUT_STREAM (g_output_stream_get_type ()) -#define G_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_OUTPUT_STREAM, GOutputStream)) -#define G_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_OUTPUT_STREAM, GOutputStreamClass)) -#define G_IS_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_OUTPUT_STREAM)) -#define G_IS_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_OUTPUT_STREAM)) -#define G_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_OUTPUT_STREAM, GOutputStreamClass)) - -/** - * GOutputStreamSpliceFlags: - * @G_OUTPUT_STREAM_SPLICE_NONE: Do not close either stream. - * @G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: Close the source stream after the splice. - * @G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: Close the target stream after the splice. - * - * GOutputStreamSpliceFlags determine how streams should be spliced. - **/ -typedef enum { - G_OUTPUT_STREAM_SPLICE_NONE = 0, - G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE = 1 << 0, - G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET = 1 << 1 -} GOutputStreamSpliceFlags; - -/** - * GOutputStream: - * - * Base class for writing output. - * - * All classes derived from GOutputStream should implement synchronous - * writing, splicing, flushing and closing streams, but may implement - * asynchronous versions. - **/ -typedef struct _GOutputStream GOutputStream; -typedef struct _GOutputStreamClass GOutputStreamClass; -typedef struct _GOutputStreamPrivate GOutputStreamPrivate; - -struct _GOutputStream -{ - GObject parent_instance; - - /*< private >*/ - GOutputStreamPrivate *priv; -}; - - -struct _GOutputStreamClass -{ - GObjectClass parent_class; - - /* Sync ops: */ - - gssize (* write_fn)(GOutputStream *stream, - const void *buffer, - gsize count, - GCancellable *cancellable, - GError **error); - gssize (* splice) (GOutputStream *stream, - GInputStream *source, - GOutputStreamSpliceFlags flags, - GCancellable *cancellable, - GError **error); - gboolean (* flush) (GOutputStream *stream, - GCancellable *cancellable, - GError **error); - gboolean (* close_fn)(GOutputStream *stream, - GCancellable *cancellable, - GError **error); - - /* Async ops: (optional in derived classes) */ - - void (* write_async) (GOutputStream *stream, - const void *buffer, - gsize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gssize (* write_finish) (GOutputStream *stream, - GAsyncResult *result, - GError **error); - void (* splice_async) (GOutputStream *stream, - GInputStream *source, - GOutputStreamSpliceFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer data); - gssize (* splice_finish)(GOutputStream *stream, - GAsyncResult *result, - GError **error); - void (* flush_async) (GOutputStream *stream, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (* flush_finish) (GOutputStream *stream, - GAsyncResult *result, - GError **error); - void (* close_async) (GOutputStream *stream, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (* close_finish) (GOutputStream *stream, - GAsyncResult *result, - GError **error); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); - void (*_g_reserved6) (void); - void (*_g_reserved7) (void); - void (*_g_reserved8) (void); -}; - -GType g_output_stream_get_type (void) G_GNUC_CONST; - -gssize g_output_stream_write (GOutputStream *stream, - const void *buffer, - gsize count, - GCancellable *cancellable, - GError **error); -gboolean g_output_stream_write_all (GOutputStream *stream, - const void *buffer, - gsize count, - gsize *bytes_written, - GCancellable *cancellable, - GError **error); -gssize g_output_stream_splice (GOutputStream *stream, - GInputStream *source, - GOutputStreamSpliceFlags flags, - GCancellable *cancellable, - GError **error); -gboolean g_output_stream_flush (GOutputStream *stream, - GCancellable *cancellable, - GError **error); -gboolean g_output_stream_close (GOutputStream *stream, - GCancellable *cancellable, - GError **error); -void g_output_stream_write_async (GOutputStream *stream, - const void *buffer, - gsize count, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gssize g_output_stream_write_finish (GOutputStream *stream, - GAsyncResult *result, - GError **error); -void g_output_stream_splice_async (GOutputStream *stream, - GInputStream *source, - GOutputStreamSpliceFlags flags, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gssize g_output_stream_splice_finish (GOutputStream *stream, - GAsyncResult *result, - GError **error); -void g_output_stream_flush_async (GOutputStream *stream, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_output_stream_flush_finish (GOutputStream *stream, - GAsyncResult *result, - GError **error); -void g_output_stream_close_async (GOutputStream *stream, - int io_priority, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_output_stream_close_finish (GOutputStream *stream, - GAsyncResult *result, - GError **error); - -gboolean g_output_stream_is_closed (GOutputStream *stream); -gboolean g_output_stream_has_pending (GOutputStream *stream); -gboolean g_output_stream_set_pending (GOutputStream *stream, - GError **error); -void g_output_stream_clear_pending (GOutputStream *stream); - - -G_END_DECLS - -#endif /* __G_OUTPUT_STREAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gseekable.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gseekable.h deleted file mode 100644 index 78b8998c..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gseekable.h +++ /dev/null @@ -1,101 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_SEEKABLE_H__ -#define __G_SEEKABLE_H__ - -#include <glib-object.h> -#include <gio/gcancellable.h> - -G_BEGIN_DECLS - -#define G_TYPE_SEEKABLE (g_seekable_get_type ()) -#define G_SEEKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_SEEKABLE, GSeekable)) -#define G_IS_SEEKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_SEEKABLE)) -#define G_SEEKABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_SEEKABLE, GSeekableIface)) - -/** - * GSeekable: - * - * Seek object for streaming operations. - **/ -typedef struct _GSeekable GSeekable; -typedef struct _GSeekableIface GSeekableIface; - -/** - * GSeekableIface: - * @g_iface: The parent interface. - * @tell: Tells the current location within a stream. - * @can_seek: Checks if seeking is supported by the stream. - * @seek: Seeks to a location within a stream. - * @can_truncate: Chekcs if truncation is suppored by the stream. - * @truncate_fn: Truncates a stream. - * - * Provides an interface for implementing seekable functionality on I/O Streams. - **/ -struct _GSeekableIface -{ - GTypeInterface g_iface; - - /* Virtual Table */ - - goffset (* tell) (GSeekable *seekable); - - gboolean (* can_seek) (GSeekable *seekable); - gboolean (* seek) (GSeekable *seekable, - goffset offset, - GSeekType type, - GCancellable *cancellable, - GError **error); - - gboolean (* can_truncate) (GSeekable *seekable); - gboolean (* truncate_fn) (GSeekable *seekable, - goffset offset, - GCancellable *cancellable, - GError **error); - - /* TODO: Async seek/truncate */ -}; - -GType g_seekable_get_type (void) G_GNUC_CONST; - -goffset g_seekable_tell (GSeekable *seekable); -gboolean g_seekable_can_seek (GSeekable *seekable); -gboolean g_seekable_seek (GSeekable *seekable, - goffset offset, - GSeekType type, - GCancellable *cancellable, - GError **error); -gboolean g_seekable_can_truncate (GSeekable *seekable); -gboolean g_seekable_truncate (GSeekable *seekable, - goffset offset, - GCancellable *cancellable, - GError **error); - -G_END_DECLS - - -#endif /* __G_SEEKABLE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gsimpleasyncresult.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gsimpleasyncresult.h deleted file mode 100644 index f2f9b36d..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gsimpleasyncresult.h +++ /dev/null @@ -1,137 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_SIMPLE_ASYNC_RESULT_H__ -#define __G_SIMPLE_ASYNC_RESULT_H__ - -#include <gio/gasyncresult.h> -#include <gio/gcancellable.h> - -G_BEGIN_DECLS - -#define G_TYPE_SIMPLE_ASYNC_RESULT (g_simple_async_result_get_type ()) -#define G_SIMPLE_ASYNC_RESULT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResult)) -#define G_SIMPLE_ASYNC_RESULT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResultClass)) -#define G_IS_SIMPLE_ASYNC_RESULT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_SIMPLE_ASYNC_RESULT)) -#define G_IS_SIMPLE_ASYNC_RESULT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_SIMPLE_ASYNC_RESULT)) -#define G_SIMPLE_ASYNC_RESULT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResultClass)) - -/** - * GSimpleAsyncResult: - * - * A simple implementation of #GAsyncResult. - **/ -typedef struct _GSimpleAsyncResult GSimpleAsyncResult; -typedef struct _GSimpleAsyncResultClass GSimpleAsyncResultClass; - -/** - * GSimpleAsyncThreadFunc: - * @res: a #GSimpleAsyncResult. - * @object: a #GObject. - * @cancellable: optional #GCancellable object, %NULL to ignore. - * - * Simple thread function that runs an asynchronous operation and - * checks for cancellation. - **/ -typedef void (*GSimpleAsyncThreadFunc) (GSimpleAsyncResult *res, - GObject *object, - GCancellable *cancellable); - - -GType g_simple_async_result_get_type (void) G_GNUC_CONST; - -GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object, - GAsyncReadyCallback callback, - gpointer user_data, - gpointer source_tag); -GSimpleAsyncResult *g_simple_async_result_new_error (GObject *source_object, - GAsyncReadyCallback callback, - gpointer user_data, - GQuark domain, - gint code, - const char *format, - ...) G_GNUC_PRINTF (6, 7); -GSimpleAsyncResult *g_simple_async_result_new_from_error (GObject *source_object, - GAsyncReadyCallback callback, - gpointer user_data, - GError *error); - -void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, - gpointer op_res, - GDestroyNotify destroy_op_res); -gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple); - -void g_simple_async_result_set_op_res_gssize (GSimpleAsyncResult *simple, - gssize op_res); -gssize g_simple_async_result_get_op_res_gssize (GSimpleAsyncResult *simple); - -void g_simple_async_result_set_op_res_gboolean (GSimpleAsyncResult *simple, - gboolean op_res); -gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple); - - - -gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple); -void g_simple_async_result_set_handle_cancellation (GSimpleAsyncResult *simple, - gboolean handle_cancellation); -void g_simple_async_result_complete (GSimpleAsyncResult *simple); -void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple); -void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple, - GSimpleAsyncThreadFunc func, - int io_priority, - GCancellable *cancellable); -void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, - GError *error); -gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, - GError **dest); -void g_simple_async_result_set_error (GSimpleAsyncResult *simple, - GQuark domain, - gint code, - const char *format, - ...) G_GNUC_PRINTF (4, 5); -void g_simple_async_result_set_error_va (GSimpleAsyncResult *simple, - GQuark domain, - gint code, - const char *format, - va_list args); - -void g_simple_async_report_error_in_idle (GObject *object, - GAsyncReadyCallback callback, - gpointer user_data, - GQuark domain, - gint code, - const char *format, - ...); -void g_simple_async_report_gerror_in_idle (GObject *object, - GAsyncReadyCallback callback, - gpointer user_data, - GError *error); - -G_END_DECLS - - - -#endif /* __G_SIMPLE_ASYNC_RESULT_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gthemedicon.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gthemedicon.h deleted file mode 100644 index 5fb8a6b4..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gthemedicon.h +++ /dev/null @@ -1,60 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_THEMED_ICON_H__ -#define __G_THEMED_ICON_H__ - -#include <gio/gicon.h> - -G_BEGIN_DECLS - -#define G_TYPE_THEMED_ICON (g_themed_icon_get_type ()) -#define G_THEMED_ICON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_THEMED_ICON, GThemedIcon)) -#define G_THEMED_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_THEMED_ICON, GThemedIconClass)) -#define G_IS_THEMED_ICON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_THEMED_ICON)) -#define G_IS_THEMED_ICON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_THEMED_ICON)) -#define G_THEMED_ICON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_THEMED_ICON, GThemedIconClass)) - -/** - * GThemedIcon: - * - * An implementation of #GIcon for themed icons. - **/ -typedef struct _GThemedIcon GThemedIcon; -typedef struct _GThemedIconClass GThemedIconClass; - -GType g_themed_icon_get_type (void) G_GNUC_CONST; - -GIcon *g_themed_icon_new (const char *iconname); -GIcon *g_themed_icon_new_with_default_fallbacks (const char *iconname); -GIcon *g_themed_icon_new_from_names (char **iconnames, int len); -void g_themed_icon_append_name (GThemedIcon *icon, const char *iconname); - -const char * const *g_themed_icon_get_names (GThemedIcon *icon); - -G_END_DECLS - -#endif /* __G_THEMED_ICON_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvfs.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvfs.h deleted file mode 100644 index 9c513468..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvfs.h +++ /dev/null @@ -1,112 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_VFS_H__ -#define __G_VFS_H__ - -#include <glib-object.h> -#include <gio/gfile.h> - -G_BEGIN_DECLS - -#define G_TYPE_VFS (g_vfs_get_type ()) -#define G_VFS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_VFS, GVfs)) -#define G_VFS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_VFS, GVfsClass)) -#define G_VFS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_VFS, GVfsClass)) -#define G_IS_VFS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_VFS)) -#define G_IS_VFS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_VFS)) - -/** - * G_VFS_EXTENSION_POINT_NAME: - * - * Extension point for #GVfs functionality. - * See <link linkend="gio-extension-points">Extending GIO</link>. - */ -#define G_VFS_EXTENSION_POINT_NAME "gio-vfs" - -/** - * GVfs: - * - * Virtual File System object. - **/ -typedef struct _GVfs GVfs; /* Dummy typedef */ -typedef struct _GVfsClass GVfsClass; - -struct _GVfs { - GObject parent_instance; -}; - -struct _GVfsClass -{ - GObjectClass parent_class; - - /* Virtual Table */ - - gboolean (*is_active) (GVfs *vfs); - GFile *(*get_file_for_path) (GVfs *vfs, - const char *path); - GFile *(*get_file_for_uri) (GVfs *vfs, - const char *uri); - const gchar * const *(*get_supported_uri_schemes) (GVfs *vfs); - GFile *(*parse_name) (GVfs *vfs, - const char *parse_name); - - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); - void (*_g_reserved6) (void); - void (*_g_reserved7) (void); - void (*_g_reserved8) (void); - void (*_g_reserved9) (void); - void (*_g_reserved10) (void); - void (*_g_reserved11) (void); - void (*_g_reserved12) (void); - -}; - -GType g_vfs_get_type (void) G_GNUC_CONST; - -gboolean g_vfs_is_active (GVfs *vfs); -GFile * g_vfs_get_file_for_path (GVfs *vfs, - const char *path); -GFile * g_vfs_get_file_for_uri (GVfs *vfs, - const char *uri); -const gchar * const * g_vfs_get_supported_uri_schemes (GVfs *vfs); - -GFile * g_vfs_parse_name (GVfs *vfs, - const char *parse_name); - -GVfs * g_vfs_get_default (void); -GVfs * g_vfs_get_local (void); - -G_END_DECLS - -#endif /* __G_VFS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvolume.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvolume.h deleted file mode 100644 index f1ec0f5f..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvolume.h +++ /dev/null @@ -1,182 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - * David Zeuthen <davidz@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_VOLUME_H__ -#define __G_VOLUME_H__ - -#include <glib-object.h> -#include <gio/gfile.h> -#include <gio/gdrive.h> - -G_BEGIN_DECLS - -/** - * G_VOLUME_IDENTIFIER_KIND_HAL_UDI: - * - * The string used to obtain a Hal UDI with g_volume_get_identifier(). - */ -#define G_VOLUME_IDENTIFIER_KIND_HAL_UDI "hal-udi" - -/** - * G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: - * - * The string used to obtain a Unix device path with g_volume_get_identifier(). - */ -#define G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE "unix-device" - -/** - * G_VOLUME_IDENTIFIER_KIND_LABEL: - * - * The string used to obtain a filesystem label with g_volume_get_identifier(). - */ -#define G_VOLUME_IDENTIFIER_KIND_LABEL "label" - -/** - * G_VOLUME_IDENTIFIER_KIND_UUID: - * - * The string used to obtain a UUID with g_volume_get_identifier(). - */ -#define G_VOLUME_IDENTIFIER_KIND_UUID "uuid" - -/** - * G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: - * - * The string used to obtain a NFS mount with g_volume_get_identifier(). - */ -#define G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT "nfs-mount" - - -#define G_TYPE_VOLUME (g_volume_get_type ()) -#define G_VOLUME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_VOLUME, GVolume)) -#define G_IS_VOLUME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_VOLUME)) -#define G_VOLUME_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_VOLUME, GVolumeIface)) - -/** - * GVolumeIface: - * @g_iface: The parent interface. - * @changed: Changed signal that is emitted when the volume's state has changed. - * @removed: The removed signal that is emitted when the #GVolume have been removed. If the recipient is holding references to the object they should release them so the object can be finalized. - * @get_name: Gets a string containing the name of the #GVolume. - * @get_icon: Gets a #GIcon for the #GVolume. - * @get_uuid: Gets the UUID for the #GVolume. The reference is typically based on the file system UUID for the mount in question and should be considered an opaque string. Returns %NULL if there is no UUID available. - * @get_drive: Gets a #GDrive the volume is located on. Returns %NULL if the #GVolume is not associated with a #GDrive. - * @get_mount: Gets a #GMount representing the mounted volume. Returns %NULL if the #GVolume is not mounted. - * @can_mount: Returns %TRUE if the #GVolume can be mounted. - * @can_eject: Checks if a #GVolume can be ejected. - * @mount_fn: Mounts a given #GVolume. - * @mount_finish: Finishes a mount operation. - * @eject: Ejects a given #GVolume. - * @eject_finish: Finishes an eject operation. - * @get_identifier: Returns the <link linkend="volume-identifier">identifier</link> of the given kind, or %NULL if - * the #GVolume doesn't have one. - * @enumerate_identifiers: Returns an array strings listing the kinds - * of <link linkend="volume-identifier">identifiers</link> which the #GVolume has. - * @should_automount: Returns %TRUE if the #GVolume should be automatically mounted. - * - * Interface for implementing operations for mountable volumes. - **/ -typedef struct _GVolumeIface GVolumeIface; - -struct _GVolumeIface -{ - GTypeInterface g_iface; - - /* signals */ - - void (*changed) (GVolume *volume); - void (*removed) (GVolume *volume); - - /* Virtual Table */ - - char * (*get_name) (GVolume *volume); - GIcon * (*get_icon) (GVolume *volume); - char * (*get_uuid) (GVolume *volume); - GDrive * (*get_drive) (GVolume *volume); - GMount * (*get_mount) (GVolume *volume); - gboolean (*can_mount) (GVolume *volume); - gboolean (*can_eject) (GVolume *volume); - void (*mount_fn) (GVolume *volume, - GMountMountFlags flags, - GMountOperation *mount_operation, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*mount_finish) (GVolume *volume, - GAsyncResult *result, - GError **error); - void (*eject) (GVolume *volume, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); - gboolean (*eject_finish) (GVolume *volume, - GAsyncResult *result, - GError **error); - - char * (*get_identifier) (GVolume *volume, - const char *kind); - char ** (*enumerate_identifiers) (GVolume *volume); - - gboolean (*should_automount) (GVolume *volume); - -}; - -GType g_volume_get_type (void) G_GNUC_CONST; - -char * g_volume_get_name (GVolume *volume); -GIcon * g_volume_get_icon (GVolume *volume); -char * g_volume_get_uuid (GVolume *volume); -GDrive * g_volume_get_drive (GVolume *volume); -GMount * g_volume_get_mount (GVolume *volume); -gboolean g_volume_can_mount (GVolume *volume); -gboolean g_volume_can_eject (GVolume *volume); -gboolean g_volume_should_automount (GVolume *volume); -void g_volume_mount (GVolume *volume, - GMountMountFlags flags, - GMountOperation *mount_operation, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_volume_mount_finish (GVolume *volume, - GAsyncResult *result, - GError **error); -void g_volume_eject (GVolume *volume, - GMountUnmountFlags flags, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean g_volume_eject_finish (GVolume *volume, - GAsyncResult *result, - GError **error); -char * g_volume_get_identifier (GVolume *volume, - const char *kind); -char ** g_volume_enumerate_identifiers (GVolume *volume); - - -G_END_DECLS - -#endif /* __G_VOLUME_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvolumemonitor.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvolumemonitor.h deleted file mode 100644 index 9d32ceab..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gio/gvolumemonitor.h +++ /dev/null @@ -1,145 +0,0 @@ -/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ - -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - * David Zeuthen <davidz@redhat.com> - */ - -#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) -#error "Only <gio/gio.h> can be included directly." -#endif - -#ifndef __G_VOLUME_MONITOR_H__ -#define __G_VOLUME_MONITOR_H__ - -#include <glib-object.h> -#include <gio/gmount.h> -#include <gio/gvolume.h> -#include <gio/gdrive.h> - -G_BEGIN_DECLS - -#define G_TYPE_VOLUME_MONITOR (g_volume_monitor_get_type ()) -#define G_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_VOLUME_MONITOR, GVolumeMonitor)) -#define G_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_VOLUME_MONITOR, GVolumeMonitorClass)) -#define G_VOLUME_MONITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_VOLUME_MONITOR, GVolumeMonitorClass)) -#define G_IS_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_VOLUME_MONITOR)) -#define G_IS_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_VOLUME_MONITOR)) - -/** - * G_VOLUME_MONITOR_EXTENSION_POINT_NAME: - * - * Extension point for volume monitor functionality. - * See <link linkend="gio-extension-points">Extending GIO</link>. - */ -#define G_VOLUME_MONITOR_EXTENSION_POINT_NAME "gio-volume-monitor" - -/** - * GVolumeMonitor: - * @parent_instance: The parent instance. - * - * A Volume Monitor that watches for volume events. - **/ -typedef struct _GVolumeMonitor GVolumeMonitor; -typedef struct _GVolumeMonitorClass GVolumeMonitorClass; - -struct _GVolumeMonitor { - GObject parent_instance; - - /*< private >*/ - gpointer priv; -}; - -struct _GVolumeMonitorClass { - GObjectClass parent_class; - - /*< public >*/ - /* signals */ - void (* volume_added) (GVolumeMonitor *volume_monitor, - GVolume *volume); - void (* volume_removed) (GVolumeMonitor *volume_monitor, - GVolume *volume); - void (* volume_changed) (GVolumeMonitor *volume_monitor, - GVolume *volume); - - void (* mount_added) (GVolumeMonitor *volume_monitor, - GMount *mount); - void (* mount_removed) (GVolumeMonitor *volume_monitor, - GMount *mount); - void (* mount_pre_unmount) (GVolumeMonitor *volume_monitor, - GMount *mount); - void (* mount_changed) (GVolumeMonitor *volume_monitor, - GMount *mount); - - void (* drive_connected) (GVolumeMonitor *volume_monitor, - GDrive *drive); - void (* drive_disconnected) (GVolumeMonitor *volume_monitor, - GDrive *drive); - void (* drive_changed) (GVolumeMonitor *volume_monitor, - GDrive *drive); - - /* Vtable */ - - gboolean (*is_supported) (void); - - GList * (*get_connected_drives) (GVolumeMonitor *volume_monitor); - GList * (*get_volumes) (GVolumeMonitor *volume_monitor); - GList * (*get_mounts) (GVolumeMonitor *volume_monitor); - - GVolume * (*get_volume_for_uuid) (GVolumeMonitor *volume_monitor, - const char *uuid); - - GMount * (*get_mount_for_uuid) (GVolumeMonitor *volume_monitor, - const char *uuid); - - - /* These arguments are unfortunately backwards by mistake (bug #520169) */ - GVolume * (*adopt_orphan_mount) (GMount *mount, - GVolumeMonitor *volume_monitor); - - /*< private >*/ - /* Padding for future expansion */ - void (*_g_reserved1) (void); - void (*_g_reserved2) (void); - void (*_g_reserved3) (void); - void (*_g_reserved4) (void); - void (*_g_reserved5) (void); - void (*_g_reserved6) (void); - void (*_g_reserved7) (void); - void (*_g_reserved8) (void); -}; - -GType g_volume_monitor_get_type (void) G_GNUC_CONST; - -GVolumeMonitor *g_volume_monitor_get (void); -GList * g_volume_monitor_get_connected_drives (GVolumeMonitor *volume_monitor); -GList * g_volume_monitor_get_volumes (GVolumeMonitor *volume_monitor); -GList * g_volume_monitor_get_mounts (GVolumeMonitor *volume_monitor); -GVolume * g_volume_monitor_get_volume_for_uuid (GVolumeMonitor *volume_monitor, - const char *uuid); -GMount * g_volume_monitor_get_mount_for_uuid (GVolumeMonitor *volume_monitor, - const char *uuid); - -GVolume * g_volume_monitor_adopt_orphan_mount (GMount *mount); - -G_END_DECLS - -#endif /* __G_VOLUME_MONITOR_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib-object.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib-object.h deleted file mode 100644 index 8687ef1f..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib-object.h +++ /dev/null @@ -1,41 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1998, 1999, 2000 Tim Janik and 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 __GLIB_GOBJECT_H__ -#define __GLIB_GOBJECT_H__ - -#define __GLIB_GOBJECT_H_INSIDE__ - -/* topmost include file for GObject header files */ -#include <gobject/gboxed.h> -#include <gobject/genums.h> -#include <gobject/gobject.h> -#include <gobject/gparam.h> -#include <gobject/gparamspecs.h> -#include <gobject/gsignal.h> -#include <gobject/gsourceclosure.h> -#include <gobject/gtype.h> -#include <gobject/gtypemodule.h> -#include <gobject/gtypeplugin.h> -#include <gobject/gvalue.h> -#include <gobject/gvaluearray.h> -#include <gobject/gvaluetypes.h> - -#undef __GLIB_GOBJECT_H_INSIDE__ - -#endif /* __GLIB_GOBJECT_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib.h deleted file mode 100644 index 529c831e..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib.h +++ /dev/null @@ -1,87 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_LIB_H__ -#define __G_LIB_H__ - -#include <glib/galloca.h> -#include <glib/garray.h> -#include <glib/gasyncqueue.h> -#include <glib/gatomic.h> -#include <glib/gbacktrace.h> -#include <glib/gbase64.h> -#include <glib/gbookmarkfile.h> -#include <glib/gcache.h> -#include <glib/gchecksum.h> -#include <glib/gcompletion.h> -#include <glib/gconvert.h> -#include <glib/gdataset.h> -#include <glib/gdate.h> -#include <glib/gdir.h> -#include <glib/gerror.h> -#include <glib/gfileutils.h> -#include <glib/ghash.h> -#include <glib/ghook.h> -#include <glib/giochannel.h> -#include <glib/gkeyfile.h> -#include <glib/glist.h> -#include <glib/gmacros.h> -#include <glib/gmain.h> -#include <glib/gmappedfile.h> -#include <glib/gmarkup.h> -#include <glib/gmem.h> -#include <glib/gmessages.h> -#include <glib/gnode.h> -#include <glib/goption.h> -#include <glib/gpattern.h> -#include <glib/gprimes.h> -#include <glib/gqsort.h> -#include <glib/gquark.h> -#include <glib/gqueue.h> -#include <glib/grand.h> -#include <glib/grel.h> -#include <glib/gregex.h> -#include <glib/gscanner.h> -#include <glib/gsequence.h> -#include <glib/gshell.h> -#include <glib/gslist.h> -#include <glib/gspawn.h> -#include <glib/gstrfuncs.h> -#include <glib/gstring.h> -#include <glib/gtestutils.h> -#include <glib/gthread.h> -#include <glib/gthreadpool.h> -#include <glib/gtimer.h> -#include <glib/gtree.h> -#include <glib/gtypes.h> -#include <glib/gunicode.h> -#include <glib/gurifuncs.h> -#include <glib/gutils.h> -#ifdef G_PLATFORM_WIN32 -#include <glib/gwin32.h> -#endif - -#endif /* __G_LIB_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/galloca.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/galloca.h deleted file mode 100644 index baf80096..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/galloca.h +++ /dev/null @@ -1,60 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_ALLOCA_H__ -#define __G_ALLOCA_H__ - -#include <glib/gtypes.h> - -#ifdef __GNUC__ -/* GCC does the right thing */ -# undef alloca -# define alloca(size) __builtin_alloca (size) -#elif defined (GLIB_HAVE_ALLOCA_H) -/* a native and working alloca.h is there */ -# include <alloca.h> -#else /* !__GNUC__ && !GLIB_HAVE_ALLOCA_H */ -# if defined(_MSC_VER) || defined(__DMC__) -# include <malloc.h> -# define alloca _alloca -# else /* !_MSC_VER && !__DMC__ */ -# ifdef _AIX -# pragma alloca -# else /* !_AIX */ -# ifndef alloca /* predefined by HP cc +Olibcalls */ -G_BEGIN_DECLS -char *alloca (); -G_END_DECLS -# endif /* !alloca */ -# endif /* !_AIX */ -# endif /* !_MSC_VER && !__DMC__ */ -#endif /* !__GNUC__ && !GLIB_HAVE_ALLOCA_H */ - -#define g_alloca(size) alloca (size) -#define g_newa(struct_type, n_structs) ((struct_type*) g_alloca (sizeof (struct_type) * (gsize) (n_structs))) - - -#endif /* __G_ALLOCA_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/garray.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/garray.h deleted file mode 100644 index 7858e395..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/garray.h +++ /dev/null @@ -1,167 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_ARRAY_H__ -#define __G_ARRAY_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -typedef struct _GArray GArray; -typedef struct _GByteArray GByteArray; -typedef struct _GPtrArray GPtrArray; - -struct _GArray -{ - gchar *data; - guint len; -}; - -struct _GByteArray -{ - guint8 *data; - guint len; -}; - -struct _GPtrArray -{ - gpointer *pdata; - guint len; -}; - -/* Resizable arrays. remove fills any cleared spot and shortens the - * array, while preserving the order. remove_fast will distort the - * order by moving the last element to the position of the removed. - */ - -#define g_array_append_val(a,v) g_array_append_vals (a, &(v), 1) -#define g_array_prepend_val(a,v) g_array_prepend_vals (a, &(v), 1) -#define g_array_insert_val(a,i,v) g_array_insert_vals (a, i, &(v), 1) -#define g_array_index(a,t,i) (((t*) (void *) (a)->data) [(i)]) - -GArray* g_array_new (gboolean zero_terminated, - gboolean clear_, - guint element_size); -GArray* g_array_sized_new (gboolean zero_terminated, - gboolean clear_, - guint element_size, - guint reserved_size); -gchar* g_array_free (GArray *array, - gboolean free_segment); -GArray* g_array_append_vals (GArray *array, - gconstpointer data, - guint len); -GArray* g_array_prepend_vals (GArray *array, - gconstpointer data, - guint len); -GArray* g_array_insert_vals (GArray *array, - guint index_, - gconstpointer data, - guint len); -GArray* g_array_set_size (GArray *array, - guint length); -GArray* g_array_remove_index (GArray *array, - guint index_); -GArray* g_array_remove_index_fast (GArray *array, - guint index_); -GArray* g_array_remove_range (GArray *array, - guint index_, - guint length); -void g_array_sort (GArray *array, - GCompareFunc compare_func); -void g_array_sort_with_data (GArray *array, - GCompareDataFunc compare_func, - gpointer user_data); - -/* Resizable pointer array. This interface is much less complicated - * than the above. Add appends a pointer. Remove fills any cleared - * spot and shortens the array. remove_fast will again distort order. - */ -#define g_ptr_array_index(array,index_) ((array)->pdata)[index_] -GPtrArray* g_ptr_array_new (void); -GPtrArray* g_ptr_array_sized_new (guint reserved_size); -gpointer* g_ptr_array_free (GPtrArray *array, - gboolean free_seg); -void g_ptr_array_set_size (GPtrArray *array, - gint length); -gpointer g_ptr_array_remove_index (GPtrArray *array, - guint index_); -gpointer g_ptr_array_remove_index_fast (GPtrArray *array, - guint index_); -gboolean g_ptr_array_remove (GPtrArray *array, - gpointer data); -gboolean g_ptr_array_remove_fast (GPtrArray *array, - gpointer data); -void g_ptr_array_remove_range (GPtrArray *array, - guint index_, - guint length); -void g_ptr_array_add (GPtrArray *array, - gpointer data); -void g_ptr_array_sort (GPtrArray *array, - GCompareFunc compare_func); -void g_ptr_array_sort_with_data (GPtrArray *array, - GCompareDataFunc compare_func, - gpointer user_data); -void g_ptr_array_foreach (GPtrArray *array, - GFunc func, - gpointer user_data); - - -/* Byte arrays, an array of guint8. Implemented as a GArray, - * but type-safe. - */ - -GByteArray* g_byte_array_new (void); -GByteArray* g_byte_array_sized_new (guint reserved_size); -guint8* g_byte_array_free (GByteArray *array, - gboolean free_segment); -GByteArray* g_byte_array_append (GByteArray *array, - const guint8 *data, - guint len); -GByteArray* g_byte_array_prepend (GByteArray *array, - const guint8 *data, - guint len); -GByteArray* g_byte_array_set_size (GByteArray *array, - guint length); -GByteArray* g_byte_array_remove_index (GByteArray *array, - guint index_); -GByteArray* g_byte_array_remove_index_fast (GByteArray *array, - guint index_); -GByteArray* g_byte_array_remove_range (GByteArray *array, - guint index_, - guint length); -void g_byte_array_sort (GByteArray *array, - GCompareFunc compare_func); -void g_byte_array_sort_with_data (GByteArray *array, - GCompareDataFunc compare_func, - gpointer user_data); - - -G_END_DECLS - -#endif /* __G_ARRAY_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gasyncqueue.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gasyncqueue.h deleted file mode 100644 index 7c860e85..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gasyncqueue.h +++ /dev/null @@ -1,117 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_ASYNCQUEUE_H__ -#define __G_ASYNCQUEUE_H__ - -#include <glib/gthread.h> - -G_BEGIN_DECLS - -typedef struct _GAsyncQueue GAsyncQueue; - -/* Asyncronous Queues, can be used to communicate between threads */ - -/* Get a new GAsyncQueue with the ref_count 1 */ -GAsyncQueue* g_async_queue_new (void); - -GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func); - -/* Lock and unlock a GAsyncQueue. All functions lock the queue for - * themselves, but in certain cirumstances you want to hold the lock longer, - * thus you lock the queue, call the *_unlocked functions and unlock it again. - */ -void g_async_queue_lock (GAsyncQueue *queue); -void g_async_queue_unlock (GAsyncQueue *queue); - -/* Ref and unref the GAsyncQueue. */ -GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue); -void g_async_queue_unref (GAsyncQueue *queue); - -#ifndef G_DISABLE_DEPRECATED -/* You don't have to hold the lock for calling *_ref and *_unref anymore. */ -void g_async_queue_ref_unlocked (GAsyncQueue *queue); -void g_async_queue_unref_and_unlock (GAsyncQueue *queue); -#endif /* !G_DISABLE_DEPRECATED */ - -/* Push data into the async queue. Must not be NULL. */ -void g_async_queue_push (GAsyncQueue *queue, - gpointer data); -void g_async_queue_push_unlocked (GAsyncQueue *queue, - gpointer data); - -void g_async_queue_push_sorted (GAsyncQueue *queue, - gpointer data, - GCompareDataFunc func, - gpointer user_data); -void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue, - gpointer data, - GCompareDataFunc func, - gpointer user_data); - -/* Pop data from the async queue. When no data is there, the thread is blocked - * until data arrives. - */ -gpointer g_async_queue_pop (GAsyncQueue *queue); -gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue); - -/* Try to pop data. NULL is returned in case of empty queue. */ -gpointer g_async_queue_try_pop (GAsyncQueue *queue); -gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue); - - - -/* Wait for data until at maximum until end_time is reached. NULL is returned - * in case of empty queue. - */ -gpointer g_async_queue_timed_pop (GAsyncQueue *queue, - GTimeVal *end_time); -gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, - GTimeVal *end_time); - -/* Return the length of the queue. Negative values mean that threads - * are waiting, positve values mean that there are entries in the - * queue. Actually this function returns the length of the queue minus - * the number of waiting threads, g_async_queue_length == 0 could also - * mean 'n' entries in the queue and 'n' thread waiting. Such can - * happen due to locking of the queue or due to scheduling. - */ -gint g_async_queue_length (GAsyncQueue *queue); -gint g_async_queue_length_unlocked (GAsyncQueue *queue); -void g_async_queue_sort (GAsyncQueue *queue, - GCompareDataFunc func, - gpointer user_data); -void g_async_queue_sort_unlocked (GAsyncQueue *queue, - GCompareDataFunc func, - gpointer user_data); - -/* Private API */ -GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue); - -G_END_DECLS - -#endif /* __G_ASYNCQUEUE_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gatomic.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gatomic.h deleted file mode 100644 index fefe2aff..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gatomic.h +++ /dev/null @@ -1,68 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * g_atomic_*: atomic operations. - * Copyright (C) 2003 Sebastian Wilhelmi - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_ATOMIC_H__ -#define __G_ATOMIC_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -gint g_atomic_int_exchange_and_add (volatile gint *atomic, - gint val); -void g_atomic_int_add (volatile gint *atomic, - gint val); -gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic, - gint oldval, - gint newval); -gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer *atomic, - gpointer oldval, - gpointer newval); - -gint g_atomic_int_get (volatile gint *atomic); -void g_atomic_int_set (volatile gint *atomic, - gint newval); -gpointer g_atomic_pointer_get (volatile gpointer *atomic); -void g_atomic_pointer_set (volatile gpointer *atomic, - gpointer newval); - -#ifndef G_ATOMIC_OP_MEMORY_BARRIER_NEEDED -# define g_atomic_int_get(atomic) (*(atomic)) -# define g_atomic_int_set(atomic, newval) ((void) (*(atomic) = (newval))) -# define g_atomic_pointer_get(atomic) (*(atomic)) -# define g_atomic_pointer_set(atomic, newval) ((void) (*(atomic) = (newval))) -#endif /* G_ATOMIC_OP_MEMORY_BARRIER_NEEDED */ - -#define g_atomic_int_inc(atomic) (g_atomic_int_add ((atomic), 1)) -#define g_atomic_int_dec_and_test(atomic) \ - (g_atomic_int_exchange_and_add ((atomic), -1) == 1) - -G_END_DECLS - -#endif /* __G_ATOMIC_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbacktrace.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbacktrace.h deleted file mode 100644 index 836264ea..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbacktrace.h +++ /dev/null @@ -1,61 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_BACKTRACE_H__ -#define __G_BACKTRACE_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -/* Fatal error handlers. - * g_on_error_query() will prompt the user to either - * [E]xit, [H]alt, [P]roceed or show [S]tack trace. - * g_on_error_stack_trace() invokes gdb, which attaches to the current - * process and shows a stack trace. - * These function may cause different actions on non-unix platforms. - * The prg_name arg is required by gdb to find the executable, if it is - * passed as NULL, g_on_error_query() will try g_get_prgname(). - */ -void g_on_error_query (const gchar *prg_name); -void g_on_error_stack_trace (const gchar *prg_name); - -/* Hacker macro to place breakpoints for selected machines. - * Actual use is strongly discouraged of course ;) - */ -#if (defined (__i386__) || defined (__x86_64__)) && defined (__GNUC__) && __GNUC__ >= 2 -# define G_BREAKPOINT() G_STMT_START{ __asm__ __volatile__ ("int $03"); }G_STMT_END -#elif (defined (_MSC_VER) || defined (__DMC__)) && defined (_M_IX86) -# define G_BREAKPOINT() G_STMT_START{ __asm int 3h }G_STMT_END -#elif defined (__alpha__) && !defined(__osf__) && defined (__GNUC__) && __GNUC__ >= 2 -# define G_BREAKPOINT() G_STMT_START{ __asm__ __volatile__ ("bpt"); }G_STMT_END -#else /* !__i386__ && !__alpha__ */ -# define G_BREAKPOINT() G_STMT_START{ raise (SIGTRAP); }G_STMT_END -#endif /* __i386__ */ - -G_END_DECLS - -#endif /* __G_BACKTRACE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbase64.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbase64.h deleted file mode 100644 index 6637984e..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbase64.h +++ /dev/null @@ -1,50 +0,0 @@ -/* gbase64.h - Base64 coding functions - * - * Copyright (C) 2005 Alexander Larsson <alexl@redhat.com> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library 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 __G_BASE64_H__ -#define __G_BASE64_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -gsize g_base64_encode_step (const guchar *in, - gsize len, - gboolean break_lines, - gchar *out, - gint *state, - gint *save); -gsize g_base64_encode_close (gboolean break_lines, - gchar *out, - gint *state, - gint *save); -gchar* g_base64_encode (const guchar *data, - gsize len) G_GNUC_MALLOC; -gsize g_base64_decode_step (const gchar *in, - gsize len, - guchar *out, - gint *state, - guint *save); -guchar *g_base64_decode (const gchar *text, - gsize *out_len) G_GNUC_MALLOC; - -G_END_DECLS - -#endif /* __G_BASE64_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbookmarkfile.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbookmarkfile.h deleted file mode 100644 index 2448e4a3..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gbookmarkfile.h +++ /dev/null @@ -1,187 +0,0 @@ -/* gbookmarkfile.h: parsing and building desktop bookmarks - * - * Copyright (C) 2005-2006 Emmanuele Bassi - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - */ - -#ifndef __G_BOOKMARK_FILE_H__ -#define __G_BOOKMARK_FILE_H__ - -#include <glib/gerror.h> -#include <time.h> - -G_BEGIN_DECLS - -/* GError enumeration - */ -#define G_BOOKMARK_FILE_ERROR (g_bookmark_file_error_quark ()) - -typedef enum -{ - G_BOOKMARK_FILE_ERROR_INVALID_URI, - G_BOOKMARK_FILE_ERROR_INVALID_VALUE, - G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, - G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, - G_BOOKMARK_FILE_ERROR_READ, - G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, - G_BOOKMARK_FILE_ERROR_WRITE, - G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND -} GBookmarkFileError; - -GQuark g_bookmark_file_error_quark (void); - -/* - * GBookmarkFile - */ -typedef struct _GBookmarkFile GBookmarkFile; - -GBookmarkFile *g_bookmark_file_new (void); -void g_bookmark_file_free (GBookmarkFile *bookmark); - -gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark, - const gchar *filename, - GError **error); -gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark, - const gchar *data, - gsize length, - GError **error); -gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark, - const gchar *file, - gchar **full_path, - GError **error); -gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark, - gsize *length, - GError **error) G_GNUC_MALLOC; -gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark, - const gchar *filename, - GError **error); - -void g_bookmark_file_set_title (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *title); -gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark, - const gchar *uri, - GError **error) G_GNUC_MALLOC; -void g_bookmark_file_set_description (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *description); -gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark, - const gchar *uri, - GError **error) G_GNUC_MALLOC; -void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *mime_type); -gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark, - const gchar *uri, - GError **error) G_GNUC_MALLOC; -void g_bookmark_file_set_groups (GBookmarkFile *bookmark, - const gchar *uri, - const gchar **groups, - gsize length); -void g_bookmark_file_add_group (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *group); -gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *group, - GError **error); -gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark, - const gchar *uri, - gsize *length, - GError **error) G_GNUC_MALLOC; -void g_bookmark_file_add_application (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *name, - const gchar *exec); -gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *name, - GError **error); -gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark, - const gchar *uri, - gsize *length, - GError **error) G_GNUC_MALLOC; -gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *name, - const gchar *exec, - gint count, - time_t stamp, - GError **error); -gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *name, - gchar **exec, - guint *count, - time_t *stamp, - GError **error); -void g_bookmark_file_set_is_private (GBookmarkFile *bookmark, - const gchar *uri, - gboolean is_private); -gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark, - const gchar *uri, - GError **error); -void g_bookmark_file_set_icon (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *href, - const gchar *mime_type); -gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark, - const gchar *uri, - gchar **href, - gchar **mime_type, - GError **error); -void g_bookmark_file_set_added (GBookmarkFile *bookmark, - const gchar *uri, - time_t added); -time_t g_bookmark_file_get_added (GBookmarkFile *bookmark, - const gchar *uri, - GError **error); -void g_bookmark_file_set_modified (GBookmarkFile *bookmark, - const gchar *uri, - time_t modified); -time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark, - const gchar *uri, - GError **error); -void g_bookmark_file_set_visited (GBookmarkFile *bookmark, - const gchar *uri, - time_t visited); -time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark, - const gchar *uri, - GError **error); -gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark, - const gchar *uri); -gint g_bookmark_file_get_size (GBookmarkFile *bookmark); -gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark, - gsize *length) G_GNUC_MALLOC; -gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *group, - GError **error); -gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark, - const gchar *uri, - const gchar *name, - GError **error); -gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark, - const gchar *uri, - GError **error); -gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark, - const gchar *old_uri, - const gchar *new_uri, - GError **error); - -G_END_DECLS - -#endif /* __G_BOOKMARK_FILE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gcache.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gcache.h deleted file mode 100644 index 93341b87..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gcache.h +++ /dev/null @@ -1,68 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_CACHE_H__ -#define __G_CACHE_H__ - -#include <glib/glist.h> - -G_BEGIN_DECLS - -typedef struct _GCache GCache; - -typedef gpointer (*GCacheNewFunc) (gpointer key); -typedef gpointer (*GCacheDupFunc) (gpointer value); -typedef void (*GCacheDestroyFunc) (gpointer value); - -/* Caches - */ -GCache* g_cache_new (GCacheNewFunc value_new_func, - GCacheDestroyFunc value_destroy_func, - GCacheDupFunc key_dup_func, - GCacheDestroyFunc key_destroy_func, - GHashFunc hash_key_func, - GHashFunc hash_value_func, - GEqualFunc key_equal_func); -void g_cache_destroy (GCache *cache); -gpointer g_cache_insert (GCache *cache, - gpointer key); -void g_cache_remove (GCache *cache, - gconstpointer value); -void g_cache_key_foreach (GCache *cache, - GHFunc func, - gpointer user_data); -#ifndef G_DISABLE_DEPRECATED -void g_cache_value_foreach (GCache *cache, - GHFunc func, - gpointer user_data); -#endif - -G_END_DECLS - -#endif /* __G_CACHE_H__ */ - - - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gchecksum.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gchecksum.h deleted file mode 100644 index 8f7d8082..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gchecksum.h +++ /dev/null @@ -1,72 +0,0 @@ -/* gchecksum.h - data hashing functions - * - * Copyright (C) 2007 Emmanuele Bassi <ebassi@gnome.org> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library 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 __G_CHECKSUM_H__ -#define __G_CHECKSUM_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -/** - * GChecksumType: - * @G_CHECKSUM_MD5: Use the MD5 hashing algorithm - * @G_CHECKSUM_SHA1: Use the SHA-1 hashing algorithm - * @G_CHECKSUM_SHA256: Use the SHA-256 hashing algorithm - * - * The hashing algorithm to be used by #GChecksum when performing the - * digest of some data. - * - * Note that the #GChecksumType enumeration may be extended at a later - * date to include new hashing algorithm types. - * - * Since: 2.16 - */ -typedef enum { - G_CHECKSUM_MD5, - G_CHECKSUM_SHA1, - G_CHECKSUM_SHA256 -} GChecksumType; - -typedef struct _GChecksum GChecksum; - -gssize g_checksum_type_get_length (GChecksumType checksum_type); - -GChecksum * g_checksum_new (GChecksumType checksum_type); -GChecksum * g_checksum_copy (const GChecksum *checksum); -void g_checksum_free (GChecksum *checksum); -void g_checksum_update (GChecksum *checksum, - const guchar *data, - gssize length); -G_CONST_RETURN gchar *g_checksum_get_string (GChecksum *checksum); -void g_checksum_get_digest (GChecksum *checksum, - guint8 *buffer, - gsize *digest_len); - -gchar *g_compute_checksum_for_data (GChecksumType checksum_type, - const guchar *data, - gsize length); -gchar *g_compute_checksum_for_string (GChecksumType checksum_type, - const gchar *str, - gssize length); - -G_END_DECLS - -#endif /* __G_CHECKSUM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gcompletion.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gcompletion.h deleted file mode 100644 index 8adb2313..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gcompletion.h +++ /dev/null @@ -1,74 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_COMPLETION_H__ -#define __G_COMPLETION_H__ - -#include <glib/glist.h> - -G_BEGIN_DECLS - -typedef struct _GCompletion GCompletion; - -typedef gchar* (*GCompletionFunc) (gpointer); - -/* GCompletion - */ - -typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, - const gchar *s2, - gsize n); - -struct _GCompletion -{ - GList* items; - GCompletionFunc func; - - gchar* prefix; - GList* cache; - GCompletionStrncmpFunc strncmp_func; -}; - -GCompletion* g_completion_new (GCompletionFunc func); -void g_completion_add_items (GCompletion* cmp, - GList* items); -void g_completion_remove_items (GCompletion* cmp, - GList* items); -void g_completion_clear_items (GCompletion* cmp); -GList* g_completion_complete (GCompletion* cmp, - const gchar* prefix, - gchar** new_prefix); -GList* g_completion_complete_utf8 (GCompletion *cmp, - const gchar* prefix, - gchar** new_prefix); -void g_completion_set_compare (GCompletion *cmp, - GCompletionStrncmpFunc strncmp_func); -void g_completion_free (GCompletion* cmp); - -G_END_DECLS - -#endif /* __G_COMPLETION_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gconvert.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gconvert.h deleted file mode 100644 index 9e6ca650..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gconvert.h +++ /dev/null @@ -1,134 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_CONVERT_H__ -#define __G_CONVERT_H__ - -#include <glib/gerror.h> - -G_BEGIN_DECLS - -typedef enum -{ - G_CONVERT_ERROR_NO_CONVERSION, - G_CONVERT_ERROR_ILLEGAL_SEQUENCE, - G_CONVERT_ERROR_FAILED, - G_CONVERT_ERROR_PARTIAL_INPUT, - G_CONVERT_ERROR_BAD_URI, - G_CONVERT_ERROR_NOT_ABSOLUTE_PATH -} GConvertError; - -#define G_CONVERT_ERROR g_convert_error_quark() -GQuark g_convert_error_quark (void); - -/* Thin wrappers around iconv - */ -typedef struct _GIConv *GIConv; - -GIConv g_iconv_open (const gchar *to_codeset, - const gchar *from_codeset); -gsize g_iconv (GIConv converter, - gchar **inbuf, - gsize *inbytes_left, - gchar **outbuf, - gsize *outbytes_left); -gint g_iconv_close (GIConv converter); - - -gchar* g_convert (const gchar *str, - gssize len, - const gchar *to_codeset, - const gchar *from_codeset, - gsize *bytes_read, - gsize *bytes_written, - GError **error) G_GNUC_MALLOC; -gchar* g_convert_with_iconv (const gchar *str, - gssize len, - GIConv converter, - gsize *bytes_read, - gsize *bytes_written, - GError **error) G_GNUC_MALLOC; -gchar* g_convert_with_fallback (const gchar *str, - gssize len, - const gchar *to_codeset, - const gchar *from_codeset, - gchar *fallback, - gsize *bytes_read, - gsize *bytes_written, - GError **error) G_GNUC_MALLOC; - - -/* Convert between libc's idea of strings and UTF-8. - */ -gchar* g_locale_to_utf8 (const gchar *opsysstring, - gssize len, - gsize *bytes_read, - gsize *bytes_written, - GError **error) G_GNUC_MALLOC; -gchar* g_locale_from_utf8 (const gchar *utf8string, - gssize len, - gsize *bytes_read, - gsize *bytes_written, - GError **error) G_GNUC_MALLOC; - -/* Convert between the operating system (or C runtime) - * representation of file names and UTF-8. - */ -#ifdef G_OS_WIN32 -#define g_filename_to_utf8 g_filename_to_utf8_utf8 -#define g_filename_from_utf8 g_filename_from_utf8_utf8 -#define g_filename_from_uri g_filename_from_uri_utf8 -#define g_filename_to_uri g_filename_to_uri_utf8 -#endif - -gchar* g_filename_to_utf8 (const gchar *opsysstring, - gssize len, - gsize *bytes_read, - gsize *bytes_written, - GError **error) G_GNUC_MALLOC; -gchar* g_filename_from_utf8 (const gchar *utf8string, - gssize len, - gsize *bytes_read, - gsize *bytes_written, - GError **error) G_GNUC_MALLOC; - -gchar *g_filename_from_uri (const gchar *uri, - gchar **hostname, - GError **error) G_GNUC_MALLOC; - -gchar *g_filename_to_uri (const gchar *filename, - const gchar *hostname, - GError **error) G_GNUC_MALLOC; -gchar *g_filename_display_name (const gchar *filename) G_GNUC_MALLOC; -gboolean g_get_filename_charsets (G_CONST_RETURN gchar ***charsets); - -gchar *g_filename_display_basename (const gchar *filename) G_GNUC_MALLOC; - -gchar **g_uri_list_extract_uris (const gchar *uri_list) G_GNUC_MALLOC; - -G_END_DECLS - -#endif /* __G_CONVERT_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdataset.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdataset.h deleted file mode 100644 index 0376cac9..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdataset.h +++ /dev/null @@ -1,122 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_DATASET_H__ -#define __G_DATASET_H__ - -#include <glib/gquark.h> - -G_BEGIN_DECLS - -typedef struct _GData GData; - -typedef void (*GDataForeachFunc) (GQuark key_id, - gpointer data, - gpointer user_data); - -/* Keyed Data List - */ -void g_datalist_init (GData **datalist); -void g_datalist_clear (GData **datalist); -gpointer g_datalist_id_get_data (GData **datalist, - GQuark key_id); -void g_datalist_id_set_data_full (GData **datalist, - GQuark key_id, - gpointer data, - GDestroyNotify destroy_func); -gpointer g_datalist_id_remove_no_notify (GData **datalist, - GQuark key_id); -void g_datalist_foreach (GData **datalist, - GDataForeachFunc func, - gpointer user_data); - -/** - * G_DATALIST_FLAGS_MASK: - * - * A bitmask that restricts the possible flags passed to - * g_datalist_set_flags(). Passing a flags value where - * flags & ~G_DATALIST_FLAGS_MASK != 0 is an error. - */ -#define G_DATALIST_FLAGS_MASK 0x3 - -void g_datalist_set_flags (GData **datalist, - guint flags); -void g_datalist_unset_flags (GData **datalist, - guint flags); -guint g_datalist_get_flags (GData **datalist); - -#define g_datalist_id_set_data(dl, q, d) \ - g_datalist_id_set_data_full ((dl), (q), (d), NULL) -#define g_datalist_id_remove_data(dl, q) \ - g_datalist_id_set_data ((dl), (q), NULL) -#define g_datalist_get_data(dl, k) \ - (g_datalist_id_get_data ((dl), g_quark_try_string (k))) -#define g_datalist_set_data_full(dl, k, d, f) \ - g_datalist_id_set_data_full ((dl), g_quark_from_string (k), (d), (f)) -#define g_datalist_remove_no_notify(dl, k) \ - g_datalist_id_remove_no_notify ((dl), g_quark_try_string (k)) -#define g_datalist_set_data(dl, k, d) \ - g_datalist_set_data_full ((dl), (k), (d), NULL) -#define g_datalist_remove_data(dl, k) \ - g_datalist_id_set_data ((dl), g_quark_try_string (k), NULL) - - -/* Location Associated Keyed Data - */ -void g_dataset_destroy (gconstpointer dataset_location); -gpointer g_dataset_id_get_data (gconstpointer dataset_location, - GQuark key_id); -void g_dataset_id_set_data_full (gconstpointer dataset_location, - GQuark key_id, - gpointer data, - GDestroyNotify destroy_func); -gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location, - GQuark key_id); -void g_dataset_foreach (gconstpointer dataset_location, - GDataForeachFunc func, - gpointer user_data); -#define g_dataset_id_set_data(l, k, d) \ - g_dataset_id_set_data_full ((l), (k), (d), NULL) -#define g_dataset_id_remove_data(l, k) \ - g_dataset_id_set_data ((l), (k), NULL) -#define g_dataset_get_data(l, k) \ - (g_dataset_id_get_data ((l), g_quark_try_string (k))) -#define g_dataset_set_data_full(l, k, d, f) \ - g_dataset_id_set_data_full ((l), g_quark_from_string (k), (d), (f)) -#define g_dataset_remove_no_notify(l, k) \ - g_dataset_id_remove_no_notify ((l), g_quark_try_string (k)) -#define g_dataset_set_data(l, k, d) \ - g_dataset_set_data_full ((l), (k), (d), NULL) -#define g_dataset_remove_data(l, k) \ - g_dataset_id_set_data ((l), g_quark_try_string (k), NULL) - -G_END_DECLS - -#endif /* __G_DATASET_H__ */ - - - - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdate.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdate.h deleted file mode 100644 index 8ec02afc..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdate.h +++ /dev/null @@ -1,260 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_DATE_H__ -#define __G_DATE_H__ - -#include <time.h> - -#include <glib/gtypes.h> -#include <glib/gquark.h> - -G_BEGIN_DECLS - -/* GDate - * - * Date calculations (not time for now, to be resolved). These are a - * mutant combination of Steffen Beyer's DateCalc routines - * (http://www.perl.com/CPAN/authors/id/STBEY/) and Jon Trowbridge's - * date routines (written for in-house software). Written by Havoc - * Pennington <hp@pobox.com> - */ - -typedef gint32 GTime; -typedef guint16 GDateYear; -typedef guint8 GDateDay; /* day of the month */ -typedef struct _GDate GDate; - -/* enum used to specify order of appearance in parsed date strings */ -typedef enum -{ - G_DATE_DAY = 0, - G_DATE_MONTH = 1, - G_DATE_YEAR = 2 -} GDateDMY; - -/* actual week and month values */ -typedef enum -{ - G_DATE_BAD_WEEKDAY = 0, - G_DATE_MONDAY = 1, - G_DATE_TUESDAY = 2, - G_DATE_WEDNESDAY = 3, - G_DATE_THURSDAY = 4, - G_DATE_FRIDAY = 5, - G_DATE_SATURDAY = 6, - G_DATE_SUNDAY = 7 -} GDateWeekday; -typedef enum -{ - G_DATE_BAD_MONTH = 0, - G_DATE_JANUARY = 1, - G_DATE_FEBRUARY = 2, - G_DATE_MARCH = 3, - G_DATE_APRIL = 4, - G_DATE_MAY = 5, - G_DATE_JUNE = 6, - G_DATE_JULY = 7, - G_DATE_AUGUST = 8, - G_DATE_SEPTEMBER = 9, - G_DATE_OCTOBER = 10, - G_DATE_NOVEMBER = 11, - G_DATE_DECEMBER = 12 -} GDateMonth; - -#define G_DATE_BAD_JULIAN 0U -#define G_DATE_BAD_DAY 0U -#define G_DATE_BAD_YEAR 0U - -/* Note: directly manipulating structs is generally a bad idea, but - * in this case it's an *incredibly* bad idea, because all or part - * of this struct can be invalid at any given time. Use the functions, - * or you will get hosed, I promise. - */ -struct _GDate -{ - guint julian_days : 32; /* julian days representation - we use a - * bitfield hoping that 64 bit platforms - * will pack this whole struct in one big - * int - */ - - guint julian : 1; /* julian is valid */ - guint dmy : 1; /* dmy is valid */ - - /* DMY representation */ - guint day : 6; - guint month : 4; - guint year : 16; -}; - -/* g_date_new() returns an invalid date, you then have to _set() stuff - * to get a usable object. You can also allocate a GDate statically, - * then call g_date_clear() to initialize. - */ -GDate* g_date_new (void); -GDate* g_date_new_dmy (GDateDay day, - GDateMonth month, - GDateYear year); -GDate* g_date_new_julian (guint32 julian_day); -void g_date_free (GDate *date); - -/* check g_date_valid() after doing an operation that might fail, like - * _parse. Almost all g_date operations are undefined on invalid - * dates (the exceptions are the mutators, since you need those to - * return to validity). - */ -gboolean g_date_valid (const GDate *date); -gboolean g_date_valid_day (GDateDay day) G_GNUC_CONST; -gboolean g_date_valid_month (GDateMonth month) G_GNUC_CONST; -gboolean g_date_valid_year (GDateYear year) G_GNUC_CONST; -gboolean g_date_valid_weekday (GDateWeekday weekday) G_GNUC_CONST; -gboolean g_date_valid_julian (guint32 julian_date) G_GNUC_CONST; -gboolean g_date_valid_dmy (GDateDay day, - GDateMonth month, - GDateYear year) G_GNUC_CONST; - -GDateWeekday g_date_get_weekday (const GDate *date); -GDateMonth g_date_get_month (const GDate *date); -GDateYear g_date_get_year (const GDate *date); -GDateDay g_date_get_day (const GDate *date); -guint32 g_date_get_julian (const GDate *date); -guint g_date_get_day_of_year (const GDate *date); -/* First monday/sunday is the start of week 1; if we haven't reached - * that day, return 0. These are not ISO weeks of the year; that - * routine needs to be added. - * these functions return the number of weeks, starting on the - * corrsponding day - */ -guint g_date_get_monday_week_of_year (const GDate *date); -guint g_date_get_sunday_week_of_year (const GDate *date); -guint g_date_get_iso8601_week_of_year (const GDate *date); - -/* If you create a static date struct you need to clear it to get it - * in a sane state before use. You can clear a whole array at - * once with the ndates argument. - */ -void g_date_clear (GDate *date, - guint n_dates); - -/* The parse routine is meant for dates typed in by a user, so it - * permits many formats but tries to catch common typos. If your data - * needs to be strictly validated, it is not an appropriate function. - */ -void g_date_set_parse (GDate *date, - const gchar *str); -void g_date_set_time_t (GDate *date, - time_t timet); -void g_date_set_time_val (GDate *date, - GTimeVal *timeval); -#ifndef G_DISABLE_DEPRECATED -void g_date_set_time (GDate *date, - GTime time_); -#endif -void g_date_set_month (GDate *date, - GDateMonth month); -void g_date_set_day (GDate *date, - GDateDay day); -void g_date_set_year (GDate *date, - GDateYear year); -void g_date_set_dmy (GDate *date, - GDateDay day, - GDateMonth month, - GDateYear y); -void g_date_set_julian (GDate *date, - guint32 julian_date); -gboolean g_date_is_first_of_month (const GDate *date); -gboolean g_date_is_last_of_month (const GDate *date); - -/* To go forward by some number of weeks just go forward weeks*7 days */ -void g_date_add_days (GDate *date, - guint n_days); -void g_date_subtract_days (GDate *date, - guint n_days); - -/* If you add/sub months while day > 28, the day might change */ -void g_date_add_months (GDate *date, - guint n_months); -void g_date_subtract_months (GDate *date, - guint n_months); - -/* If it's feb 29, changing years can move you to the 28th */ -void g_date_add_years (GDate *date, - guint n_years); -void g_date_subtract_years (GDate *date, - guint n_years); -gboolean g_date_is_leap_year (GDateYear year) G_GNUC_CONST; -guint8 g_date_get_days_in_month (GDateMonth month, - GDateYear year) G_GNUC_CONST; -guint8 g_date_get_monday_weeks_in_year (GDateYear year) G_GNUC_CONST; -guint8 g_date_get_sunday_weeks_in_year (GDateYear year) G_GNUC_CONST; - -/* Returns the number of days between the two dates. If date2 comes - before date1, a negative value is return. */ -gint g_date_days_between (const GDate *date1, - const GDate *date2); - -/* qsort-friendly (with a cast...) */ -gint g_date_compare (const GDate *lhs, - const GDate *rhs); -void g_date_to_struct_tm (const GDate *date, - struct tm *tm); - -void g_date_clamp (GDate *date, - const GDate *min_date, - const GDate *max_date); - -/* Swap date1 and date2's values if date1 > date2. */ -void g_date_order (GDate *date1, GDate *date2); - -/* Just like strftime() except you can only use date-related formats. - * Using a time format is undefined. - */ -gsize g_date_strftime (gchar *s, - gsize slen, - const gchar *format, - const GDate *date); - -#ifndef G_DISABLE_DEPRECATED - -#define g_date_weekday g_date_get_weekday -#define g_date_month g_date_get_month -#define g_date_year g_date_get_year -#define g_date_day g_date_get_day -#define g_date_julian g_date_get_julian -#define g_date_day_of_year g_date_get_day_of_year -#define g_date_monday_week_of_year g_date_get_monday_week_of_year -#define g_date_sunday_week_of_year g_date_get_sunday_week_of_year -#define g_date_days_in_month g_date_get_days_in_month -#define g_date_monday_weeks_in_year g_date_get_monday_weeks_in_year -#define g_date_sunday_weeks_in_year g_date_get_sunday_weeks_in_year - -#endif /* G_DISABLE_DEPRECATED */ - -G_END_DECLS - -#endif /* __G_DATE_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdir.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdir.h deleted file mode 100644 index 011174eb..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gdir.h +++ /dev/null @@ -1,47 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * gdir.c: Simplified wrapper around the DIRENT functions. - * - * Copyright 2001 Hans Breuer - * - * 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 __G_DIR_H__ -#define __G_DIR_H__ - -#include <glib/gerror.h> - -G_BEGIN_DECLS - -typedef struct _GDir GDir; - -#ifdef G_OS_WIN32 -/* For DLL ABI stability, keep old names for old (non-UTF-8) functionality. */ -#define g_dir_open g_dir_open_utf8 -#define g_dir_read_name g_dir_read_name_utf8 -#endif - -GDir * g_dir_open (const gchar *path, - guint flags, - GError **error); -G_CONST_RETURN gchar *g_dir_read_name (GDir *dir); -void g_dir_rewind (GDir *dir); -void g_dir_close (GDir *dir); - -G_END_DECLS - -#endif /* __G_DIR_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gerror.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gerror.h deleted file mode 100644 index 7fa8ef0f..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gerror.h +++ /dev/null @@ -1,84 +0,0 @@ -/* gerror.h - Error reporting system - * - * Copyright 2000 Red Hat, Inc. - * - * The Gnome 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. - * - * The Gnome 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 the Gnome Library; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __G_ERROR_H__ -#define __G_ERROR_H__ - -#include <glib/gquark.h> - -G_BEGIN_DECLS - -typedef struct _GError GError; - -struct _GError -{ - GQuark domain; - gint code; - gchar *message; -}; - -GError* g_error_new (GQuark domain, - gint code, - const gchar *format, - ...) G_GNUC_PRINTF (3, 4); - -GError* g_error_new_literal (GQuark domain, - gint code, - const gchar *message); - -void g_error_free (GError *error); -GError* g_error_copy (const GError *error); - -gboolean g_error_matches (const GError *error, - GQuark domain, - gint code); - -/* if (err) *err = g_error_new(domain, code, format, ...), also has - * some sanity checks. - */ -void g_set_error (GError **err, - GQuark domain, - gint code, - const gchar *format, - ...) G_GNUC_PRINTF (4, 5); - -/* if (dest) *dest = src; also has some sanity checks. - */ -void g_propagate_error (GError **dest, - GError *src); - -/* if (err && *err) { g_error_free(*err); *err = NULL; } */ -void g_clear_error (GError **err); - -/* if (err) prefix the formatted string to the ->message */ -void g_prefix_error (GError **err, - const gchar *format, - ...) G_GNUC_PRINTF (2, 3); - -/* g_propagate_error then g_error_prefix on dest */ -void g_propagate_prefixed_error (GError **dest, - GError *src, - const gchar *format, - ...) G_GNUC_PRINTF (3, 4); - -G_END_DECLS - -#endif /* __G_ERROR_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gfileutils.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gfileutils.h deleted file mode 100644 index 58f2d23a..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gfileutils.h +++ /dev/null @@ -1,121 +0,0 @@ -/* gfileutils.h - File utility functions - * - * Copyright 2000 Red Hat, Inc. - * - * GLib 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. - * - * GLib 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 GLib; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __G_FILEUTILS_H__ -#define __G_FILEUTILS_H__ - -#include <glib/gerror.h> - -G_BEGIN_DECLS - -#define G_FILE_ERROR g_file_error_quark () - -typedef enum -{ - G_FILE_ERROR_EXIST, - G_FILE_ERROR_ISDIR, - G_FILE_ERROR_ACCES, - G_FILE_ERROR_NAMETOOLONG, - G_FILE_ERROR_NOENT, - G_FILE_ERROR_NOTDIR, - G_FILE_ERROR_NXIO, - G_FILE_ERROR_NODEV, - G_FILE_ERROR_ROFS, - G_FILE_ERROR_TXTBSY, - G_FILE_ERROR_FAULT, - G_FILE_ERROR_LOOP, - G_FILE_ERROR_NOSPC, - G_FILE_ERROR_NOMEM, - G_FILE_ERROR_MFILE, - G_FILE_ERROR_NFILE, - G_FILE_ERROR_BADF, - G_FILE_ERROR_INVAL, - G_FILE_ERROR_PIPE, - G_FILE_ERROR_AGAIN, - G_FILE_ERROR_INTR, - G_FILE_ERROR_IO, - G_FILE_ERROR_PERM, - G_FILE_ERROR_NOSYS, - G_FILE_ERROR_FAILED -} GFileError; - -/* For backward-compat reasons, these are synced to an old - * anonymous enum in libgnome. But don't use that enum - * in new code. - */ -typedef enum -{ - G_FILE_TEST_IS_REGULAR = 1 << 0, - G_FILE_TEST_IS_SYMLINK = 1 << 1, - G_FILE_TEST_IS_DIR = 1 << 2, - G_FILE_TEST_IS_EXECUTABLE = 1 << 3, - G_FILE_TEST_EXISTS = 1 << 4 -} GFileTest; - -GQuark g_file_error_quark (void); -/* So other code can generate a GFileError */ -GFileError g_file_error_from_errno (gint err_no); - -#ifdef G_OS_WIN32 -#define g_file_test g_file_test_utf8 -#define g_file_get_contents g_file_get_contents_utf8 -#define g_mkstemp g_mkstemp_utf8 -#define g_file_open_tmp g_file_open_tmp_utf8 -#endif - -gboolean g_file_test (const gchar *filename, - GFileTest test); -gboolean g_file_get_contents (const gchar *filename, - gchar **contents, - gsize *length, - GError **error); -gboolean g_file_set_contents (const gchar *filename, - const gchar *contents, - gssize length, - GError **error); -gchar *g_file_read_link (const gchar *filename, - GError **error); - -/* Wrapper / workalike for mkstemp() */ -gint g_mkstemp (gchar *tmpl); - -/* Wrapper for g_mkstemp */ -gint g_file_open_tmp (const gchar *tmpl, - gchar **name_used, - GError **error); - -char *g_format_size_for_display (goffset size); - -gchar *g_build_path (const gchar *separator, - const gchar *first_element, - ...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED; -gchar *g_build_pathv (const gchar *separator, - gchar **args) G_GNUC_MALLOC; - -gchar *g_build_filename (const gchar *first_element, - ...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED; -gchar *g_build_filenamev (gchar **args) G_GNUC_MALLOC; - -int g_mkdir_with_parents (const gchar *pathname, - int mode); - -G_END_DECLS - -#endif /* __G_FILEUTILS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/ghash.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/ghash.h deleted file mode 100644 index 17ca7de6..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/ghash.h +++ /dev/null @@ -1,142 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_HASH_H__ -#define __G_HASH_H__ - -#include <glib/gtypes.h> -#include <glib/glist.h> - -G_BEGIN_DECLS - -typedef struct _GHashTable GHashTable; - -typedef gboolean (*GHRFunc) (gpointer key, - gpointer value, - gpointer user_data); - -typedef struct _GHashTableIter GHashTableIter; - -struct _GHashTableIter -{ - /*< private >*/ - gpointer dummy1; - gpointer dummy2; - gpointer dummy3; - int dummy4; - gboolean dummy5; - gpointer dummy6; -}; - -/* Hash tables - */ -GHashTable* g_hash_table_new (GHashFunc hash_func, - GEqualFunc key_equal_func); -GHashTable* g_hash_table_new_full (GHashFunc hash_func, - GEqualFunc key_equal_func, - GDestroyNotify key_destroy_func, - GDestroyNotify value_destroy_func); -void g_hash_table_destroy (GHashTable *hash_table); -void g_hash_table_insert (GHashTable *hash_table, - gpointer key, - gpointer value); -void g_hash_table_replace (GHashTable *hash_table, - gpointer key, - gpointer value); -gboolean g_hash_table_remove (GHashTable *hash_table, - gconstpointer key); -void g_hash_table_remove_all (GHashTable *hash_table); -gboolean g_hash_table_steal (GHashTable *hash_table, - gconstpointer key); -void g_hash_table_steal_all (GHashTable *hash_table); -gpointer g_hash_table_lookup (GHashTable *hash_table, - gconstpointer key); -gboolean g_hash_table_lookup_extended (GHashTable *hash_table, - gconstpointer lookup_key, - gpointer *orig_key, - gpointer *value); -void g_hash_table_foreach (GHashTable *hash_table, - GHFunc func, - gpointer user_data); -gpointer g_hash_table_find (GHashTable *hash_table, - GHRFunc predicate, - gpointer user_data); -guint g_hash_table_foreach_remove (GHashTable *hash_table, - GHRFunc func, - gpointer user_data); -guint g_hash_table_foreach_steal (GHashTable *hash_table, - GHRFunc func, - gpointer user_data); -guint g_hash_table_size (GHashTable *hash_table); -GList * g_hash_table_get_keys (GHashTable *hash_table); -GList * g_hash_table_get_values (GHashTable *hash_table); - -void g_hash_table_iter_init (GHashTableIter *iter, - GHashTable *hash_table); -gboolean g_hash_table_iter_next (GHashTableIter *iter, - gpointer *key, - gpointer *value); -GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter); -void g_hash_table_iter_remove (GHashTableIter *iter); -void g_hash_table_iter_steal (GHashTableIter *iter); - -/* keeping hash tables alive */ -GHashTable* g_hash_table_ref (GHashTable *hash_table); -void g_hash_table_unref (GHashTable *hash_table); - -#ifndef G_DISABLE_DEPRECATED - -/* The following two functions are deprecated and will be removed in - * the next major release. They do no good. */ -#define g_hash_table_freeze(hash_table) ((void)0) -#define g_hash_table_thaw(hash_table) ((void)0) - -#endif /* G_DISABLE_DEPRECATED */ - -/* Hash Functions - */ -gboolean g_str_equal (gconstpointer v1, - gconstpointer v2); -guint g_str_hash (gconstpointer v); - -gboolean g_int_equal (gconstpointer v1, - gconstpointer v2); -guint g_int_hash (gconstpointer v); - -/* This "hash" function will just return the key's address as an - * unsigned integer. Useful for hashing on plain addresses or - * simple integer values. - * Passing NULL into g_hash_table_new() as GHashFunc has the - * same effect as passing g_direct_hash(). - */ -guint g_direct_hash (gconstpointer v) G_GNUC_CONST; -gboolean g_direct_equal (gconstpointer v1, - gconstpointer v2) G_GNUC_CONST; - -G_END_DECLS - -#endif /* __G_HASH_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/ghook.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/ghook.h deleted file mode 100644 index cb4f8e1c..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/ghook.h +++ /dev/null @@ -1,178 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_HOOK_H__ -#define __G_HOOK_H__ - -#include <glib/gmem.h> - -G_BEGIN_DECLS - - -/* --- typedefs --- */ -typedef struct _GHook GHook; -typedef struct _GHookList GHookList; - -typedef gint (*GHookCompareFunc) (GHook *new_hook, - GHook *sibling); -typedef gboolean (*GHookFindFunc) (GHook *hook, - gpointer data); -typedef void (*GHookMarshaller) (GHook *hook, - gpointer marshal_data); -typedef gboolean (*GHookCheckMarshaller) (GHook *hook, - gpointer marshal_data); -typedef void (*GHookFunc) (gpointer data); -typedef gboolean (*GHookCheckFunc) (gpointer data); -typedef void (*GHookFinalizeFunc) (GHookList *hook_list, - GHook *hook); -typedef enum -{ - G_HOOK_FLAG_ACTIVE = 1 << 0, - G_HOOK_FLAG_IN_CALL = 1 << 1, - G_HOOK_FLAG_MASK = 0x0f -} GHookFlagMask; -#define G_HOOK_FLAG_USER_SHIFT (4) - - -/* --- structures --- */ -struct _GHookList -{ - gulong seq_id; - guint hook_size : 16; - guint is_setup : 1; - GHook *hooks; - gpointer dummy3; - GHookFinalizeFunc finalize_hook; - gpointer dummy[2]; -}; -struct _GHook -{ - gpointer data; - GHook *next; - GHook *prev; - guint ref_count; - gulong hook_id; - guint flags; - gpointer func; - GDestroyNotify destroy; -}; - - -/* --- macros --- */ -#define G_HOOK(hook) ((GHook*) (hook)) -#define G_HOOK_FLAGS(hook) (G_HOOK (hook)->flags) -#define G_HOOK_ACTIVE(hook) ((G_HOOK_FLAGS (hook) & \ - G_HOOK_FLAG_ACTIVE) != 0) -#define G_HOOK_IN_CALL(hook) ((G_HOOK_FLAGS (hook) & \ - G_HOOK_FLAG_IN_CALL) != 0) -#define G_HOOK_IS_VALID(hook) (G_HOOK (hook)->hook_id != 0 && \ - (G_HOOK_FLAGS (hook) & \ - G_HOOK_FLAG_ACTIVE)) -#define G_HOOK_IS_UNLINKED(hook) (G_HOOK (hook)->next == NULL && \ - G_HOOK (hook)->prev == NULL && \ - G_HOOK (hook)->hook_id == 0 && \ - G_HOOK (hook)->ref_count == 0) - - -/* --- prototypes --- */ -/* callback maintenance functions */ -void g_hook_list_init (GHookList *hook_list, - guint hook_size); -void g_hook_list_clear (GHookList *hook_list); -GHook* g_hook_alloc (GHookList *hook_list); -void g_hook_free (GHookList *hook_list, - GHook *hook); -GHook * g_hook_ref (GHookList *hook_list, - GHook *hook); -void g_hook_unref (GHookList *hook_list, - GHook *hook); -gboolean g_hook_destroy (GHookList *hook_list, - gulong hook_id); -void g_hook_destroy_link (GHookList *hook_list, - GHook *hook); -void g_hook_prepend (GHookList *hook_list, - GHook *hook); -void g_hook_insert_before (GHookList *hook_list, - GHook *sibling, - GHook *hook); -void g_hook_insert_sorted (GHookList *hook_list, - GHook *hook, - GHookCompareFunc func); -GHook* g_hook_get (GHookList *hook_list, - gulong hook_id); -GHook* g_hook_find (GHookList *hook_list, - gboolean need_valids, - GHookFindFunc func, - gpointer data); -GHook* g_hook_find_data (GHookList *hook_list, - gboolean need_valids, - gpointer data); -GHook* g_hook_find_func (GHookList *hook_list, - gboolean need_valids, - gpointer func); -GHook* g_hook_find_func_data (GHookList *hook_list, - gboolean need_valids, - gpointer func, - gpointer data); -/* return the first valid hook, and increment its reference count */ -GHook* g_hook_first_valid (GHookList *hook_list, - gboolean may_be_in_call); -/* return the next valid hook with incremented reference count, and - * decrement the reference count of the original hook - */ -GHook* g_hook_next_valid (GHookList *hook_list, - GHook *hook, - gboolean may_be_in_call); -/* GHookCompareFunc implementation to insert hooks sorted by their id */ -gint g_hook_compare_ids (GHook *new_hook, - GHook *sibling); -/* convenience macros */ -#define g_hook_append( hook_list, hook ) \ - g_hook_insert_before ((hook_list), NULL, (hook)) -/* invoke all valid hooks with the (*GHookFunc) signature. - */ -void g_hook_list_invoke (GHookList *hook_list, - gboolean may_recurse); -/* invoke all valid hooks with the (*GHookCheckFunc) signature, - * and destroy the hook if FALSE is returned. - */ -void g_hook_list_invoke_check (GHookList *hook_list, - gboolean may_recurse); -/* invoke a marshaller on all valid hooks. - */ -void g_hook_list_marshal (GHookList *hook_list, - gboolean may_recurse, - GHookMarshaller marshaller, - gpointer marshal_data); -void g_hook_list_marshal_check (GHookList *hook_list, - gboolean may_recurse, - GHookCheckMarshaller marshaller, - gpointer marshal_data); - -G_END_DECLS - -#endif /* __G_HOOK_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gi18n-lib.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gi18n-lib.h deleted file mode 100644 index 674466e4..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gi18n-lib.h +++ /dev/null @@ -1,37 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997, 2002 Peter Mattis, 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 __G_I18N_LIB_H__ -#define __G_I18N_LIB_H__ - -#include <glib/gstrfuncs.h> - -#include <libintl.h> -#include <string.h> - -#ifndef GETTEXT_PACKAGE -#error You must define GETTEXT_PACKAGE before including gi18n-lib.h. -#endif - -#define _(String) dgettext (GETTEXT_PACKAGE, String) -#define Q_(String) g_dpgettext (GETTEXT_PACKAGE, String, 0) -#define N_(String) (String) -#define C_(Context,String) g_dpgettext (GETTEXT_PACKAGE, Context "\004" String, strlen (Context) + 1) - - -#endif /* __G_I18N_LIB_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gi18n.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gi18n.h deleted file mode 100644 index c94e8c13..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gi18n.h +++ /dev/null @@ -1,34 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997, 2002 Peter Mattis, 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 __G_I18N_H__ -#define __G_I18N_H__ - -#include <glib/gstrfuncs.h> -#include <libintl.h> -#include <string.h> - -#define _(String) gettext (String) -#define Q_(String) g_dpgettext (NULL, String, 0) -#define N_(String) (String) -#define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1) - - -#endif /* __G_I18N_H__ */ - - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/giochannel.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/giochannel.h deleted file mode 100644 index 846c9ba4..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/giochannel.h +++ /dev/null @@ -1,354 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_IOCHANNEL_H__ -#define __G_IOCHANNEL_H__ - -#include <glib/gconvert.h> -#include <glib/gmain.h> -#include <glib/gstring.h> - -G_BEGIN_DECLS - -/* GIOChannel - */ - -typedef struct _GIOChannel GIOChannel; -typedef struct _GIOFuncs GIOFuncs; - -typedef enum -{ - G_IO_ERROR_NONE, - G_IO_ERROR_AGAIN, - G_IO_ERROR_INVAL, - G_IO_ERROR_UNKNOWN -} GIOError; - -#define G_IO_CHANNEL_ERROR g_io_channel_error_quark() - -typedef enum -{ - /* Derived from errno */ - G_IO_CHANNEL_ERROR_FBIG, - G_IO_CHANNEL_ERROR_INVAL, - G_IO_CHANNEL_ERROR_IO, - G_IO_CHANNEL_ERROR_ISDIR, - G_IO_CHANNEL_ERROR_NOSPC, - G_IO_CHANNEL_ERROR_NXIO, - G_IO_CHANNEL_ERROR_OVERFLOW, - G_IO_CHANNEL_ERROR_PIPE, - /* Other */ - G_IO_CHANNEL_ERROR_FAILED -} GIOChannelError; - -typedef enum -{ - G_IO_STATUS_ERROR, - G_IO_STATUS_NORMAL, - G_IO_STATUS_EOF, - G_IO_STATUS_AGAIN -} GIOStatus; - -typedef enum -{ - G_SEEK_CUR, - G_SEEK_SET, - G_SEEK_END -} GSeekType; - -typedef enum -{ - G_IO_IN GLIB_SYSDEF_POLLIN, - G_IO_OUT GLIB_SYSDEF_POLLOUT, - G_IO_PRI GLIB_SYSDEF_POLLPRI, - G_IO_ERR GLIB_SYSDEF_POLLERR, - G_IO_HUP GLIB_SYSDEF_POLLHUP, - G_IO_NVAL GLIB_SYSDEF_POLLNVAL -} GIOCondition; - -typedef enum -{ - G_IO_FLAG_APPEND = 1 << 0, - G_IO_FLAG_NONBLOCK = 1 << 1, - G_IO_FLAG_IS_READABLE = 1 << 2, /* Read only flag */ - G_IO_FLAG_IS_WRITEABLE = 1 << 3, /* Read only flag */ - G_IO_FLAG_IS_SEEKABLE = 1 << 4, /* Read only flag */ - G_IO_FLAG_MASK = (1 << 5) - 1, - G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK, - G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK -} GIOFlags; - -struct _GIOChannel -{ - /*< private >*/ - gint ref_count; - GIOFuncs *funcs; - - gchar *encoding; - GIConv read_cd; - GIConv write_cd; - gchar *line_term; /* String which indicates the end of a line of text */ - guint line_term_len; /* So we can have null in the line term */ - - gsize buf_size; - GString *read_buf; /* Raw data from the channel */ - GString *encoded_read_buf; /* Channel data converted to UTF-8 */ - GString *write_buf; /* Data ready to be written to the file */ - gchar partial_write_buf[6]; /* UTF-8 partial characters, null terminated */ - - /* Group the flags together, immediately after partial_write_buf, to save memory */ - - guint use_buffer : 1; /* The encoding uses the buffers */ - guint do_encode : 1; /* The encoding uses the GIConv coverters */ - guint close_on_unref : 1; /* Close the channel on final unref */ - guint is_readable : 1; /* Cached GIOFlag */ - guint is_writeable : 1; /* ditto */ - guint is_seekable : 1; /* ditto */ - - gpointer reserved1; - gpointer reserved2; -}; - -typedef gboolean (*GIOFunc) (GIOChannel *source, - GIOCondition condition, - gpointer data); -struct _GIOFuncs -{ - GIOStatus (*io_read) (GIOChannel *channel, - gchar *buf, - gsize count, - gsize *bytes_read, - GError **err); - GIOStatus (*io_write) (GIOChannel *channel, - const gchar *buf, - gsize count, - gsize *bytes_written, - GError **err); - GIOStatus (*io_seek) (GIOChannel *channel, - gint64 offset, - GSeekType type, - GError **err); - GIOStatus (*io_close) (GIOChannel *channel, - GError **err); - GSource* (*io_create_watch) (GIOChannel *channel, - GIOCondition condition); - void (*io_free) (GIOChannel *channel); - GIOStatus (*io_set_flags) (GIOChannel *channel, - GIOFlags flags, - GError **err); - GIOFlags (*io_get_flags) (GIOChannel *channel); -}; - -void g_io_channel_init (GIOChannel *channel); -GIOChannel *g_io_channel_ref (GIOChannel *channel); -void g_io_channel_unref (GIOChannel *channel); - -#ifndef G_DISABLE_DEPRECATED -GIOError g_io_channel_read (GIOChannel *channel, - gchar *buf, - gsize count, - gsize *bytes_read); -GIOError g_io_channel_write (GIOChannel *channel, - const gchar *buf, - gsize count, - gsize *bytes_written); -GIOError g_io_channel_seek (GIOChannel *channel, - gint64 offset, - GSeekType type); -void g_io_channel_close (GIOChannel *channel); -#endif /* G_DISABLE_DEPRECATED */ - -GIOStatus g_io_channel_shutdown (GIOChannel *channel, - gboolean flush, - GError **err); -guint g_io_add_watch_full (GIOChannel *channel, - gint priority, - GIOCondition condition, - GIOFunc func, - gpointer user_data, - GDestroyNotify notify); -GSource * g_io_create_watch (GIOChannel *channel, - GIOCondition condition); -guint g_io_add_watch (GIOChannel *channel, - GIOCondition condition, - GIOFunc func, - gpointer user_data); - -/* character encoding conversion involved functions. - */ - -void g_io_channel_set_buffer_size (GIOChannel *channel, - gsize size); -gsize g_io_channel_get_buffer_size (GIOChannel *channel); -GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel); -GIOStatus g_io_channel_set_flags (GIOChannel *channel, - GIOFlags flags, - GError **error); -GIOFlags g_io_channel_get_flags (GIOChannel *channel); -void g_io_channel_set_line_term (GIOChannel *channel, - const gchar *line_term, - gint length); -G_CONST_RETURN gchar* g_io_channel_get_line_term (GIOChannel *channel, - gint *length); -void g_io_channel_set_buffered (GIOChannel *channel, - gboolean buffered); -gboolean g_io_channel_get_buffered (GIOChannel *channel); -GIOStatus g_io_channel_set_encoding (GIOChannel *channel, - const gchar *encoding, - GError **error); -G_CONST_RETURN gchar* g_io_channel_get_encoding (GIOChannel *channel); -void g_io_channel_set_close_on_unref (GIOChannel *channel, - gboolean do_close); -gboolean g_io_channel_get_close_on_unref (GIOChannel *channel); - - -GIOStatus g_io_channel_flush (GIOChannel *channel, - GError **error); -GIOStatus g_io_channel_read_line (GIOChannel *channel, - gchar **str_return, - gsize *length, - gsize *terminator_pos, - GError **error); -GIOStatus g_io_channel_read_line_string (GIOChannel *channel, - GString *buffer, - gsize *terminator_pos, - GError **error); -GIOStatus g_io_channel_read_to_end (GIOChannel *channel, - gchar **str_return, - gsize *length, - GError **error); -GIOStatus g_io_channel_read_chars (GIOChannel *channel, - gchar *buf, - gsize count, - gsize *bytes_read, - GError **error); -GIOStatus g_io_channel_read_unichar (GIOChannel *channel, - gunichar *thechar, - GError **error); -GIOStatus g_io_channel_write_chars (GIOChannel *channel, - const gchar *buf, - gssize count, - gsize *bytes_written, - GError **error); -GIOStatus g_io_channel_write_unichar (GIOChannel *channel, - gunichar thechar, - GError **error); -GIOStatus g_io_channel_seek_position (GIOChannel *channel, - gint64 offset, - GSeekType type, - GError **error); -#ifdef G_OS_WIN32 -#define g_io_channel_new_file g_io_channel_new_file_utf8 -#endif - -GIOChannel* g_io_channel_new_file (const gchar *filename, - const gchar *mode, - GError **error); - -/* Error handling */ - -GQuark g_io_channel_error_quark (void); -GIOChannelError g_io_channel_error_from_errno (gint en); - -/* On Unix, IO channels created with this function for any file - * descriptor or socket. - * - * On Win32, this can be used either for files opened with the MSVCRT - * (the Microsoft run-time C library) _open() or _pipe, including file - * descriptors 0, 1 and 2 (corresponding to stdin, stdout and stderr), - * or for Winsock SOCKETs. If the parameter is a legal file - * descriptor, it is assumed to be such, otherwise it should be a - * SOCKET. This relies on SOCKETs and file descriptors not - * overlapping. If you want to be certain, call either - * g_io_channel_win32_new_fd() or g_io_channel_win32_new_socket() - * instead as appropriate. - * - * The term file descriptor as used in the context of Win32 refers to - * the emulated Unix-like file descriptors MSVCRT provides. The native - * corresponding concept is file HANDLE. There isn't as of yet a way to - * get GIOChannels for Win32 file HANDLEs. - */ -GIOChannel* g_io_channel_unix_new (int fd); -gint g_io_channel_unix_get_fd (GIOChannel *channel); - - -/* Hook for GClosure / GSource integration. Don't touch */ -GLIB_VAR GSourceFuncs g_io_watch_funcs; - -#ifdef G_OS_WIN32 - -/* You can use this "pseudo file descriptor" in a GPollFD to add - * polling for Windows messages. GTK applications should not do that. - */ - -#define G_WIN32_MSG_HANDLE 19981206 - -/* Use this to get a GPollFD from a GIOChannel, so that you can call - * g_io_channel_win32_poll(). After calling this you should only use - * g_io_channel_read() to read from the GIOChannel, i.e. never read() - * from the underlying file descriptor. For SOCKETs, it is possible to call - * recv(). - */ -void g_io_channel_win32_make_pollfd (GIOChannel *channel, - GIOCondition condition, - GPollFD *fd); - -/* This can be used to wait a until at least one of the channels is readable. - * On Unix you would do a select() on the file descriptors of the channels. - */ -gint g_io_channel_win32_poll (GPollFD *fds, - gint n_fds, - gint timeout_); - -/* Create an IO channel for Windows messages for window handle hwnd. */ -GIOChannel *g_io_channel_win32_new_messages (guint hwnd); - -/* Create an IO channel for C runtime (emulated Unix-like) file - * descriptors. After calling g_io_add_watch() on a IO channel - * returned by this function, you shouldn't call read() on the file - * descriptor. This is because adding polling for a file descriptor is - * implemented on Win32 by starting a thread that sits blocked in a - * read() from the file descriptor most of the time. All reads from - * the file descriptor should be done by this internal GLib - * thread. Your code should call only g_io_channel_read(). - */ -GIOChannel* g_io_channel_win32_new_fd (gint fd); - -/* Get the C runtime file descriptor of a channel. */ -gint g_io_channel_win32_get_fd (GIOChannel *channel); - -/* Create an IO channel for a winsock socket. The parameter should be - * a SOCKET. Contrary to IO channels for file descriptors (on *Win32), - * you can use normal recv() or recvfrom() on sockets even if GLib - * is polling them. - */ -GIOChannel *g_io_channel_win32_new_socket (gint socket); - -#endif - -G_END_DECLS - -#endif /* __G_IOCHANNEL_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gkeyfile.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gkeyfile.h deleted file mode 100644 index e7eadc68..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gkeyfile.h +++ /dev/null @@ -1,246 +0,0 @@ -/* gkeyfile.h - desktop entry file parser - * - * Copyright 2004 Red Hat, Inc. - * - * Ray Strode <halfline@hawaii.rr.com> - * - * GLib 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. - * - * GLib 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 GLib; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __G_KEY_FILE_H__ -#define __G_KEY_FILE_H__ - -#include <glib/gerror.h> - -G_BEGIN_DECLS - -typedef enum -{ - G_KEY_FILE_ERROR_UNKNOWN_ENCODING, - G_KEY_FILE_ERROR_PARSE, - G_KEY_FILE_ERROR_NOT_FOUND, - G_KEY_FILE_ERROR_KEY_NOT_FOUND, - G_KEY_FILE_ERROR_GROUP_NOT_FOUND, - G_KEY_FILE_ERROR_INVALID_VALUE -} GKeyFileError; - -#define G_KEY_FILE_ERROR g_key_file_error_quark() - -GQuark g_key_file_error_quark (void); - -typedef struct _GKeyFile GKeyFile; - -typedef enum -{ - G_KEY_FILE_NONE = 0, - G_KEY_FILE_KEEP_COMMENTS = 1 << 0, - G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1 -} GKeyFileFlags; - -GKeyFile *g_key_file_new (void); -void g_key_file_free (GKeyFile *key_file); -void g_key_file_set_list_separator (GKeyFile *key_file, - gchar separator); -gboolean g_key_file_load_from_file (GKeyFile *key_file, - const gchar *file, - GKeyFileFlags flags, - GError **error); -gboolean g_key_file_load_from_data (GKeyFile *key_file, - const gchar *data, - gsize length, - GKeyFileFlags flags, - GError **error); -gboolean g_key_file_load_from_dirs (GKeyFile *key_file, - const gchar *file, - const gchar **search_dirs, - gchar **full_path, - GKeyFileFlags flags, - GError **error); -gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file, - const gchar *file, - gchar **full_path, - GKeyFileFlags flags, - GError **error); -gchar *g_key_file_to_data (GKeyFile *key_file, - gsize *length, - GError **error) G_GNUC_MALLOC; -gchar *g_key_file_get_start_group (GKeyFile *key_file) G_GNUC_MALLOC; -gchar **g_key_file_get_groups (GKeyFile *key_file, - gsize *length) G_GNUC_MALLOC; -gchar **g_key_file_get_keys (GKeyFile *key_file, - const gchar *group_name, - gsize *length, - GError **error) G_GNUC_MALLOC; -gboolean g_key_file_has_group (GKeyFile *key_file, - const gchar *group_name); -gboolean g_key_file_has_key (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error); -gchar *g_key_file_get_value (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error) G_GNUC_MALLOC; -void g_key_file_set_value (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - const gchar *value); -gchar *g_key_file_get_string (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error) G_GNUC_MALLOC; -void g_key_file_set_string (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - const gchar *string); -gchar *g_key_file_get_locale_string (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - const gchar *locale, - GError **error) G_GNUC_MALLOC; -void g_key_file_set_locale_string (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - const gchar *locale, - const gchar *string); -gboolean g_key_file_get_boolean (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error); -void g_key_file_set_boolean (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gboolean value); -gint g_key_file_get_integer (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error); -void g_key_file_set_integer (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gint value); -gdouble g_key_file_get_double (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error); -void g_key_file_set_double (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gdouble value); -gchar **g_key_file_get_string_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gsize *length, - GError **error) G_GNUC_MALLOC; -void g_key_file_set_string_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - const gchar * const list[], - gsize length); -gchar **g_key_file_get_locale_string_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - const gchar *locale, - gsize *length, - GError **error) G_GNUC_MALLOC; -void g_key_file_set_locale_string_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - const gchar *locale, - const gchar * const list[], - gsize length); -gboolean *g_key_file_get_boolean_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gsize *length, - GError **error) G_GNUC_MALLOC; -void g_key_file_set_boolean_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gboolean list[], - gsize length); -gint *g_key_file_get_integer_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gsize *length, - GError **error) G_GNUC_MALLOC; -void g_key_file_set_double_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gdouble list[], - gsize length); -gdouble *g_key_file_get_double_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gsize *length, - GError **error) G_GNUC_MALLOC; -void g_key_file_set_integer_list (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - gint list[], - gsize length); -gboolean g_key_file_set_comment (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - const gchar *comment, - GError **error); -gchar *g_key_file_get_comment (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error) G_GNUC_MALLOC; - -gboolean g_key_file_remove_comment (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error); -gboolean g_key_file_remove_key (GKeyFile *key_file, - const gchar *group_name, - const gchar *key, - GError **error); -gboolean g_key_file_remove_group (GKeyFile *key_file, - const gchar *group_name, - GError **error); - -/* Defines for handling freedesktop.org Desktop files */ -#define G_KEY_FILE_DESKTOP_GROUP "Desktop Entry" - -#define G_KEY_FILE_DESKTOP_KEY_TYPE "Type" -#define G_KEY_FILE_DESKTOP_KEY_VERSION "Version" -#define G_KEY_FILE_DESKTOP_KEY_NAME "Name" -#define G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME "GenericName" -#define G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY "NoDisplay" -#define G_KEY_FILE_DESKTOP_KEY_COMMENT "Comment" -#define G_KEY_FILE_DESKTOP_KEY_ICON "Icon" -#define G_KEY_FILE_DESKTOP_KEY_HIDDEN "Hidden" -#define G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN "OnlyShowIn" -#define G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN "NotShowIn" -#define G_KEY_FILE_DESKTOP_KEY_TRY_EXEC "TryExec" -#define G_KEY_FILE_DESKTOP_KEY_EXEC "Exec" -#define G_KEY_FILE_DESKTOP_KEY_PATH "Path" -#define G_KEY_FILE_DESKTOP_KEY_TERMINAL "Terminal" -#define G_KEY_FILE_DESKTOP_KEY_MIME_TYPE "MimeType" -#define G_KEY_FILE_DESKTOP_KEY_CATEGORIES "Categories" -#define G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY "StartupNotify" -#define G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS "StartupWMClass" -#define G_KEY_FILE_DESKTOP_KEY_URL "URL" - -#define G_KEY_FILE_DESKTOP_TYPE_APPLICATION "Application" -#define G_KEY_FILE_DESKTOP_TYPE_LINK "Link" -#define G_KEY_FILE_DESKTOP_TYPE_DIRECTORY "Directory" - -G_END_DECLS - -#endif /* __G_KEY_FILE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/glist.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/glist.h deleted file mode 100644 index 258dcd1e..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/glist.h +++ /dev/null @@ -1,116 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_LIST_H__ -#define __G_LIST_H__ - -#include <glib/gmem.h> - -G_BEGIN_DECLS - -typedef struct _GList GList; - -struct _GList -{ - gpointer data; - GList *next; - GList *prev; -}; - -/* Doubly linked lists - */ -GList* g_list_alloc (void) G_GNUC_WARN_UNUSED_RESULT; -void g_list_free (GList *list); -void g_list_free_1 (GList *list); -#define g_list_free1 g_list_free_1 -GList* g_list_append (GList *list, - gpointer data) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_prepend (GList *list, - gpointer data) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_insert (GList *list, - gpointer data, - gint position) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_insert_sorted (GList *list, - gpointer data, - GCompareFunc func) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_insert_sorted_with_data (GList *list, - gpointer data, - GCompareDataFunc func, - gpointer user_data) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_insert_before (GList *list, - GList *sibling, - gpointer data) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_concat (GList *list1, - GList *list2) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_remove (GList *list, - gconstpointer data) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_remove_all (GList *list, - gconstpointer data) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_remove_link (GList *list, - GList *llink) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_delete_link (GList *list, - GList *link_) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_reverse (GList *list) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_copy (GList *list) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_nth (GList *list, - guint n); -GList* g_list_nth_prev (GList *list, - guint n); -GList* g_list_find (GList *list, - gconstpointer data); -GList* g_list_find_custom (GList *list, - gconstpointer data, - GCompareFunc func); -gint g_list_position (GList *list, - GList *llink); -gint g_list_index (GList *list, - gconstpointer data); -GList* g_list_last (GList *list); -GList* g_list_first (GList *list); -guint g_list_length (GList *list); -void g_list_foreach (GList *list, - GFunc func, - gpointer user_data); -GList* g_list_sort (GList *list, - GCompareFunc compare_func) G_GNUC_WARN_UNUSED_RESULT; -GList* g_list_sort_with_data (GList *list, - GCompareDataFunc compare_func, - gpointer user_data) G_GNUC_WARN_UNUSED_RESULT; -gpointer g_list_nth_data (GList *list, - guint n); - - -#define g_list_previous(list) ((list) ? (((GList *)(list))->prev) : NULL) -#define g_list_next(list) ((list) ? (((GList *)(list))->next) : NULL) - -#ifndef G_DISABLE_DEPRECATED -void g_list_push_allocator (gpointer allocator); -void g_list_pop_allocator (void); -#endif -G_END_DECLS - -#endif /* __G_LIST_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmacros.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmacros.h deleted file mode 100644 index eb6b02c5..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmacros.h +++ /dev/null @@ -1,269 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -/* This file must not include any other glib header file and must thus - * not refer to variables from glibconfig.h - */ - -#ifndef __G_MACROS_H__ -#define __G_MACROS_H__ - -/* We include stddef.h to get the system's definition of NULL - */ -#include <stddef.h> - -/* Here we provide G_GNUC_EXTENSION as an alias for __extension__, - * where this is valid. This allows for warningless compilation of - * "long long" types even in the presence of '-ansi -pedantic'. - */ -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8) -# define G_GNUC_EXTENSION __extension__ -#else -# define G_GNUC_EXTENSION -#endif - -/* Provide macros to feature the GCC function attribute. - */ -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -#define G_GNUC_PURE \ - __attribute__((__pure__)) -#define G_GNUC_MALLOC \ - __attribute__((__malloc__)) -#else -#define G_GNUC_PURE -#define G_GNUC_MALLOC -#endif - -#if __GNUC__ >= 4 -#define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) -#else -#define G_GNUC_NULL_TERMINATED -#endif - -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) -#define G_GNUC_PRINTF( format_idx, arg_idx ) \ - __attribute__((__format__ (__printf__, format_idx, arg_idx))) -#define G_GNUC_SCANF( format_idx, arg_idx ) \ - __attribute__((__format__ (__scanf__, format_idx, arg_idx))) -#define G_GNUC_FORMAT( arg_idx ) \ - __attribute__((__format_arg__ (arg_idx))) -#define G_GNUC_NORETURN \ - __attribute__((__noreturn__)) -#define G_GNUC_CONST \ - __attribute__((__const__)) -#define G_GNUC_UNUSED \ - __attribute__((__unused__)) -#define G_GNUC_NO_INSTRUMENT \ - __attribute__((__no_instrument_function__)) -#else /* !__GNUC__ */ -#define G_GNUC_PRINTF( format_idx, arg_idx ) -#define G_GNUC_SCANF( format_idx, arg_idx ) -#define G_GNUC_FORMAT( arg_idx ) -#define G_GNUC_NORETURN -#define G_GNUC_CONST -#define G_GNUC_UNUSED -#define G_GNUC_NO_INSTRUMENT -#endif /* !__GNUC__ */ - -#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) -#define G_GNUC_DEPRECATED \ - __attribute__((__deprecated__)) -#else -#define G_GNUC_DEPRECATED -#endif /* __GNUC__ */ - -#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) -# define G_GNUC_MAY_ALIAS __attribute__((may_alias)) -#else -# define G_GNUC_MAY_ALIAS -#endif - -#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) -#define G_GNUC_WARN_UNUSED_RESULT \ - __attribute__((warn_unused_result)) -#else -#define G_GNUC_WARN_UNUSED_RESULT -#endif /* __GNUC__ */ - -#ifndef G_DISABLE_DEPRECATED -/* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with - * macros, so we can refer to them as strings unconditionally. - * usage not-recommended since gcc-3.0 - */ -#if defined (__GNUC__) && (__GNUC__ < 3) -#define G_GNUC_FUNCTION __FUNCTION__ -#define G_GNUC_PRETTY_FUNCTION __PRETTY_FUNCTION__ -#else /* !__GNUC__ */ -#define G_GNUC_FUNCTION "" -#define G_GNUC_PRETTY_FUNCTION "" -#endif /* !__GNUC__ */ -#endif /* !G_DISABLE_DEPRECATED */ - -#define G_STRINGIFY(macro_or_string) G_STRINGIFY_ARG (macro_or_string) -#define G_STRINGIFY_ARG(contents) #contents - -/* Provide a string identifying the current code position */ -#if defined(__GNUC__) && (__GNUC__ < 3) && !defined(__cplusplus) -# define G_STRLOC __FILE__ ":" G_STRINGIFY (__LINE__) ":" __PRETTY_FUNCTION__ "()" -#else -# define G_STRLOC __FILE__ ":" G_STRINGIFY (__LINE__) -#endif - -/* Provide a string identifying the current function, non-concatenatable */ -#if defined (__GNUC__) -# define G_STRFUNC ((const char*) (__PRETTY_FUNCTION__)) -#elif defined (G_HAVE_ISO_VARARGS) -# define G_STRFUNC ((const char*) (__func__)) -#else -# define G_STRFUNC ((const char*) ("???")) -#endif - -/* Guard C code in headers, while including them from C++ */ -#ifdef __cplusplus -# define G_BEGIN_DECLS extern "C" { -# define G_END_DECLS } -#else -# define G_BEGIN_DECLS -# define G_END_DECLS -#endif - -/* Provide definitions for some commonly used macros. - * Some of them are only provided if they haven't already - * been defined. It is assumed that if they are already - * defined then the current definition is correct. - */ -#ifndef NULL -# ifdef __cplusplus -# define NULL (0L) -# else /* !__cplusplus */ -# define NULL ((void*) 0) -# endif /* !__cplusplus */ -#endif - -#ifndef FALSE -#define FALSE (0) -#endif - -#ifndef TRUE -#define TRUE (!FALSE) -#endif - -#undef MAX -#define MAX(a, b) (((a) > (b)) ? (a) : (b)) - -#undef MIN -#define MIN(a, b) (((a) < (b)) ? (a) : (b)) - -#undef ABS -#define ABS(a) (((a) < 0) ? -(a) : (a)) - -#undef CLAMP -#define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) - -/* Count the number of elements in an array. The array must be defined - * as such; using this with a dynamically allocated array will give - * incorrect results. - */ -#define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) - -/* Macros by analogy to GINT_TO_POINTER, GPOINTER_TO_INT - */ -#define GPOINTER_TO_SIZE(p) ((gsize) (p)) -#define GSIZE_TO_POINTER(s) ((gpointer) (gsize) (s)) - -/* Provide convenience macros for handling structure - * fields through their offsets. - */ -#define G_STRUCT_OFFSET(struct_type, member) \ - ((glong) ((guint8*) &((struct_type*) 0)->member)) -#define G_STRUCT_MEMBER_P(struct_p, struct_offset) \ - ((gpointer) ((guint8*) (struct_p) + (glong) (struct_offset))) -#define G_STRUCT_MEMBER(member_type, struct_p, struct_offset) \ - (*(member_type*) G_STRUCT_MEMBER_P ((struct_p), (struct_offset))) - -/* Provide simple macro statement wrappers (adapted from Perl): - * G_STMT_START { statements; } G_STMT_END; - * can be used as a single statement, as in - * if (x) G_STMT_START { ... } G_STMT_END; else ... - * - * When GCC is compiling C code in non-ANSI mode, it will use the - * compiler __extension__ to wrap the statements wihin `({' and '})' braces. - * When compiling on platforms where configure has defined - * HAVE_DOWHILE_MACROS, statements will be wrapped with `do' and `while (0)'. - * For any other platforms (SunOS4 is known to have this issue), wrap the - * statements with `if (1)' and `else (void) 0'. - */ -#if !(defined (G_STMT_START) && defined (G_STMT_END)) -# if defined (__GNUC__) && !defined (__STRICT_ANSI__) && !defined (__cplusplus) -# define G_STMT_START (void) __extension__ ( -# define G_STMT_END ) -# else /* !(__GNUC__ && !__STRICT_ANSI__ && !__cplusplus) */ -# if defined (HAVE_DOWHILE_MACROS) -# define G_STMT_START do -# define G_STMT_END while (0) -# else /* !HAVE_DOWHILE_MACROS */ -# define G_STMT_START if (1) -# define G_STMT_END else (void) 0 -# endif /* !HAVE_DOWHILE_MACROS */ -# endif /* !(__GNUC__ && !__STRICT_ANSI__ && !__cplusplus) */ -#endif - -/* Allow the app programmer to select whether or not return values - * (usually char*) are const or not. Don't try using this feature for - * functions with C++ linkage. - */ -#ifdef G_DISABLE_CONST_RETURNS -#define G_CONST_RETURN -#else -#define G_CONST_RETURN const -#endif - -/* - * The G_LIKELY and G_UNLIKELY macros let the programmer give hints to - * the compiler about the expected result of an expression. Some compilers - * can use this information for optimizations. - * - * The _G_BOOLEAN_EXPR macro is intended to trigger a gcc warning when - * putting assignments in g_return_if_fail (). - */ -#if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__) -#define _G_BOOLEAN_EXPR(expr) \ - __extension__ ({ \ - int _g_boolean_var_; \ - if (expr) \ - _g_boolean_var_ = 1; \ - else \ - _g_boolean_var_ = 0; \ - _g_boolean_var_; \ -}) -#define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1)) -#define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0)) -#else -#define G_LIKELY(expr) (expr) -#define G_UNLIKELY(expr) (expr) -#endif - -#endif /* __G_MACROS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmain.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmain.h deleted file mode 100644 index 67250da4..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmain.h +++ /dev/null @@ -1,337 +0,0 @@ -/* gmain.h - the GLib Main loop - * Copyright (C) 1998-2000 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library 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 __G_MAIN_H__ -#define __G_MAIN_H__ - -#include <glib/gslist.h> -#include <glib/gthread.h> - -G_BEGIN_DECLS - -typedef struct _GMainContext GMainContext; /* Opaque */ -typedef struct _GMainLoop GMainLoop; /* Opaque */ -typedef struct _GSource GSource; -typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs; -typedef struct _GSourceFuncs GSourceFuncs; - -typedef gboolean (*GSourceFunc) (gpointer data); -typedef void (*GChildWatchFunc) (GPid pid, - gint status, - gpointer data); -struct _GSource -{ - /*< private >*/ - gpointer callback_data; - GSourceCallbackFuncs *callback_funcs; - - GSourceFuncs *source_funcs; - guint ref_count; - - GMainContext *context; - - gint priority; - guint flags; - guint source_id; - - GSList *poll_fds; - - GSource *prev; - GSource *next; - - gpointer reserved1; - gpointer reserved2; -}; - -struct _GSourceCallbackFuncs -{ - void (*ref) (gpointer cb_data); - void (*unref) (gpointer cb_data); - void (*get) (gpointer cb_data, - GSource *source, - GSourceFunc *func, - gpointer *data); -}; - -typedef void (*GSourceDummyMarshal) (void); - -struct _GSourceFuncs -{ - gboolean (*prepare) (GSource *source, - gint *timeout_); - gboolean (*check) (GSource *source); - gboolean (*dispatch) (GSource *source, - GSourceFunc callback, - gpointer user_data); - void (*finalize) (GSource *source); /* Can be NULL */ - - /* For use by g_source_set_closure */ - GSourceFunc closure_callback; - GSourceDummyMarshal closure_marshal; /* Really is of type GClosureMarshal */ -}; - -/* Any definitions using GPollFD or GPollFunc are primarily - * for Unix and not guaranteed to be the compatible on all - * operating systems on which GLib runs. Right now, the - * GLib does use these functions on Win32 as well, but interprets - * them in a fairly different way than on Unix. If you use - * these definitions, you are should be prepared to recode - * for different operating systems. - * - * - * On Win32, the fd in a GPollFD should be Win32 HANDLE (*not* a file - * descriptor as provided by the C runtime) that can be used by - * MsgWaitForMultipleObjects. This does *not* include file handles - * from CreateFile, SOCKETs, nor pipe handles. (But you can use - * WSAEventSelect to signal events when a SOCKET is readable). - * - * On Win32, fd can also be the special value G_WIN32_MSG_HANDLE to - * indicate polling for messages. - * - * But note that G_WIN32_MSG_HANDLE GPollFDs should not be used by GDK - * (GTK) programs, as GDK itself wants to read messages and convert them - * to GDK events. - * - * So, unless you really know what you are doing, it's best not to try - * to use the main loop polling stuff for your own needs on - * Win32. It's really only written for the GIMP's needs so - * far. - */ -typedef struct _GPollFD GPollFD; -typedef gint (*GPollFunc) (GPollFD *ufds, - guint nfsd, - gint timeout_); - -struct _GPollFD -{ -#if defined (G_OS_WIN32) && GLIB_SIZEOF_VOID_P == 8 - gint64 fd; -#else - gint fd; -#endif - gushort events; - gushort revents; -}; - -/* Standard priorities */ - -#define G_PRIORITY_HIGH -100 -#define G_PRIORITY_DEFAULT 0 -#define G_PRIORITY_HIGH_IDLE 100 -#define G_PRIORITY_DEFAULT_IDLE 200 -#define G_PRIORITY_LOW 300 - -/* GMainContext: */ - -GMainContext *g_main_context_new (void); -GMainContext *g_main_context_ref (GMainContext *context); -void g_main_context_unref (GMainContext *context); -GMainContext *g_main_context_default (void); - -gboolean g_main_context_iteration (GMainContext *context, - gboolean may_block); -gboolean g_main_context_pending (GMainContext *context); - -/* For implementation of legacy interfaces - */ -GSource *g_main_context_find_source_by_id (GMainContext *context, - guint source_id); -GSource *g_main_context_find_source_by_user_data (GMainContext *context, - gpointer user_data); -GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context, - GSourceFuncs *funcs, - gpointer user_data); - -/* Low level functions for implementing custom main loops. - */ -void g_main_context_wakeup (GMainContext *context); -gboolean g_main_context_acquire (GMainContext *context); -void g_main_context_release (GMainContext *context); -gboolean g_main_context_is_owner (GMainContext *context); -gboolean g_main_context_wait (GMainContext *context, - GCond *cond, - GMutex *mutex); - -gboolean g_main_context_prepare (GMainContext *context, - gint *priority); -gint g_main_context_query (GMainContext *context, - gint max_priority, - gint *timeout_, - GPollFD *fds, - gint n_fds); -gint g_main_context_check (GMainContext *context, - gint max_priority, - GPollFD *fds, - gint n_fds); -void g_main_context_dispatch (GMainContext *context); - -void g_main_context_set_poll_func (GMainContext *context, - GPollFunc func); -GPollFunc g_main_context_get_poll_func (GMainContext *context); - -/* Low level functions for use by source implementations - */ -void g_main_context_add_poll (GMainContext *context, - GPollFD *fd, - gint priority); -void g_main_context_remove_poll (GMainContext *context, - GPollFD *fd); - -gint g_main_depth (void); -GSource *g_main_current_source (void); - - -/* GMainLoop: */ - -GMainLoop *g_main_loop_new (GMainContext *context, - gboolean is_running); -void g_main_loop_run (GMainLoop *loop); -void g_main_loop_quit (GMainLoop *loop); -GMainLoop *g_main_loop_ref (GMainLoop *loop); -void g_main_loop_unref (GMainLoop *loop); -gboolean g_main_loop_is_running (GMainLoop *loop); -GMainContext *g_main_loop_get_context (GMainLoop *loop); - -/* GSource: */ - -GSource *g_source_new (GSourceFuncs *source_funcs, - guint struct_size); -GSource *g_source_ref (GSource *source); -void g_source_unref (GSource *source); - -guint g_source_attach (GSource *source, - GMainContext *context); -void g_source_destroy (GSource *source); - -void g_source_set_priority (GSource *source, - gint priority); -gint g_source_get_priority (GSource *source); -void g_source_set_can_recurse (GSource *source, - gboolean can_recurse); -gboolean g_source_get_can_recurse (GSource *source); -guint g_source_get_id (GSource *source); - -GMainContext *g_source_get_context (GSource *source); - -void g_source_set_callback (GSource *source, - GSourceFunc func, - gpointer data, - GDestroyNotify notify); - -void g_source_set_funcs (GSource *source, - GSourceFuncs *funcs); -gboolean g_source_is_destroyed (GSource *source); - -/* Used to implement g_source_connect_closure and internally*/ -void g_source_set_callback_indirect (GSource *source, - gpointer callback_data, - GSourceCallbackFuncs *callback_funcs); - -void g_source_add_poll (GSource *source, - GPollFD *fd); -void g_source_remove_poll (GSource *source, - GPollFD *fd); - -void g_source_get_current_time (GSource *source, - GTimeVal *timeval); - - /* void g_source_connect_closure (GSource *source, - GClosure *closure); - */ - -/* Specific source types - */ -GSource *g_idle_source_new (void); -GSource *g_child_watch_source_new (GPid pid); -GSource *g_timeout_source_new (guint interval); -GSource *g_timeout_source_new_seconds (guint interval); - -/* Miscellaneous functions - */ -void g_get_current_time (GTimeVal *result); - -/* ============== Compat main loop stuff ================== */ - -#ifndef G_DISABLE_DEPRECATED - -/* Legacy names for GMainLoop functions - */ -#define g_main_new(is_running) g_main_loop_new (NULL, is_running); -#define g_main_run(loop) g_main_loop_run(loop) -#define g_main_quit(loop) g_main_loop_quit(loop) -#define g_main_destroy(loop) g_main_loop_unref(loop) -#define g_main_is_running(loop) g_main_loop_is_running(loop) - -/* Functions to manipulate the default main loop - */ - -#define g_main_iteration(may_block) g_main_context_iteration (NULL, may_block) -#define g_main_pending() g_main_context_pending (NULL) - -#define g_main_set_poll_func(func) g_main_context_set_poll_func (NULL, func) - -#endif /* G_DISABLE_DEPRECATED */ - -/* Source manipulation by ID */ -gboolean g_source_remove (guint tag); -gboolean g_source_remove_by_user_data (gpointer user_data); -gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, - gpointer user_data); - -/* Idles, child watchers and timeouts */ -guint g_timeout_add_full (gint priority, - guint interval, - GSourceFunc function, - gpointer data, - GDestroyNotify notify); -guint g_timeout_add (guint interval, - GSourceFunc function, - gpointer data); -guint g_timeout_add_seconds_full (gint priority, - guint interval, - GSourceFunc function, - gpointer data, - GDestroyNotify notify); -guint g_timeout_add_seconds (guint interval, - GSourceFunc function, - gpointer data); -guint g_child_watch_add_full (gint priority, - GPid pid, - GChildWatchFunc function, - gpointer data, - GDestroyNotify notify); -guint g_child_watch_add (GPid pid, - GChildWatchFunc function, - gpointer data); -guint g_idle_add (GSourceFunc function, - gpointer data); -guint g_idle_add_full (gint priority, - GSourceFunc function, - gpointer data, - GDestroyNotify notify); -gboolean g_idle_remove_by_data (gpointer data); - -/* Hook for GClosure / GSource integration. Don't touch */ -GLIB_VAR GSourceFuncs g_timeout_funcs; -GLIB_VAR GSourceFuncs g_child_watch_funcs; -GLIB_VAR GSourceFuncs g_idle_funcs; - -G_END_DECLS - -#endif /* __G_MAIN_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmappedfile.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmappedfile.h deleted file mode 100644 index 123bc6af..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmappedfile.h +++ /dev/null @@ -1,39 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * gmappedfile.h: Simplified wrapper around the mmap function - * - * Copyright 2005 Matthias Clasen - * - * 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 __G_MAPPED_FILE_H__ -#define __G_MAPPED_FILE_H__ - -#include <glib/gerror.h> - -G_BEGIN_DECLS - -typedef struct _GMappedFile GMappedFile; - -GMappedFile *g_mapped_file_new (const gchar *filename, - gboolean writable, - GError **error) G_GNUC_MALLOC; -gsize g_mapped_file_get_length (GMappedFile *file); -gchar *g_mapped_file_get_contents (GMappedFile *file); -void g_mapped_file_free (GMappedFile *file); - -G_END_DECLS - -#endif /* __G_MAPPED_FILE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmarkup.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmarkup.h deleted file mode 100644 index 340a2181..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmarkup.h +++ /dev/null @@ -1,155 +0,0 @@ -/* gmarkup.h - Simple XML-like string parser/writer - * - * Copyright 2000 Red Hat, Inc. - * - * GLib 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. - * - * GLib 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 GLib; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __G_MARKUP_H__ -#define __G_MARKUP_H__ - -#include <stdarg.h> - -#include <glib/gerror.h> -#include <glib/gslist.h> - -G_BEGIN_DECLS - -typedef enum -{ - G_MARKUP_ERROR_BAD_UTF8, - G_MARKUP_ERROR_EMPTY, - G_MARKUP_ERROR_PARSE, - /* The following are primarily intended for specific GMarkupParser - * implementations to set. - */ - G_MARKUP_ERROR_UNKNOWN_ELEMENT, - G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, - G_MARKUP_ERROR_INVALID_CONTENT, - G_MARKUP_ERROR_MISSING_ATTRIBUTE -} GMarkupError; - -#define G_MARKUP_ERROR g_markup_error_quark () - -GQuark g_markup_error_quark (void); - -typedef enum -{ - G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0, - G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1, - G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2 -} GMarkupParseFlags; - -typedef struct _GMarkupParseContext GMarkupParseContext; -typedef struct _GMarkupParser GMarkupParser; - -struct _GMarkupParser -{ - /* Called for open tags <foo bar="baz"> */ - void (*start_element) (GMarkupParseContext *context, - const gchar *element_name, - const gchar **attribute_names, - const gchar **attribute_values, - gpointer user_data, - GError **error); - - /* Called for close tags </foo> */ - void (*end_element) (GMarkupParseContext *context, - const gchar *element_name, - gpointer user_data, - GError **error); - - /* Called for character data */ - /* text is not nul-terminated */ - void (*text) (GMarkupParseContext *context, - const gchar *text, - gsize text_len, - gpointer user_data, - GError **error); - - /* Called for strings that should be re-saved verbatim in this same - * position, but are not otherwise interpretable. At the moment - * this includes comments and processing instructions. - */ - /* text is not nul-terminated. */ - void (*passthrough) (GMarkupParseContext *context, - const gchar *passthrough_text, - gsize text_len, - gpointer user_data, - GError **error); - - /* Called on error, including one set by other - * methods in the vtable. The GError should not be freed. - */ - void (*error) (GMarkupParseContext *context, - GError *error, - gpointer user_data); -}; - -GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser, - GMarkupParseFlags flags, - gpointer user_data, - GDestroyNotify user_data_dnotify); -void g_markup_parse_context_free (GMarkupParseContext *context); -gboolean g_markup_parse_context_parse (GMarkupParseContext *context, - const gchar *text, - gssize text_len, - GError **error); - -gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, - GError **error); -G_CONST_RETURN gchar *g_markup_parse_context_get_element (GMarkupParseContext *context); -G_CONST_RETURN GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context); - -/* For user-constructed error messages, has no precise semantics */ -void g_markup_parse_context_get_position (GMarkupParseContext *context, - gint *line_number, - gint *char_number); - -/* useful when saving */ -gchar* g_markup_escape_text (const gchar *text, - gssize length); - -gchar *g_markup_printf_escaped (const char *format, - ...) G_GNUC_PRINTF (1, 2); -gchar *g_markup_vprintf_escaped (const char *format, - va_list args); - -typedef enum -{ - G_MARKUP_COLLECT_INVALID, - G_MARKUP_COLLECT_STRING, - G_MARKUP_COLLECT_STRDUP, - G_MARKUP_COLLECT_BOOLEAN, - G_MARKUP_COLLECT_TRISTATE, - - G_MARKUP_COLLECT_OPTIONAL = (1 << 16) -} GMarkupCollectType; - - -/* useful from start_element */ -gboolean g_markup_collect_attributes (const gchar *element_name, - const gchar **attribute_names, - const gchar **attribute_values, - GError **error, - GMarkupCollectType first_type, - const gchar *first_attr, - ...); - -G_END_DECLS - -#endif /* __G_MARKUP_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmem.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmem.h deleted file mode 100644 index 69a0befc..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmem.h +++ /dev/null @@ -1,148 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_MEM_H__ -#define __G_MEM_H__ - -#include <glib/gslice.h> -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -typedef struct _GMemVTable GMemVTable; - - -#if GLIB_SIZEOF_VOID_P > GLIB_SIZEOF_LONG -# define G_MEM_ALIGN GLIB_SIZEOF_VOID_P -#else /* GLIB_SIZEOF_VOID_P <= GLIB_SIZEOF_LONG */ -# define G_MEM_ALIGN GLIB_SIZEOF_LONG -#endif /* GLIB_SIZEOF_VOID_P <= GLIB_SIZEOF_LONG */ - - -/* Memory allocation functions - */ -gpointer g_malloc (gsize n_bytes) G_GNUC_MALLOC; -gpointer g_malloc0 (gsize n_bytes) G_GNUC_MALLOC; -gpointer g_realloc (gpointer mem, - gsize n_bytes) G_GNUC_WARN_UNUSED_RESULT; -void g_free (gpointer mem); -gpointer g_try_malloc (gsize n_bytes) G_GNUC_MALLOC; -gpointer g_try_malloc0 (gsize n_bytes) G_GNUC_MALLOC; -gpointer g_try_realloc (gpointer mem, - gsize n_bytes) G_GNUC_WARN_UNUSED_RESULT; - - -/* Convenience memory allocators - */ -#define g_new(struct_type, n_structs) \ - ((struct_type *) g_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) -#define g_new0(struct_type, n_structs) \ - ((struct_type *) g_malloc0 (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) -#define g_renew(struct_type, mem, n_structs) \ - ((struct_type *) g_realloc ((mem), ((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) - -#define g_try_new(struct_type, n_structs) \ - ((struct_type *) g_try_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) -#define g_try_new0(struct_type, n_structs) \ - ((struct_type *) g_try_malloc0 (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) -#define g_try_renew(struct_type, mem, n_structs) \ - ((struct_type *) g_try_realloc ((mem), ((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) - - -/* Memory allocation virtualization for debugging purposes - * g_mem_set_vtable() has to be the very first GLib function called - * if being used - */ -struct _GMemVTable -{ - gpointer (*malloc) (gsize n_bytes); - gpointer (*realloc) (gpointer mem, - gsize n_bytes); - void (*free) (gpointer mem); - /* optional; set to NULL if not used ! */ - gpointer (*calloc) (gsize n_blocks, - gsize n_block_bytes); - gpointer (*try_malloc) (gsize n_bytes); - gpointer (*try_realloc) (gpointer mem, - gsize n_bytes); -}; -void g_mem_set_vtable (GMemVTable *vtable); -gboolean g_mem_is_system_malloc (void); - -GLIB_VAR gboolean g_mem_gc_friendly; - -/* Memory profiler and checker, has to be enabled via g_mem_set_vtable() - */ -GLIB_VAR GMemVTable *glib_mem_profiler_table; -void g_mem_profile (void); - - -/* deprecated memchunks and allocators */ -#if !defined (G_DISABLE_DEPRECATED) || defined (GTK_COMPILATION) || defined (GDK_COMPILATION) -typedef struct _GAllocator GAllocator; -typedef struct _GMemChunk GMemChunk; -#define g_mem_chunk_create(type, pre_alloc, alloc_type) ( \ - g_mem_chunk_new (#type " mem chunks (" #pre_alloc ")", \ - sizeof (type), \ - sizeof (type) * (pre_alloc), \ - (alloc_type)) \ -) -#define g_chunk_new(type, chunk) ( \ - (type *) g_mem_chunk_alloc (chunk) \ -) -#define g_chunk_new0(type, chunk) ( \ - (type *) g_mem_chunk_alloc0 (chunk) \ -) -#define g_chunk_free(mem, mem_chunk) G_STMT_START { \ - g_mem_chunk_free ((mem_chunk), (mem)); \ -} G_STMT_END -#define G_ALLOC_ONLY 1 -#define G_ALLOC_AND_FREE 2 -GMemChunk* g_mem_chunk_new (const gchar *name, - gint atom_size, - gsize area_size, - gint type); -void g_mem_chunk_destroy (GMemChunk *mem_chunk); -gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk); -gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk); -void g_mem_chunk_free (GMemChunk *mem_chunk, - gpointer mem); -void g_mem_chunk_clean (GMemChunk *mem_chunk); -void g_mem_chunk_reset (GMemChunk *mem_chunk); -void g_mem_chunk_print (GMemChunk *mem_chunk); -void g_mem_chunk_info (void); -void g_blow_chunks (void); -GAllocator*g_allocator_new (const gchar *name, - guint n_preallocs); -void g_allocator_free (GAllocator *allocator); -#define G_ALLOCATOR_LIST (1) -#define G_ALLOCATOR_SLIST (2) -#define G_ALLOCATOR_NODE (3) -#endif /* G_DISABLE_DEPRECATED */ - -G_END_DECLS - -#endif /* __G_MEM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmessages.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmessages.h deleted file mode 100644 index eb2ca8f9..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gmessages.h +++ /dev/null @@ -1,338 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_MESSAGES_H__ -#define __G_MESSAGES_H__ - -#include <stdarg.h> -#include <glib/gtypes.h> -#include <glib/gmacros.h> - -/* Suppress warnings when GCC is in -pedantic mode and not -std=c99 - */ -#if (__GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)) -#pragma GCC system_header -#endif - -G_BEGIN_DECLS - -/* calculate a string size, guaranteed to fit format + args. - */ -gsize g_printf_string_upper_bound (const gchar* format, - va_list args); - -/* Log level shift offset for user defined - * log levels (0-7 are used by GLib). - */ -#define G_LOG_LEVEL_USER_SHIFT (8) - -/* Glib log levels and flags. - */ -typedef enum -{ - /* log flags */ - G_LOG_FLAG_RECURSION = 1 << 0, - G_LOG_FLAG_FATAL = 1 << 1, - - /* GLib log levels */ - G_LOG_LEVEL_ERROR = 1 << 2, /* always fatal */ - G_LOG_LEVEL_CRITICAL = 1 << 3, - G_LOG_LEVEL_WARNING = 1 << 4, - G_LOG_LEVEL_MESSAGE = 1 << 5, - G_LOG_LEVEL_INFO = 1 << 6, - G_LOG_LEVEL_DEBUG = 1 << 7, - - G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL) -} GLogLevelFlags; - -/* GLib log levels that are considered fatal by default */ -#define G_LOG_FATAL_MASK (G_LOG_FLAG_RECURSION | G_LOG_LEVEL_ERROR) - -typedef void (*GLogFunc) (const gchar *log_domain, - GLogLevelFlags log_level, - const gchar *message, - gpointer user_data); - -/* Logging mechanism - */ -guint g_log_set_handler (const gchar *log_domain, - GLogLevelFlags log_levels, - GLogFunc log_func, - gpointer user_data); -void g_log_remove_handler (const gchar *log_domain, - guint handler_id); -void g_log_default_handler (const gchar *log_domain, - GLogLevelFlags log_level, - const gchar *message, - gpointer unused_data); -GLogFunc g_log_set_default_handler (GLogFunc log_func, - gpointer user_data); -void g_log (const gchar *log_domain, - GLogLevelFlags log_level, - const gchar *format, - ...) G_GNUC_PRINTF (3, 4); -void g_logv (const gchar *log_domain, - GLogLevelFlags log_level, - const gchar *format, - va_list args); -GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, - GLogLevelFlags fatal_mask); -GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask); - -/* internal */ -G_GNUC_INTERNAL void _g_log_fallback_handler (const gchar *log_domain, - GLogLevelFlags log_level, - const gchar *message, - gpointer unused_data); - -/* Internal functions, used to implement the following macros */ -void g_return_if_fail_warning (const char *log_domain, - const char *pretty_function, - const char *expression); -void g_warn_message (const char *domain, - const char *file, - int line, - const char *func, - const char *warnexpr); -#ifndef G_DISABLE_DEPRECATED -void g_assert_warning (const char *log_domain, - const char *file, - const int line, - const char *pretty_function, - const char *expression) G_GNUC_NORETURN; -#endif /* !G_DISABLE_DEPRECATED */ - - -#ifndef G_LOG_DOMAIN -#define G_LOG_DOMAIN ((gchar*) 0) -#endif /* G_LOG_DOMAIN */ -#ifdef G_HAVE_ISO_VARARGS -/* for(;;); so that GCC knows that control doesn't go past g_error() */ -#define g_error(...) G_STMT_START { \ - g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_ERROR, \ - __VA_ARGS__); \ - for (;;); \ - } G_STMT_END - -#define g_message(...) g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_MESSAGE, \ - __VA_ARGS__) -#define g_critical(...) g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_CRITICAL, \ - __VA_ARGS__) -#define g_warning(...) g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_WARNING, \ - __VA_ARGS__) -#define g_debug(...) g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_DEBUG, \ - __VA_ARGS__) -#elif defined(G_HAVE_GNUC_VARARGS) -#define g_error(format...) G_STMT_START { \ - g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_ERROR, \ - format); \ - for (;;); \ - } G_STMT_END - -#define g_message(format...) g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_MESSAGE, \ - format) -#define g_critical(format...) g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_CRITICAL, \ - format) -#define g_warning(format...) g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_WARNING, \ - format) -#define g_debug(format...) g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_DEBUG, \ - format) -#else /* no varargs macros */ -static void -g_error (const gchar *format, - ...) -{ - va_list args; - va_start (args, format); - g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args); - va_end (args); - - for(;;); -} -static void -g_message (const gchar *format, - ...) -{ - va_list args; - va_start (args, format); - g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, format, args); - va_end (args); -} -static void -g_critical (const gchar *format, - ...) -{ - va_list args; - va_start (args, format); - g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, format, args); - va_end (args); -} -static void -g_warning (const gchar *format, - ...) -{ - va_list args; - va_start (args, format); - g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, format, args); - va_end (args); -} -static void -g_debug (const gchar *format, - ...) -{ - va_list args; - va_start (args, format); - g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format, args); - va_end (args); -} -#endif /* !__GNUC__ */ - -typedef void (*GPrintFunc) (const gchar *string); -void g_print (const gchar *format, - ...) G_GNUC_PRINTF (1, 2); -GPrintFunc g_set_print_handler (GPrintFunc func); -void g_printerr (const gchar *format, - ...) G_GNUC_PRINTF (1, 2); -GPrintFunc g_set_printerr_handler (GPrintFunc func); - - -/* Provide macros for graceful error handling. - * The "return" macros will return from the current function. - * Two different definitions are given for the macros in - * order to support gcc's __PRETTY_FUNCTION__ capability. - */ - -#define g_warn_if_reached() do { g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, NULL); } while (0) -#define g_warn_if_fail(expr) do { if G_LIKELY (expr) ; else \ - g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #expr); } while (0) - -#ifdef G_DISABLE_CHECKS - -#define g_return_if_fail(expr) G_STMT_START{ (void)0; }G_STMT_END -#define g_return_val_if_fail(expr,val) G_STMT_START{ (void)0; }G_STMT_END -#define g_return_if_reached() G_STMT_START{ return; }G_STMT_END -#define g_return_val_if_reached(val) G_STMT_START{ return (val); }G_STMT_END - -#else /* !G_DISABLE_CHECKS */ - -#ifdef __GNUC__ - -#define g_return_if_fail(expr) G_STMT_START{ \ - if G_LIKELY(expr) { } else \ - { \ - g_return_if_fail_warning (G_LOG_DOMAIN, \ - __PRETTY_FUNCTION__, \ - #expr); \ - return; \ - }; }G_STMT_END - -#define g_return_val_if_fail(expr,val) G_STMT_START{ \ - if G_LIKELY(expr) { } else \ - { \ - g_return_if_fail_warning (G_LOG_DOMAIN, \ - __PRETTY_FUNCTION__, \ - #expr); \ - return (val); \ - }; }G_STMT_END - -#define g_return_if_reached() G_STMT_START{ \ - g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_CRITICAL, \ - "file %s: line %d (%s): should not be reached", \ - __FILE__, \ - __LINE__, \ - __PRETTY_FUNCTION__); \ - return; }G_STMT_END - -#define g_return_val_if_reached(val) G_STMT_START{ \ - g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_CRITICAL, \ - "file %s: line %d (%s): should not be reached", \ - __FILE__, \ - __LINE__, \ - __PRETTY_FUNCTION__); \ - return (val); }G_STMT_END - -#else /* !__GNUC__ */ - -#define g_return_if_fail(expr) G_STMT_START{ \ - if (expr) { } else \ - { \ - g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_CRITICAL, \ - "file %s: line %d: assertion `%s' failed", \ - __FILE__, \ - __LINE__, \ - #expr); \ - return; \ - }; }G_STMT_END - -#define g_return_val_if_fail(expr, val) G_STMT_START{ \ - if (expr) { } else \ - { \ - g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_CRITICAL, \ - "file %s: line %d: assertion `%s' failed", \ - __FILE__, \ - __LINE__, \ - #expr); \ - return (val); \ - }; }G_STMT_END - -#define g_return_if_reached() G_STMT_START{ \ - g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_CRITICAL, \ - "file %s: line %d: should not be reached", \ - __FILE__, \ - __LINE__); \ - return; }G_STMT_END - -#define g_return_val_if_reached(val) G_STMT_START{ \ - g_log (G_LOG_DOMAIN, \ - G_LOG_LEVEL_CRITICAL, \ - "file %s: line %d: should not be reached", \ - __FILE__, \ - __LINE__); \ - return (val); }G_STMT_END - -#endif /* !__GNUC__ */ - -#endif /* !G_DISABLE_CHECKS */ - -G_END_DECLS - -#endif /* __G_MESSAGES_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gnode.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gnode.h deleted file mode 100644 index e5b7ebc8..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gnode.h +++ /dev/null @@ -1,283 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_NODE_H__ -#define __G_NODE_H__ - -#include <glib/gmem.h> - -G_BEGIN_DECLS - -typedef struct _GNode GNode; - -/* Tree traverse flags */ -typedef enum -{ - G_TRAVERSE_LEAVES = 1 << 0, - G_TRAVERSE_NON_LEAVES = 1 << 1, - G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES, - G_TRAVERSE_MASK = 0x03, - G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES, - G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES -} GTraverseFlags; - -/* Tree traverse orders */ -typedef enum -{ - G_IN_ORDER, - G_PRE_ORDER, - G_POST_ORDER, - G_LEVEL_ORDER -} GTraverseType; - -typedef gboolean (*GNodeTraverseFunc) (GNode *node, - gpointer data); -typedef void (*GNodeForeachFunc) (GNode *node, - gpointer data); - -/** - * GCopyFunc: - * @src: A pointer to the data which should be copied - * @data: Additional data - * - * A function of this signature is used to copy the node data - * when doing a deep-copy of a tree. - * - * Returns: A pointer to the copy - * - * Since: 2.4 - */ -typedef gpointer (*GCopyFunc) (gconstpointer src, - gpointer data); - -/* N-way tree implementation - */ -struct _GNode -{ - gpointer data; - GNode *next; - GNode *prev; - GNode *parent; - GNode *children; -}; - -/** - * G_NODE_IS_ROOT: - * @node: a #GNode - * - * Returns %TRUE if a #GNode is the root of a tree. - * - * Returns: %TRUE if the #GNode is the root of a tree - * (i.e. it has no parent or siblings) - */ -#define G_NODE_IS_ROOT(node) (((GNode*) (node))->parent == NULL && \ - ((GNode*) (node))->prev == NULL && \ - ((GNode*) (node))->next == NULL) - -/** - * G_NODE_IS_LEAF: - * @node: a #GNode - * - * Returns %TRUE if a #GNode is a leaf node. - * - * Returns: %TRUE if the #GNode is a leaf node - * (i.e. it has no children) - */ -#define G_NODE_IS_LEAF(node) (((GNode*) (node))->children == NULL) - -GNode* g_node_new (gpointer data); -void g_node_destroy (GNode *root); -void g_node_unlink (GNode *node); -GNode* g_node_copy_deep (GNode *node, - GCopyFunc copy_func, - gpointer data); -GNode* g_node_copy (GNode *node); -GNode* g_node_insert (GNode *parent, - gint position, - GNode *node); -GNode* g_node_insert_before (GNode *parent, - GNode *sibling, - GNode *node); -GNode* g_node_insert_after (GNode *parent, - GNode *sibling, - GNode *node); -GNode* g_node_prepend (GNode *parent, - GNode *node); -guint g_node_n_nodes (GNode *root, - GTraverseFlags flags); -GNode* g_node_get_root (GNode *node); -gboolean g_node_is_ancestor (GNode *node, - GNode *descendant); -guint g_node_depth (GNode *node); -GNode* g_node_find (GNode *root, - GTraverseType order, - GTraverseFlags flags, - gpointer data); - -/* convenience macros */ -/** - * g_node_append: - * @parent: the #GNode to place the new #GNode under - * @node: the #GNode to insert - * - * Inserts a #GNode as the last child of the given parent. - * - * Returns: the inserted #GNode - */ -#define g_node_append(parent, node) \ - g_node_insert_before ((parent), NULL, (node)) - -/** - * g_node_insert_data: - * @parent: the #GNode to place the new #GNode under - * @position: the position to place the new #GNode at. If position is -1, - * the new #GNode is inserted as the last child of @parent - * @data: the data for the new #GNode - * - * Inserts a new #GNode at the given position. - * - * Returns: the new #GNode - */ -#define g_node_insert_data(parent, position, data) \ - g_node_insert ((parent), (position), g_node_new (data)) - -/** - * g_node_insert_data_before: - * @parent: the #GNode to place the new #GNode under - * @sibling: the sibling #GNode to place the new #GNode before - * @data: the data for the new #GNode - * - * Inserts a new #GNode before the given sibling. - * - * Returns: the new #GNode - */ -#define g_node_insert_data_before(parent, sibling, data) \ - g_node_insert_before ((parent), (sibling), g_node_new (data)) - -/** - * g_node_prepend_data: - * @parent: the #GNode to place the new #GNode under - * @data: the data for the new #GNode - * - * Inserts a new #GNode as the first child of the given parent. - * - * Returns: the new #GNode - */ -#define g_node_prepend_data(parent, data) \ - g_node_prepend ((parent), g_node_new (data)) - -/** - * g_node_append_data: - * @parent: the #GNode to place the new #GNode under - * @data: the data for the new #GNode - * - * Inserts a new #GNode as the last child of the given parent. - * - * Returns: the new #GNode - */ -#define g_node_append_data(parent, data) \ - g_node_insert_before ((parent), NULL, g_node_new (data)) - -/* traversal function, assumes that `node' is root - * (only traverses `node' and its subtree). - * this function is just a high level interface to - * low level traversal functions, optimized for speed. - */ -void g_node_traverse (GNode *root, - GTraverseType order, - GTraverseFlags flags, - gint max_depth, - GNodeTraverseFunc func, - gpointer data); - -/* return the maximum tree height starting with `node', this is an expensive - * operation, since we need to visit all nodes. this could be shortened by - * adding `guint height' to struct _GNode, but then again, this is not very - * often needed, and would make g_node_insert() more time consuming. - */ -guint g_node_max_height (GNode *root); - -void g_node_children_foreach (GNode *node, - GTraverseFlags flags, - GNodeForeachFunc func, - gpointer data); -void g_node_reverse_children (GNode *node); -guint g_node_n_children (GNode *node); -GNode* g_node_nth_child (GNode *node, - guint n); -GNode* g_node_last_child (GNode *node); -GNode* g_node_find_child (GNode *node, - GTraverseFlags flags, - gpointer data); -gint g_node_child_position (GNode *node, - GNode *child); -gint g_node_child_index (GNode *node, - gpointer data); - -GNode* g_node_first_sibling (GNode *node); -GNode* g_node_last_sibling (GNode *node); - -/** - * g_node_prev_sibling: - * @node: a #GNode - * - * Gets the previous sibling of a #GNode. - * - * Returns: the previous sibling of @node, or %NULL if @node is %NULL - */ -#define g_node_prev_sibling(node) ((node) ? \ - ((GNode*) (node))->prev : NULL) - -/** - * g_node_next_sibling: - * @node: a #GNode - * - * Gets the next sibling of a #GNode. - * - * Returns: the next sibling of @node, or %NULL if @node is %NULL - */ -#define g_node_next_sibling(node) ((node) ? \ - ((GNode*) (node))->next : NULL) - -/** - * g_node_first_child: - * @node: a #GNode - * - * Gets the first child of a #GNode. - * - * Returns: the first child of @node, or %NULL if @node is %NULL - * or has no children - */ -#define g_node_first_child(node) ((node) ? \ - ((GNode*) (node))->children : NULL) - -#ifndef G_DISABLE_DEPRECATED -void g_node_push_allocator (gpointer dummy); -void g_node_pop_allocator (void); -#endif -G_END_DECLS - -#endif /* __G_NODE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/goption.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/goption.h deleted file mode 100644 index 908e5319..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/goption.h +++ /dev/null @@ -1,160 +0,0 @@ -/* goption.h - Option parser - * - * Copyright (C) 2004 Anders Carlsson <andersca@gnome.org> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library 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 __G_OPTION_H__ -#define __G_OPTION_H__ - -#include <glib/gerror.h> -#include <glib/gquark.h> - -G_BEGIN_DECLS - -typedef struct _GOptionContext GOptionContext; -typedef struct _GOptionGroup GOptionGroup; -typedef struct _GOptionEntry GOptionEntry; - -typedef enum -{ - G_OPTION_FLAG_HIDDEN = 1 << 0, - G_OPTION_FLAG_IN_MAIN = 1 << 1, - G_OPTION_FLAG_REVERSE = 1 << 2, - G_OPTION_FLAG_NO_ARG = 1 << 3, - G_OPTION_FLAG_FILENAME = 1 << 4, - G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5, - G_OPTION_FLAG_NOALIAS = 1 << 6 -} GOptionFlags; - -typedef enum -{ - G_OPTION_ARG_NONE, - G_OPTION_ARG_STRING, - G_OPTION_ARG_INT, - G_OPTION_ARG_CALLBACK, - G_OPTION_ARG_FILENAME, - G_OPTION_ARG_STRING_ARRAY, - G_OPTION_ARG_FILENAME_ARRAY, - G_OPTION_ARG_DOUBLE, - G_OPTION_ARG_INT64 -} GOptionArg; - -typedef gboolean (*GOptionArgFunc) (const gchar *option_name, - const gchar *value, - gpointer data, - GError **error); - -typedef gboolean (*GOptionParseFunc) (GOptionContext *context, - GOptionGroup *group, - gpointer data, - GError **error); - -typedef void (*GOptionErrorFunc) (GOptionContext *context, - GOptionGroup *group, - gpointer data, - GError **error); - -#define G_OPTION_ERROR (g_option_error_quark ()) - -typedef enum -{ - G_OPTION_ERROR_UNKNOWN_OPTION, - G_OPTION_ERROR_BAD_VALUE, - G_OPTION_ERROR_FAILED -} GOptionError; - -GQuark g_option_error_quark (void); - - -struct _GOptionEntry -{ - const gchar *long_name; - gchar short_name; - gint flags; - - GOptionArg arg; - gpointer arg_data; - - const gchar *description; - const gchar *arg_description; -}; - -#define G_OPTION_REMAINING "" - -GOptionContext *g_option_context_new (const gchar *parameter_string); -void g_option_context_set_summary (GOptionContext *context, - const gchar *summary); -G_CONST_RETURN gchar *g_option_context_get_summary (GOptionContext *context); -void g_option_context_set_description (GOptionContext *context, - const gchar *description); -G_CONST_RETURN gchar *g_option_context_get_description (GOptionContext *context); -void g_option_context_free (GOptionContext *context); -void g_option_context_set_help_enabled (GOptionContext *context, - gboolean help_enabled); -gboolean g_option_context_get_help_enabled (GOptionContext *context); -void g_option_context_set_ignore_unknown_options (GOptionContext *context, - gboolean ignore_unknown); -gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context); - -void g_option_context_add_main_entries (GOptionContext *context, - const GOptionEntry *entries, - const gchar *translation_domain); -gboolean g_option_context_parse (GOptionContext *context, - gint *argc, - gchar ***argv, - GError **error); -void g_option_context_set_translate_func (GOptionContext *context, - GTranslateFunc func, - gpointer data, - GDestroyNotify destroy_notify); -void g_option_context_set_translation_domain (GOptionContext *context, - const gchar *domain); - -void g_option_context_add_group (GOptionContext *context, - GOptionGroup *group); -void g_option_context_set_main_group (GOptionContext *context, - GOptionGroup *group); -GOptionGroup *g_option_context_get_main_group (GOptionContext *context); -gchar *g_option_context_get_help (GOptionContext *context, - gboolean main_help, - GOptionGroup *group); - -GOptionGroup *g_option_group_new (const gchar *name, - const gchar *description, - const gchar *help_description, - gpointer user_data, - GDestroyNotify destroy); -void g_option_group_set_parse_hooks (GOptionGroup *group, - GOptionParseFunc pre_parse_func, - GOptionParseFunc post_parse_func); -void g_option_group_set_error_hook (GOptionGroup *group, - GOptionErrorFunc error_func); -void g_option_group_free (GOptionGroup *group); -void g_option_group_add_entries (GOptionGroup *group, - const GOptionEntry *entries); -void g_option_group_set_translate_func (GOptionGroup *group, - GTranslateFunc func, - gpointer data, - GDestroyNotify destroy_notify); -void g_option_group_set_translation_domain (GOptionGroup *group, - const gchar *domain); - - -G_END_DECLS - -#endif /* __G_OPTION_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gpattern.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gpattern.h deleted file mode 100644 index 5c896687..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gpattern.h +++ /dev/null @@ -1,44 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997, 1999 Peter Mattis, 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 __G_PATTERN_H__ -#define __G_PATTERN_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - - -typedef struct _GPatternSpec GPatternSpec; - -GPatternSpec* g_pattern_spec_new (const gchar *pattern); -void g_pattern_spec_free (GPatternSpec *pspec); -gboolean g_pattern_spec_equal (GPatternSpec *pspec1, - GPatternSpec *pspec2); -gboolean g_pattern_match (GPatternSpec *pspec, - guint string_length, - const gchar *string, - const gchar *string_reversed); -gboolean g_pattern_match_string (GPatternSpec *pspec, - const gchar *string); -gboolean g_pattern_match_simple (const gchar *pattern, - const gchar *string); - -G_END_DECLS - -#endif /* __G_PATTERN_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gprimes.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gprimes.h deleted file mode 100644 index 0f1740cb..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gprimes.h +++ /dev/null @@ -1,47 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_PRIMES_H__ -#define __G_PRIMES_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -/* Prime numbers. - */ - -/* This function returns prime numbers spaced by approximately 1.5-2.0 - * and is for use in resizing data structures which prefer - * prime-valued sizes. The closest spaced prime function returns the - * next largest prime, or the highest it knows about which is about - * MAXINT/4. - */ -guint g_spaced_primes_closest (guint num) G_GNUC_CONST; - -G_END_DECLS - -#endif /* __G_PRIMES_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gprintf.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gprintf.h deleted file mode 100644 index aa542b3d..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gprintf.h +++ /dev/null @@ -1,54 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997, 2002 Peter Mattis, 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 __G_PRINTF_H__ -#define __G_PRINTF_H__ - -#include <glib/gtypes.h> -#include <stdio.h> -#include <stdarg.h> - -G_BEGIN_DECLS - -gint g_printf (gchar const *format, - ...) G_GNUC_PRINTF (1, 2); -gint g_fprintf (FILE *file, - gchar const *format, - ...) G_GNUC_PRINTF (2, 3); -gint g_sprintf (gchar *string, - gchar const *format, - ...) G_GNUC_PRINTF (2, 3); - -gint g_vprintf (gchar const *format, - va_list args); -gint g_vfprintf (FILE *file, - gchar const *format, - va_list args); -gint g_vsprintf (gchar *string, - gchar const *format, - va_list args); -gint g_vasprintf (gchar **string, - gchar const *format, - va_list args); - -G_END_DECLS - -#endif /* __G_PRINTF_H__ */ - - - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gqsort.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gqsort.h deleted file mode 100644 index d0ff46a4..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gqsort.h +++ /dev/null @@ -1,44 +0,0 @@ - /* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - - -#ifndef __G_QSORT_H__ -#define __G_QSORT_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -void g_qsort_with_data (gconstpointer pbase, - gint total_elems, - gsize size, - GCompareDataFunc compare_func, - gpointer user_data); - -G_END_DECLS - -#endif /* __G_QSORT_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gquark.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gquark.h deleted file mode 100644 index fc3006ff..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gquark.h +++ /dev/null @@ -1,50 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_QUARK_H__ -#define __G_QUARK_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -typedef guint32 GQuark; - -/* Quarks (string<->id association) - */ -GQuark g_quark_try_string (const gchar *string); -GQuark g_quark_from_static_string (const gchar *string); -GQuark g_quark_from_string (const gchar *string); -G_CONST_RETURN gchar* g_quark_to_string (GQuark quark) G_GNUC_CONST; - -G_CONST_RETURN gchar* g_intern_string (const gchar *string); -G_CONST_RETURN gchar* g_intern_static_string (const gchar *string); - - -G_END_DECLS - -#endif /* __G_QUARK_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gqueue.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gqueue.h deleted file mode 100644 index c4004514..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gqueue.h +++ /dev/null @@ -1,123 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_QUEUE_H__ -#define __G_QUEUE_H__ - -#include <glib/glist.h> - -G_BEGIN_DECLS - -typedef struct _GQueue GQueue; - -struct _GQueue -{ - GList *head; - GList *tail; - guint length; -}; - -#define G_QUEUE_INIT { NULL, NULL, 0 } - -/* Queues - */ -GQueue* g_queue_new (void); -void g_queue_free (GQueue *queue); -void g_queue_init (GQueue *queue); -void g_queue_clear (GQueue *queue); -gboolean g_queue_is_empty (GQueue *queue); -guint g_queue_get_length (GQueue *queue); -void g_queue_reverse (GQueue *queue); -GQueue * g_queue_copy (GQueue *queue); -void g_queue_foreach (GQueue *queue, - GFunc func, - gpointer user_data); -GList * g_queue_find (GQueue *queue, - gconstpointer data); -GList * g_queue_find_custom (GQueue *queue, - gconstpointer data, - GCompareFunc func); -void g_queue_sort (GQueue *queue, - GCompareDataFunc compare_func, - gpointer user_data); - -void g_queue_push_head (GQueue *queue, - gpointer data); -void g_queue_push_tail (GQueue *queue, - gpointer data); -void g_queue_push_nth (GQueue *queue, - gpointer data, - gint n); -gpointer g_queue_pop_head (GQueue *queue); -gpointer g_queue_pop_tail (GQueue *queue); -gpointer g_queue_pop_nth (GQueue *queue, - guint n); -gpointer g_queue_peek_head (GQueue *queue); -gpointer g_queue_peek_tail (GQueue *queue); -gpointer g_queue_peek_nth (GQueue *queue, - guint n); -gint g_queue_index (GQueue *queue, - gconstpointer data); -void g_queue_remove (GQueue *queue, - gconstpointer data); -void g_queue_remove_all (GQueue *queue, - gconstpointer data); -void g_queue_insert_before (GQueue *queue, - GList *sibling, - gpointer data); -void g_queue_insert_after (GQueue *queue, - GList *sibling, - gpointer data); -void g_queue_insert_sorted (GQueue *queue, - gpointer data, - GCompareDataFunc func, - gpointer user_data); - -void g_queue_push_head_link (GQueue *queue, - GList *link_); -void g_queue_push_tail_link (GQueue *queue, - GList *link_); -void g_queue_push_nth_link (GQueue *queue, - gint n, - GList *link_); -GList* g_queue_pop_head_link (GQueue *queue); -GList* g_queue_pop_tail_link (GQueue *queue); -GList* g_queue_pop_nth_link (GQueue *queue, - guint n); -GList* g_queue_peek_head_link (GQueue *queue); -GList* g_queue_peek_tail_link (GQueue *queue); -GList* g_queue_peek_nth_link (GQueue *queue, - guint n); -gint g_queue_link_index (GQueue *queue, - GList *link_); -void g_queue_unlink (GQueue *queue, - GList *link_); -void g_queue_delete_link (GQueue *queue, - GList *link_); - -G_END_DECLS - -#endif /* __G_QUEUE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/grand.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/grand.h deleted file mode 100644 index cb6887bc..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/grand.h +++ /dev/null @@ -1,87 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_RAND_H__ -#define __G_RAND_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -typedef struct _GRand GRand; - -/* GRand - a good and fast random number generator: Mersenne Twister - * see http://www.math.keio.ac.jp/~matumoto/emt.html for more info. - * The range functions return a value in the intervall [begin, end). - * int -> [0..2^32-1] - * int_range -> [begin..end-1] - * double -> [0..1) - * double_range -> [begin..end) - */ - -GRand* g_rand_new_with_seed (guint32 seed); -GRand* g_rand_new_with_seed_array (const guint32 *seed, - guint seed_length); -GRand* g_rand_new (void); -void g_rand_free (GRand *rand_); -GRand* g_rand_copy (GRand *rand_); -void g_rand_set_seed (GRand *rand_, - guint32 seed); -void g_rand_set_seed_array (GRand *rand_, - const guint32 *seed, - guint seed_length); - -#define g_rand_boolean(rand_) ((g_rand_int (rand_) & (1 << 15)) != 0) - -guint32 g_rand_int (GRand *rand_); -gint32 g_rand_int_range (GRand *rand_, - gint32 begin, - gint32 end); -gdouble g_rand_double (GRand *rand_); -gdouble g_rand_double_range (GRand *rand_, - gdouble begin, - gdouble end); -void g_random_set_seed (guint32 seed); - -#define g_random_boolean() ((g_random_int () & (1 << 15)) != 0) - -guint32 g_random_int (void); -gint32 g_random_int_range (gint32 begin, - gint32 end); -gdouble g_random_double (void); -gdouble g_random_double_range (gdouble begin, - gdouble end); - - -G_END_DECLS - -#endif /* __G_RAND_H__ */ - - - - - - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gregex.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gregex.h deleted file mode 100644 index c60b447f..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gregex.h +++ /dev/null @@ -1,240 +0,0 @@ -/* GRegex -- regular expression API wrapper around PCRE. - * - * Copyright (C) 1999, 2000 Scott Wimer - * Copyright (C) 2004, Matthias Clasen <mclasen@redhat.com> - * Copyright (C) 2005 - 2007, Marco Barisione <marco@barisione.org> - * - * 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.1 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef __G_REGEX_H__ -#define __G_REGEX_H__ - -#include <glib/gerror.h> -#include <glib/gstring.h> - -G_BEGIN_DECLS - -typedef enum -{ - G_REGEX_ERROR_COMPILE, - G_REGEX_ERROR_OPTIMIZE, - G_REGEX_ERROR_REPLACE, - G_REGEX_ERROR_MATCH, - G_REGEX_ERROR_INTERNAL, - - /* These are the error codes from PCRE + 100 */ - G_REGEX_ERROR_STRAY_BACKSLASH = 101, - G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102, - G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103, - G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104, - G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105, - G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106, - G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107, - G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108, - G_REGEX_ERROR_NOTHING_TO_REPEAT = 109, - G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112, - G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113, - G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114, - G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115, - G_REGEX_ERROR_UNTERMINATED_COMMENT = 118, - G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120, - G_REGEX_ERROR_MEMORY_ERROR = 121, - G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125, - G_REGEX_ERROR_MALFORMED_CONDITION = 126, - G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127, - G_REGEX_ERROR_ASSERTION_EXPECTED = 128, - G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130, - G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131, - G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134, - G_REGEX_ERROR_INVALID_CONDITION = 135, - G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136, - G_REGEX_ERROR_INFINITE_LOOP = 140, - G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142, - G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143, - G_REGEX_ERROR_MALFORMED_PROPERTY = 146, - G_REGEX_ERROR_UNKNOWN_PROPERTY = 147, - G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148, - G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149, - G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151, - G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154, - G_REGEX_ERROR_DEFINE_REPETION = 155, - G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156, - G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157 -} GRegexError; - -#define G_REGEX_ERROR g_regex_error_quark () - -GQuark g_regex_error_quark (void); - -/* Remember to update G_REGEX_COMPILE_MASK in gregex.c after - * adding a new flag. */ -typedef enum -{ - G_REGEX_CASELESS = 1 << 0, - G_REGEX_MULTILINE = 1 << 1, - G_REGEX_DOTALL = 1 << 2, - G_REGEX_EXTENDED = 1 << 3, - G_REGEX_ANCHORED = 1 << 4, - G_REGEX_DOLLAR_ENDONLY = 1 << 5, - G_REGEX_UNGREEDY = 1 << 9, - G_REGEX_RAW = 1 << 11, - G_REGEX_NO_AUTO_CAPTURE = 1 << 12, - G_REGEX_OPTIMIZE = 1 << 13, - G_REGEX_DUPNAMES = 1 << 19, - G_REGEX_NEWLINE_CR = 1 << 20, - G_REGEX_NEWLINE_LF = 1 << 21, - G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF -} GRegexCompileFlags; - -/* Remember to update G_REGEX_MATCH_MASK in gregex.c after - * adding a new flag. */ -typedef enum -{ - G_REGEX_MATCH_ANCHORED = 1 << 4, - G_REGEX_MATCH_NOTBOL = 1 << 7, - G_REGEX_MATCH_NOTEOL = 1 << 8, - G_REGEX_MATCH_NOTEMPTY = 1 << 10, - G_REGEX_MATCH_PARTIAL = 1 << 15, - G_REGEX_MATCH_NEWLINE_CR = 1 << 20, - G_REGEX_MATCH_NEWLINE_LF = 1 << 21, - G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF, - G_REGEX_MATCH_NEWLINE_ANY = 1 << 22 -} GRegexMatchFlags; - -typedef struct _GRegex GRegex; -typedef struct _GMatchInfo GMatchInfo; - -typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info, - GString *result, - gpointer user_data); - - -GRegex *g_regex_new (const gchar *pattern, - GRegexCompileFlags compile_options, - GRegexMatchFlags match_options, - GError **error); -GRegex *g_regex_ref (GRegex *regex); -void g_regex_unref (GRegex *regex); -const gchar *g_regex_get_pattern (const GRegex *regex); -gint g_regex_get_max_backref (const GRegex *regex); -gint g_regex_get_capture_count (const GRegex *regex); -gint g_regex_get_string_number (const GRegex *regex, - const gchar *name); -gchar *g_regex_escape_string (const gchar *string, - gint length); - -/* Matching. */ -gboolean g_regex_match_simple (const gchar *pattern, - const gchar *string, - GRegexCompileFlags compile_options, - GRegexMatchFlags match_options); -gboolean g_regex_match (const GRegex *regex, - const gchar *string, - GRegexMatchFlags match_options, - GMatchInfo **match_info); -gboolean g_regex_match_full (const GRegex *regex, - const gchar *string, - gssize string_len, - gint start_position, - GRegexMatchFlags match_options, - GMatchInfo **match_info, - GError **error); -gboolean g_regex_match_all (const GRegex *regex, - const gchar *string, - GRegexMatchFlags match_options, - GMatchInfo **match_info); -gboolean g_regex_match_all_full (const GRegex *regex, - const gchar *string, - gssize string_len, - gint start_position, - GRegexMatchFlags match_options, - GMatchInfo **match_info, - GError **error); - -/* String splitting. */ -gchar **g_regex_split_simple (const gchar *pattern, - const gchar *string, - GRegexCompileFlags compile_options, - GRegexMatchFlags match_options); -gchar **g_regex_split (const GRegex *regex, - const gchar *string, - GRegexMatchFlags match_options); -gchar **g_regex_split_full (const GRegex *regex, - const gchar *string, - gssize string_len, - gint start_position, - GRegexMatchFlags match_options, - gint max_tokens, - GError **error); - -/* String replacement. */ -gchar *g_regex_replace (const GRegex *regex, - const gchar *string, - gssize string_len, - gint start_position, - const gchar *replacement, - GRegexMatchFlags match_options, - GError **error); -gchar *g_regex_replace_literal (const GRegex *regex, - const gchar *string, - gssize string_len, - gint start_position, - const gchar *replacement, - GRegexMatchFlags match_options, - GError **error); -gchar *g_regex_replace_eval (const GRegex *regex, - const gchar *string, - gssize string_len, - gint start_position, - GRegexMatchFlags match_options, - GRegexEvalCallback eval, - gpointer user_data, - GError **error); -gboolean g_regex_check_replacement (const gchar *replacement, - gboolean *has_references, - GError **error); - -/* Match info */ -GRegex *g_match_info_get_regex (const GMatchInfo *match_info); -const gchar *g_match_info_get_string (const GMatchInfo *match_info); - -void g_match_info_free (GMatchInfo *match_info); -gboolean g_match_info_next (GMatchInfo *match_info, - GError **error); -gboolean g_match_info_matches (const GMatchInfo *match_info); -gint g_match_info_get_match_count (const GMatchInfo *match_info); -gboolean g_match_info_is_partial_match (const GMatchInfo *match_info); -gchar *g_match_info_expand_references(const GMatchInfo *match_info, - const gchar *string_to_expand, - GError **error); -gchar *g_match_info_fetch (const GMatchInfo *match_info, - gint match_num); -gboolean g_match_info_fetch_pos (const GMatchInfo *match_info, - gint match_num, - gint *start_pos, - gint *end_pos); -gchar *g_match_info_fetch_named (const GMatchInfo *match_info, - const gchar *name); -gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info, - const gchar *name, - gint *start_pos, - gint *end_pos); -gchar **g_match_info_fetch_all (const GMatchInfo *match_info); - -G_END_DECLS - - -#endif /* __G_REGEX_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/grel.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/grel.h deleted file mode 100644 index 275f0549..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/grel.h +++ /dev/null @@ -1,94 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_REL_H__ -#define __G_REL_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -typedef struct _GRelation GRelation; -typedef struct _GTuples GTuples; - -struct _GTuples -{ - guint len; -}; - -/* GRelation - * - * Indexed Relations. Imagine a really simple table in a - * database. Relations are not ordered. This data type is meant for - * maintaining a N-way mapping. - * - * g_relation_new() creates a relation with FIELDS fields - * - * g_relation_destroy() frees all resources - * g_tuples_destroy() frees the result of g_relation_select() - * - * g_relation_index() indexes relation FIELD with the provided - * equality and hash functions. this must be done before any - * calls to insert are made. - * - * g_relation_insert() inserts a new tuple. you are expected to - * provide the right number of fields. - * - * g_relation_delete() deletes all relations with KEY in FIELD - * g_relation_select() returns ... - * g_relation_count() counts ... - */ - -GRelation* g_relation_new (gint fields); -void g_relation_destroy (GRelation *relation); -void g_relation_index (GRelation *relation, - gint field, - GHashFunc hash_func, - GEqualFunc key_equal_func); -void g_relation_insert (GRelation *relation, - ...); -gint g_relation_delete (GRelation *relation, - gconstpointer key, - gint field); -GTuples* g_relation_select (GRelation *relation, - gconstpointer key, - gint field); -gint g_relation_count (GRelation *relation, - gconstpointer key, - gint field); -gboolean g_relation_exists (GRelation *relation, - ...); -void g_relation_print (GRelation *relation); - -void g_tuples_destroy (GTuples *tuples); -gpointer g_tuples_index (GTuples *tuples, - gint index_, - gint field); - -G_END_DECLS - -#endif /* __G_REL_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gscanner.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gscanner.h deleted file mode 100644 index a61c0a5b..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gscanner.h +++ /dev/null @@ -1,275 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_SCANNER_H__ -#define __G_SCANNER_H__ - -#include <glib/gdataset.h> -#include <glib/ghash.h> - -G_BEGIN_DECLS - -typedef struct _GScanner GScanner; -typedef struct _GScannerConfig GScannerConfig; -typedef union _GTokenValue GTokenValue; - -typedef void (*GScannerMsgFunc) (GScanner *scanner, - gchar *message, - gboolean error); - -/* GScanner: Flexible lexical scanner for general purpose. - */ - -/* Character sets */ -#define G_CSET_A_2_Z "ABCDEFGHIJKLMNOPQRSTUVWXYZ" -#define G_CSET_a_2_z "abcdefghijklmnopqrstuvwxyz" -#define G_CSET_DIGITS "0123456789" -#define G_CSET_LATINC "\300\301\302\303\304\305\306"\ - "\307\310\311\312\313\314\315\316\317\320"\ - "\321\322\323\324\325\326"\ - "\330\331\332\333\334\335\336" -#define G_CSET_LATINS "\337\340\341\342\343\344\345\346"\ - "\347\350\351\352\353\354\355\356\357\360"\ - "\361\362\363\364\365\366"\ - "\370\371\372\373\374\375\376\377" - -/* Error types */ -typedef enum -{ - G_ERR_UNKNOWN, - G_ERR_UNEXP_EOF, - G_ERR_UNEXP_EOF_IN_STRING, - G_ERR_UNEXP_EOF_IN_COMMENT, - G_ERR_NON_DIGIT_IN_CONST, - G_ERR_DIGIT_RADIX, - G_ERR_FLOAT_RADIX, - G_ERR_FLOAT_MALFORMED -} GErrorType; - -/* Token types */ -typedef enum -{ - G_TOKEN_EOF = 0, - - G_TOKEN_LEFT_PAREN = '(', - G_TOKEN_RIGHT_PAREN = ')', - G_TOKEN_LEFT_CURLY = '{', - G_TOKEN_RIGHT_CURLY = '}', - G_TOKEN_LEFT_BRACE = '[', - G_TOKEN_RIGHT_BRACE = ']', - G_TOKEN_EQUAL_SIGN = '=', - G_TOKEN_COMMA = ',', - - G_TOKEN_NONE = 256, - - G_TOKEN_ERROR, - - G_TOKEN_CHAR, - G_TOKEN_BINARY, - G_TOKEN_OCTAL, - G_TOKEN_INT, - G_TOKEN_HEX, - G_TOKEN_FLOAT, - G_TOKEN_STRING, - - G_TOKEN_SYMBOL, - G_TOKEN_IDENTIFIER, - G_TOKEN_IDENTIFIER_NULL, - - G_TOKEN_COMMENT_SINGLE, - G_TOKEN_COMMENT_MULTI, - G_TOKEN_LAST -} GTokenType; - -union _GTokenValue -{ - gpointer v_symbol; - gchar *v_identifier; - gulong v_binary; - gulong v_octal; - gulong v_int; - guint64 v_int64; - gdouble v_float; - gulong v_hex; - gchar *v_string; - gchar *v_comment; - guchar v_char; - guint v_error; -}; - -struct _GScannerConfig -{ - /* Character sets - */ - gchar *cset_skip_characters; /* default: " \t\n" */ - gchar *cset_identifier_first; - gchar *cset_identifier_nth; - gchar *cpair_comment_single; /* default: "#\n" */ - - /* Should symbol lookup work case sensitive? - */ - guint case_sensitive : 1; - - /* Boolean values to be adjusted "on the fly" - * to configure scanning behaviour. - */ - guint skip_comment_multi : 1; /* C like comment */ - guint skip_comment_single : 1; /* single line comment */ - guint scan_comment_multi : 1; /* scan multi line comments? */ - guint scan_identifier : 1; - guint scan_identifier_1char : 1; - guint scan_identifier_NULL : 1; - guint scan_symbols : 1; - guint scan_binary : 1; - guint scan_octal : 1; - guint scan_float : 1; - guint scan_hex : 1; /* `0x0ff0' */ - guint scan_hex_dollar : 1; /* `$0ff0' */ - guint scan_string_sq : 1; /* string: 'anything' */ - guint scan_string_dq : 1; /* string: "\\-escapes!\n" */ - guint numbers_2_int : 1; /* bin, octal, hex => int */ - guint int_2_float : 1; /* int => G_TOKEN_FLOAT? */ - guint identifier_2_string : 1; - guint char_2_token : 1; /* return G_TOKEN_CHAR? */ - guint symbol_2_token : 1; - guint scope_0_fallback : 1; /* try scope 0 on lookups? */ - guint store_int64 : 1; /* use value.v_int64 rather than v_int */ - guint padding_dummy; -}; - -struct _GScanner -{ - /* unused fields */ - gpointer user_data; - guint max_parse_errors; - - /* g_scanner_error() increments this field */ - guint parse_errors; - - /* name of input stream, featured by the default message handler */ - const gchar *input_name; - - /* quarked data */ - GData *qdata; - - /* link into the scanner configuration */ - GScannerConfig *config; - - /* fields filled in after g_scanner_get_next_token() */ - GTokenType token; - GTokenValue value; - guint line; - guint position; - - /* fields filled in after g_scanner_peek_next_token() */ - GTokenType next_token; - GTokenValue next_value; - guint next_line; - guint next_position; - - /* to be considered private */ - GHashTable *symbol_table; - gint input_fd; - const gchar *text; - const gchar *text_end; - gchar *buffer; - guint scope_id; - - /* handler function for _warn and _error */ - GScannerMsgFunc msg_handler; -}; - -GScanner* g_scanner_new (const GScannerConfig *config_templ); -void g_scanner_destroy (GScanner *scanner); -void g_scanner_input_file (GScanner *scanner, - gint input_fd); -void g_scanner_sync_file_offset (GScanner *scanner); -void g_scanner_input_text (GScanner *scanner, - const gchar *text, - guint text_len); -GTokenType g_scanner_get_next_token (GScanner *scanner); -GTokenType g_scanner_peek_next_token (GScanner *scanner); -GTokenType g_scanner_cur_token (GScanner *scanner); -GTokenValue g_scanner_cur_value (GScanner *scanner); -guint g_scanner_cur_line (GScanner *scanner); -guint g_scanner_cur_position (GScanner *scanner); -gboolean g_scanner_eof (GScanner *scanner); -guint g_scanner_set_scope (GScanner *scanner, - guint scope_id); -void g_scanner_scope_add_symbol (GScanner *scanner, - guint scope_id, - const gchar *symbol, - gpointer value); -void g_scanner_scope_remove_symbol (GScanner *scanner, - guint scope_id, - const gchar *symbol); -gpointer g_scanner_scope_lookup_symbol (GScanner *scanner, - guint scope_id, - const gchar *symbol); -void g_scanner_scope_foreach_symbol (GScanner *scanner, - guint scope_id, - GHFunc func, - gpointer user_data); -gpointer g_scanner_lookup_symbol (GScanner *scanner, - const gchar *symbol); -void g_scanner_unexp_token (GScanner *scanner, - GTokenType expected_token, - const gchar *identifier_spec, - const gchar *symbol_spec, - const gchar *symbol_name, - const gchar *message, - gint is_error); -void g_scanner_error (GScanner *scanner, - const gchar *format, - ...) G_GNUC_PRINTF (2,3); -void g_scanner_warn (GScanner *scanner, - const gchar *format, - ...) G_GNUC_PRINTF (2,3); - -#ifndef G_DISABLE_DEPRECATED - -/* keep downward source compatibility */ -#define g_scanner_add_symbol( scanner, symbol, value ) G_STMT_START { \ - g_scanner_scope_add_symbol ((scanner), 0, (symbol), (value)); \ -} G_STMT_END -#define g_scanner_remove_symbol( scanner, symbol ) G_STMT_START { \ - g_scanner_scope_remove_symbol ((scanner), 0, (symbol)); \ -} G_STMT_END -#define g_scanner_foreach_symbol( scanner, func, data ) G_STMT_START { \ - g_scanner_scope_foreach_symbol ((scanner), 0, (func), (data)); \ -} G_STMT_END - -/* The following two functions are deprecated and will be removed in - * the next major release. They do no good. */ -#define g_scanner_freeze_symbol_table(scanner) ((void)0) -#define g_scanner_thaw_symbol_table(scanner) ((void)0) - -#endif /* G_DISABLE_DEPRECATED */ - -G_END_DECLS - -#endif /* __G_SCANNER_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gsequence.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gsequence.h deleted file mode 100644 index ffac6c62..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gsequence.h +++ /dev/null @@ -1,121 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 - * Soeren Sandmann (sandmann@daimi.au.dk) - * - * 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. - */ - -#include <glib/gtypes.h> - -#ifndef __G_SEQUENCE_H__ -#define __G_SEQUENCE_H__ - -typedef struct _GSequence GSequence; -typedef struct _GSequenceNode GSequenceIter; - -typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a, - GSequenceIter *b, - gpointer data); - - -/* GSequence */ -GSequence * g_sequence_new (GDestroyNotify data_destroy); -void g_sequence_free (GSequence *seq); -gint g_sequence_get_length (GSequence *seq); -void g_sequence_foreach (GSequence *seq, - GFunc func, - gpointer user_data); -void g_sequence_foreach_range (GSequenceIter *begin, - GSequenceIter *end, - GFunc func, - gpointer user_data); -void g_sequence_sort (GSequence *seq, - GCompareDataFunc cmp_func, - gpointer cmp_data); -void g_sequence_sort_iter (GSequence *seq, - GSequenceIterCompareFunc cmp_func, - gpointer cmp_data); - - -/* Getting iters */ -GSequenceIter *g_sequence_get_begin_iter (GSequence *seq); -GSequenceIter *g_sequence_get_end_iter (GSequence *seq); -GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq, - gint pos); -GSequenceIter *g_sequence_append (GSequence *seq, - gpointer data); -GSequenceIter *g_sequence_prepend (GSequence *seq, - gpointer data); -GSequenceIter *g_sequence_insert_before (GSequenceIter *iter, - gpointer data); -void g_sequence_move (GSequenceIter *src, - GSequenceIter *dest); -void g_sequence_swap (GSequenceIter *a, - GSequenceIter *b); -GSequenceIter *g_sequence_insert_sorted (GSequence *seq, - gpointer data, - GCompareDataFunc cmp_func, - gpointer cmp_data); -GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq, - gpointer data, - GSequenceIterCompareFunc iter_cmp, - gpointer cmp_data); -void g_sequence_sort_changed (GSequenceIter *iter, - GCompareDataFunc cmp_func, - gpointer cmp_data); -void g_sequence_sort_changed_iter (GSequenceIter *iter, - GSequenceIterCompareFunc iter_cmp, - gpointer cmp_data); -void g_sequence_remove (GSequenceIter *iter); -void g_sequence_remove_range (GSequenceIter *begin, - GSequenceIter *end); -void g_sequence_move_range (GSequenceIter *dest, - GSequenceIter *begin, - GSequenceIter *end); -GSequenceIter *g_sequence_search (GSequence *seq, - gpointer data, - GCompareDataFunc cmp_func, - gpointer cmp_data); -GSequenceIter *g_sequence_search_iter (GSequence *seq, - gpointer data, - GSequenceIterCompareFunc iter_cmp, - gpointer cmp_data); - - -/* Dereferencing */ -gpointer g_sequence_get (GSequenceIter *iter); -void g_sequence_set (GSequenceIter *iter, - gpointer data); - -/* Operations on GSequenceIter * */ -gboolean g_sequence_iter_is_begin (GSequenceIter *iter); -gboolean g_sequence_iter_is_end (GSequenceIter *iter); -GSequenceIter *g_sequence_iter_next (GSequenceIter *iter); -GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter); -gint g_sequence_iter_get_position (GSequenceIter *iter); -GSequenceIter *g_sequence_iter_move (GSequenceIter *iter, - gint delta); -GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter); - - -/* Search */ -gint g_sequence_iter_compare (GSequenceIter *a, - GSequenceIter *b); -GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin, - GSequenceIter *end); - - -#endif /* __G_SEQUENCE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gshell.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gshell.h deleted file mode 100644 index b3f9d914..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gshell.h +++ /dev/null @@ -1,53 +0,0 @@ -/* gshell.h - Shell-related utilities - * - * Copyright 2000 Red Hat, Inc. - * - * GLib 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. - * - * GLib 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 GLib; see the file COPYING.LIB. If not, write - * to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __G_SHELL_H__ -#define __G_SHELL_H__ - -#include <glib/gerror.h> - -G_BEGIN_DECLS - -#define G_SHELL_ERROR g_shell_error_quark () - -typedef enum -{ - /* mismatched or otherwise mangled quoting */ - G_SHELL_ERROR_BAD_QUOTING, - /* string to be parsed was empty */ - G_SHELL_ERROR_EMPTY_STRING, - G_SHELL_ERROR_FAILED -} GShellError; - -GQuark g_shell_error_quark (void); - -gchar* g_shell_quote (const gchar *unquoted_string); -gchar* g_shell_unquote (const gchar *quoted_string, - GError **error); -gboolean g_shell_parse_argv (const gchar *command_line, - gint *argcp, - gchar ***argvp, - GError **error); - -G_END_DECLS - -#endif /* __G_SHELL_H__ */ - - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gslice.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gslice.h deleted file mode 100644 index 9b46da7e..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gslice.h +++ /dev/null @@ -1,85 +0,0 @@ -/* GLIB sliced memory - fast threaded memory chunk allocator - * Copyright (C) 2005 Tim Janik - * - * 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 __G_SLICE_H__ -#define __G_SLICE_H__ - -#ifndef __G_MEM_H__ -#error Include <glib.h> instead of <gslice.h> -#endif - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -/* slices - fast allocation/release of small memory blocks - */ -gpointer g_slice_alloc (gsize block_size) G_GNUC_MALLOC; -gpointer g_slice_alloc0 (gsize block_size) G_GNUC_MALLOC; -gpointer g_slice_copy (gsize block_size, - gconstpointer mem_block) G_GNUC_MALLOC; -void g_slice_free1 (gsize block_size, - gpointer mem_block); -void g_slice_free_chain_with_offset (gsize block_size, - gpointer mem_chain, - gsize next_offset); -#define g_slice_new(type) ((type*) g_slice_alloc (sizeof (type))) -#define g_slice_new0(type) ((type*) g_slice_alloc0 (sizeof (type))) -/* MemoryBlockType * - * g_slice_dup (MemoryBlockType, - * MemoryBlockType *mem_block); - * g_slice_free (MemoryBlockType, - * MemoryBlockType *mem_block); - * g_slice_free_chain (MemoryBlockType, - * MemoryBlockType *first_chain_block, - * memory_block_next_field); - * pseudo prototypes for the macro - * definitions following below. - */ - -/* we go through extra hoops to ensure type safety */ -#define g_slice_dup(type, mem) \ - (1 ? (type*) g_slice_copy (sizeof (type), (mem)) \ - : ((void) ((type*) 0 == (mem)), (type*) 0)) -#define g_slice_free(type, mem) do { \ - if (1) g_slice_free1 (sizeof (type), (mem)); \ - else (void) ((type*) 0 == (mem)); \ -} while (0) -#define g_slice_free_chain(type, mem_chain, next) do { \ - if (1) g_slice_free_chain_with_offset (sizeof (type), \ - (mem_chain), G_STRUCT_OFFSET (type, next)); \ - else (void) ((type*) 0 == (mem_chain)); \ -} while (0) - - -/* --- internal debugging API --- */ -typedef enum { - G_SLICE_CONFIG_ALWAYS_MALLOC = 1, - G_SLICE_CONFIG_BYPASS_MAGAZINES, - G_SLICE_CONFIG_WORKING_SET_MSECS, - G_SLICE_CONFIG_COLOR_INCREMENT, - G_SLICE_CONFIG_CHUNK_SIZES, - G_SLICE_CONFIG_CONTENTION_COUNTER -} GSliceConfig; -void g_slice_set_config (GSliceConfig ckey, gint64 value); -gint64 g_slice_get_config (GSliceConfig ckey); -gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values); - -G_END_DECLS - -#endif /* __G_SLICE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gslist.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gslist.h deleted file mode 100644 index 8ef54088..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gslist.h +++ /dev/null @@ -1,110 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_SLIST_H__ -#define __G_SLIST_H__ - -#include <glib/gmem.h> - -G_BEGIN_DECLS - -typedef struct _GSList GSList; - -struct _GSList -{ - gpointer data; - GSList *next; -}; - -/* Singly linked lists - */ -GSList* g_slist_alloc (void) G_GNUC_WARN_UNUSED_RESULT; -void g_slist_free (GSList *list); -void g_slist_free_1 (GSList *list); -#define g_slist_free1 g_slist_free_1 -GSList* g_slist_append (GSList *list, - gpointer data) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_prepend (GSList *list, - gpointer data) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_insert (GSList *list, - gpointer data, - gint position) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_insert_sorted (GSList *list, - gpointer data, - GCompareFunc func) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_insert_sorted_with_data (GSList *list, - gpointer data, - GCompareDataFunc func, - gpointer user_data) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_insert_before (GSList *slist, - GSList *sibling, - gpointer data) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_concat (GSList *list1, - GSList *list2) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_remove (GSList *list, - gconstpointer data) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_remove_all (GSList *list, - gconstpointer data) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_remove_link (GSList *list, - GSList *link_) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_delete_link (GSList *list, - GSList *link_) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_reverse (GSList *list) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_copy (GSList *list) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_nth (GSList *list, - guint n); -GSList* g_slist_find (GSList *list, - gconstpointer data); -GSList* g_slist_find_custom (GSList *list, - gconstpointer data, - GCompareFunc func); -gint g_slist_position (GSList *list, - GSList *llink); -gint g_slist_index (GSList *list, - gconstpointer data); -GSList* g_slist_last (GSList *list); -guint g_slist_length (GSList *list); -void g_slist_foreach (GSList *list, - GFunc func, - gpointer user_data); -GSList* g_slist_sort (GSList *list, - GCompareFunc compare_func) G_GNUC_WARN_UNUSED_RESULT; -GSList* g_slist_sort_with_data (GSList *list, - GCompareDataFunc compare_func, - gpointer user_data) G_GNUC_WARN_UNUSED_RESULT; -gpointer g_slist_nth_data (GSList *list, - guint n); - -#define g_slist_next(slist) ((slist) ? (((GSList *)(slist))->next) : NULL) - -#ifndef G_DISABLE_DEPRECATED -void g_slist_push_allocator (gpointer dummy); -void g_slist_pop_allocator (void); -#endif -G_END_DECLS - -#endif /* __G_SLIST_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gspawn.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gspawn.h deleted file mode 100644 index adb67417..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gspawn.h +++ /dev/null @@ -1,138 +0,0 @@ -/* gspawn.h - Process launching - * - * Copyright 2000 Red Hat, Inc. - * - * GLib 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. - * - * GLib 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 GLib; see the file COPYING.LIB. If not, write - * to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __G_SPAWN_H__ -#define __G_SPAWN_H__ - -#include <glib/gerror.h> - -G_BEGIN_DECLS - -/* I'm not sure I remember our proposed naming convention here. */ -#define G_SPAWN_ERROR g_spawn_error_quark () - -typedef enum -{ - G_SPAWN_ERROR_FORK, /* fork failed due to lack of memory */ - G_SPAWN_ERROR_READ, /* read or select on pipes failed */ - G_SPAWN_ERROR_CHDIR, /* changing to working dir failed */ - G_SPAWN_ERROR_ACCES, /* execv() returned EACCES */ - G_SPAWN_ERROR_PERM, /* execv() returned EPERM */ - G_SPAWN_ERROR_2BIG, /* execv() returned E2BIG */ - G_SPAWN_ERROR_NOEXEC, /* execv() returned ENOEXEC */ - G_SPAWN_ERROR_NAMETOOLONG, /* "" "" ENAMETOOLONG */ - G_SPAWN_ERROR_NOENT, /* "" "" ENOENT */ - G_SPAWN_ERROR_NOMEM, /* "" "" ENOMEM */ - G_SPAWN_ERROR_NOTDIR, /* "" "" ENOTDIR */ - G_SPAWN_ERROR_LOOP, /* "" "" ELOOP */ - G_SPAWN_ERROR_TXTBUSY, /* "" "" ETXTBUSY */ - G_SPAWN_ERROR_IO, /* "" "" EIO */ - G_SPAWN_ERROR_NFILE, /* "" "" ENFILE */ - G_SPAWN_ERROR_MFILE, /* "" "" EMFLE */ - G_SPAWN_ERROR_INVAL, /* "" "" EINVAL */ - G_SPAWN_ERROR_ISDIR, /* "" "" EISDIR */ - G_SPAWN_ERROR_LIBBAD, /* "" "" ELIBBAD */ - G_SPAWN_ERROR_FAILED /* other fatal failure, error->message - * should explain - */ -} GSpawnError; - -typedef void (* GSpawnChildSetupFunc) (gpointer user_data); - -typedef enum -{ - G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, - G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1, - /* look for argv[0] in the path i.e. use execvp() */ - G_SPAWN_SEARCH_PATH = 1 << 2, - /* Dump output to /dev/null */ - G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3, - G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4, - G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5, - G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6 -} GSpawnFlags; - -GQuark g_spawn_error_quark (void); - -#ifdef G_OS_WIN32 -#define g_spawn_async g_spawn_async_utf8 -#define g_spawn_async_with_pipes g_spawn_async_with_pipes_utf8 -#define g_spawn_sync g_spawn_sync_utf8 -#define g_spawn_command_line_sync g_spawn_command_line_sync_utf8 -#define g_spawn_command_line_async g_spawn_command_line_async_utf8 -#endif - -gboolean g_spawn_async (const gchar *working_directory, - gchar **argv, - gchar **envp, - GSpawnFlags flags, - GSpawnChildSetupFunc child_setup, - gpointer user_data, - GPid *child_pid, - GError **error); - - -/* Opens pipes for non-NULL standard_output, standard_input, standard_error, - * and returns the parent's end of the pipes. - */ -gboolean g_spawn_async_with_pipes (const gchar *working_directory, - gchar **argv, - gchar **envp, - GSpawnFlags flags, - GSpawnChildSetupFunc child_setup, - gpointer user_data, - GPid *child_pid, - gint *standard_input, - gint *standard_output, - gint *standard_error, - GError **error); - - -/* If standard_output or standard_error are non-NULL, the full - * standard output or error of the command will be placed there. - */ - -gboolean g_spawn_sync (const gchar *working_directory, - gchar **argv, - gchar **envp, - GSpawnFlags flags, - GSpawnChildSetupFunc child_setup, - gpointer user_data, - gchar **standard_output, - gchar **standard_error, - gint *exit_status, - GError **error); - -gboolean g_spawn_command_line_sync (const gchar *command_line, - gchar **standard_output, - gchar **standard_error, - gint *exit_status, - GError **error); -gboolean g_spawn_command_line_async (const gchar *command_line, - GError **error); - -void g_spawn_close_pid (GPid pid); - - -G_END_DECLS - -#endif /* __G_SPAWN_H__ */ - - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstdio.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstdio.h deleted file mode 100644 index dd9e82ad..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstdio.h +++ /dev/null @@ -1,114 +0,0 @@ -/* gstdio.h - GFilename wrappers for C library functions - * - * Copyright 2004 Tor Lillqvist - * - * GLib 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. - * - * GLib 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 GLib; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __G_STDIO_H__ -#define __G_STDIO_H__ - -#include <glib/gprintf.h> - -#include <sys/stat.h> - -G_BEGIN_DECLS - -#if defined(G_OS_UNIX) && !defined(G_STDIO_NO_WRAP_ON_UNIX) - -/* Just pass on to the system functions, so there's no potential for data - * format mismatches, especially with large file interfaces. - * A few functions can't be handled in this way, since they are not defined - * in a portable system header that we could include here. - */ - -#define g_chmod chmod -#define g_open open -#define g_creat creat -#define g_rename rename -#define g_mkdir mkdir -#define g_stat stat -#define g_lstat lstat -#define g_remove remove -#define g_fopen fopen -#define g_freopen freopen - -int g_access (const gchar *filename, - int mode); - -int g_chdir (const gchar *path); - -int g_unlink (const gchar *filename); - -int g_rmdir (const gchar *filename); - -#else /* ! G_OS_UNIX */ - -/* Wrappers for C library functions that take pathname arguments. On - * Unix, the pathname is a file name as it literally is in the file - * system. On well-maintained systems with consistent users who know - * what they are doing and no exchange of files with others this would - * be a well-defined encoding, preferrably UTF-8. On Windows, the - * pathname is always in UTF-8, even if that is not the on-disk - * encoding, and not the encoding accepted by the C library or Win32 - * API. - */ - -int g_access (const gchar *filename, - int mode); - -int g_chmod (const gchar *filename, - int mode); - -int g_open (const gchar *filename, - int flags, - int mode); - -int g_creat (const gchar *filename, - int mode); - -int g_rename (const gchar *oldfilename, - const gchar *newfilename); - -int g_mkdir (const gchar *filename, - int mode); - -int g_chdir (const gchar *path); - -int g_stat (const gchar *filename, - struct stat *buf); - -int g_lstat (const gchar *filename, - struct stat *buf); - -int g_unlink (const gchar *filename); - -int g_remove (const gchar *filename); - -int g_rmdir (const gchar *filename); - -FILE *g_fopen (const gchar *filename, - const gchar *mode); - -FILE *g_freopen (const gchar *filename, - const gchar *mode, - FILE *stream); - -#endif /* G_OS_UNIX */ - -G_END_DECLS - -#endif /* __G_STDIO_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstrfuncs.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstrfuncs.h deleted file mode 100644 index bf35326f..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstrfuncs.h +++ /dev/null @@ -1,252 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_STRFUNCS_H__ -#define __G_STRFUNCS_H__ - -#include <stdarg.h> -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -/* Functions like the ones in <ctype.h> that are not affected by locale. */ -typedef enum { - G_ASCII_ALNUM = 1 << 0, - G_ASCII_ALPHA = 1 << 1, - G_ASCII_CNTRL = 1 << 2, - G_ASCII_DIGIT = 1 << 3, - G_ASCII_GRAPH = 1 << 4, - G_ASCII_LOWER = 1 << 5, - G_ASCII_PRINT = 1 << 6, - G_ASCII_PUNCT = 1 << 7, - G_ASCII_SPACE = 1 << 8, - G_ASCII_UPPER = 1 << 9, - G_ASCII_XDIGIT = 1 << 10 -} GAsciiType; - -GLIB_VAR const guint16 * const g_ascii_table; - -#define g_ascii_isalnum(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_ALNUM) != 0) - -#define g_ascii_isalpha(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_ALPHA) != 0) - -#define g_ascii_iscntrl(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_CNTRL) != 0) - -#define g_ascii_isdigit(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_DIGIT) != 0) - -#define g_ascii_isgraph(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_GRAPH) != 0) - -#define g_ascii_islower(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_LOWER) != 0) - -#define g_ascii_isprint(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_PRINT) != 0) - -#define g_ascii_ispunct(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_PUNCT) != 0) - -#define g_ascii_isspace(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_SPACE) != 0) - -#define g_ascii_isupper(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_UPPER) != 0) - -#define g_ascii_isxdigit(c) \ - ((g_ascii_table[(guchar) (c)] & G_ASCII_XDIGIT) != 0) - -gchar g_ascii_tolower (gchar c) G_GNUC_CONST; -gchar g_ascii_toupper (gchar c) G_GNUC_CONST; - -gint g_ascii_digit_value (gchar c) G_GNUC_CONST; -gint g_ascii_xdigit_value (gchar c) G_GNUC_CONST; - -/* String utility functions that modify a string argument or - * return a constant string that must not be freed. - */ -#define G_STR_DELIMITERS "_-|> <." -gchar* g_strdelimit (gchar *string, - const gchar *delimiters, - gchar new_delimiter); -gchar* g_strcanon (gchar *string, - const gchar *valid_chars, - gchar substitutor); -G_CONST_RETURN gchar* g_strerror (gint errnum) G_GNUC_CONST; -G_CONST_RETURN gchar* g_strsignal (gint signum) G_GNUC_CONST; -gchar* g_strreverse (gchar *string); -gsize g_strlcpy (gchar *dest, - const gchar *src, - gsize dest_size); -gsize g_strlcat (gchar *dest, - const gchar *src, - gsize dest_size); -gchar * g_strstr_len (const gchar *haystack, - gssize haystack_len, - const gchar *needle); -gchar * g_strrstr (const gchar *haystack, - const gchar *needle); -gchar * g_strrstr_len (const gchar *haystack, - gssize haystack_len, - const gchar *needle); - -gboolean g_str_has_suffix (const gchar *str, - const gchar *suffix); -gboolean g_str_has_prefix (const gchar *str, - const gchar *prefix); - -/* String to/from double conversion functions */ - -gdouble g_strtod (const gchar *nptr, - gchar **endptr); -gdouble g_ascii_strtod (const gchar *nptr, - gchar **endptr); -guint64 g_ascii_strtoull (const gchar *nptr, - gchar **endptr, - guint base); -gint64 g_ascii_strtoll (const gchar *nptr, - gchar **endptr, - guint base); -/* 29 bytes should enough for all possible values that - * g_ascii_dtostr can produce. - * Then add 10 for good measure */ -#define G_ASCII_DTOSTR_BUF_SIZE (29 + 10) -gchar * g_ascii_dtostr (gchar *buffer, - gint buf_len, - gdouble d); -gchar * g_ascii_formatd (gchar *buffer, - gint buf_len, - const gchar *format, - gdouble d); - -/* removes leading spaces */ -gchar* g_strchug (gchar *string); -/* removes trailing spaces */ -gchar* g_strchomp (gchar *string); -/* removes leading & trailing spaces */ -#define g_strstrip( string ) g_strchomp (g_strchug (string)) - -gint g_ascii_strcasecmp (const gchar *s1, - const gchar *s2); -gint g_ascii_strncasecmp (const gchar *s1, - const gchar *s2, - gsize n); -gchar* g_ascii_strdown (const gchar *str, - gssize len) G_GNUC_MALLOC; -gchar* g_ascii_strup (const gchar *str, - gssize len) G_GNUC_MALLOC; - -#ifndef G_DISABLE_DEPRECATED - -/* The following four functions are deprecated and will be removed in - * the next major release. They use the locale-specific tolower and - * toupper, which is almost never the right thing. - */ - -gint g_strcasecmp (const gchar *s1, - const gchar *s2); -gint g_strncasecmp (const gchar *s1, - const gchar *s2, - guint n); -gchar* g_strdown (gchar *string); -gchar* g_strup (gchar *string); - -#endif /* G_DISABLE_DEPRECATED */ - -/* String utility functions that return a newly allocated string which - * ought to be freed with g_free from the caller at some point. - */ -gchar* g_strdup (const gchar *str) G_GNUC_MALLOC; -gchar* g_strdup_printf (const gchar *format, - ...) G_GNUC_PRINTF (1, 2) G_GNUC_MALLOC; -gchar* g_strdup_vprintf (const gchar *format, - va_list args) G_GNUC_MALLOC; -gchar* g_strndup (const gchar *str, - gsize n) G_GNUC_MALLOC; -gchar* g_strnfill (gsize length, - gchar fill_char) G_GNUC_MALLOC; -gchar* g_strconcat (const gchar *string1, - ...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED; -gchar* g_strjoin (const gchar *separator, - ...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED; - -/* Make a copy of a string interpreting C string -style escape - * sequences. Inverse of g_strescape. The recognized sequences are \b - * \f \n \r \t \\ \" and the octal format. - */ -gchar* g_strcompress (const gchar *source) G_GNUC_MALLOC; - -/* Copy a string escaping nonprintable characters like in C strings. - * Inverse of g_strcompress. The exceptions parameter, if non-NULL, points - * to a string containing characters that are not to be escaped. - * - * Deprecated API: gchar* g_strescape (const gchar *source); - * Luckily this function wasn't used much, using NULL as second parameter - * provides mostly identical semantics. - */ -gchar* g_strescape (const gchar *source, - const gchar *exceptions) G_GNUC_MALLOC; - -gpointer g_memdup (gconstpointer mem, - guint byte_size) G_GNUC_MALLOC; - -/* NULL terminated string arrays. - * g_strsplit(), g_strsplit_set() split up string into max_tokens tokens - * at delim and return a newly allocated string array. - * g_strjoinv() concatenates all of str_array's strings, sliding in an - * optional separator, the returned string is newly allocated. - * g_strfreev() frees the array itself and all of its strings. - * g_strdupv() copies a NULL-terminated array of strings - * g_strv_length() returns the length of a NULL-terminated array of strings - */ -gchar** g_strsplit (const gchar *string, - const gchar *delimiter, - gint max_tokens) G_GNUC_MALLOC; -gchar ** g_strsplit_set (const gchar *string, - const gchar *delimiters, - gint max_tokens) G_GNUC_MALLOC; -gchar* g_strjoinv (const gchar *separator, - gchar **str_array) G_GNUC_MALLOC; -void g_strfreev (gchar **str_array); -gchar** g_strdupv (gchar **str_array) G_GNUC_MALLOC; -guint g_strv_length (gchar **str_array); - -gchar* g_stpcpy (gchar *dest, - const char *src); - -G_CONST_RETURN gchar *g_strip_context (const gchar *msgid, - const gchar *msgval); - -G_CONST_RETURN gchar *g_dpgettext (const gchar *domain, - const gchar *msgctxtid, - gsize msgidoffset); - -G_END_DECLS - -#endif /* __G_STRFUNCS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstring.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstring.h deleted file mode 100644 index 427b56ee..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gstring.h +++ /dev/null @@ -1,175 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_STRING_H__ -#define __G_STRING_H__ - -#include <glib/gtypes.h> -#include <glib/gunicode.h> -#include <glib/gutils.h> /* for G_CAN_INLINE */ - -G_BEGIN_DECLS - -typedef struct _GString GString; -typedef struct _GStringChunk GStringChunk; - -struct _GString -{ - gchar *str; - gsize len; - gsize allocated_len; -}; - -/* String Chunks - */ -GStringChunk* g_string_chunk_new (gsize size); -void g_string_chunk_free (GStringChunk *chunk); -void g_string_chunk_clear (GStringChunk *chunk); -gchar* g_string_chunk_insert (GStringChunk *chunk, - const gchar *string); -gchar* g_string_chunk_insert_len (GStringChunk *chunk, - const gchar *string, - gssize len); -gchar* g_string_chunk_insert_const (GStringChunk *chunk, - const gchar *string); - - -/* Strings - */ -GString* g_string_new (const gchar *init); -GString* g_string_new_len (const gchar *init, - gssize len); -GString* g_string_sized_new (gsize dfl_size); -gchar* g_string_free (GString *string, - gboolean free_segment); -gboolean g_string_equal (const GString *v, - const GString *v2); -guint g_string_hash (const GString *str); -GString* g_string_assign (GString *string, - const gchar *rval); -GString* g_string_truncate (GString *string, - gsize len); -GString* g_string_set_size (GString *string, - gsize len); -GString* g_string_insert_len (GString *string, - gssize pos, - const gchar *val, - gssize len); -GString* g_string_append (GString *string, - const gchar *val); -GString* g_string_append_len (GString *string, - const gchar *val, - gssize len); -GString* g_string_append_c (GString *string, - gchar c); -GString* g_string_append_unichar (GString *string, - gunichar wc); -GString* g_string_prepend (GString *string, - const gchar *val); -GString* g_string_prepend_c (GString *string, - gchar c); -GString* g_string_prepend_unichar (GString *string, - gunichar wc); -GString* g_string_prepend_len (GString *string, - const gchar *val, - gssize len); -GString* g_string_insert (GString *string, - gssize pos, - const gchar *val); -GString* g_string_insert_c (GString *string, - gssize pos, - gchar c); -GString* g_string_insert_unichar (GString *string, - gssize pos, - gunichar wc); -GString* g_string_overwrite (GString *string, - gsize pos, - const gchar *val); -GString* g_string_overwrite_len (GString *string, - gsize pos, - const gchar *val, - gssize len); -GString* g_string_erase (GString *string, - gssize pos, - gssize len); -GString* g_string_ascii_down (GString *string); -GString* g_string_ascii_up (GString *string); -void g_string_vprintf (GString *string, - const gchar *format, - va_list args); -void g_string_printf (GString *string, - const gchar *format, - ...) G_GNUC_PRINTF (2, 3); -void g_string_append_vprintf (GString *string, - const gchar *format, - va_list args); -void g_string_append_printf (GString *string, - const gchar *format, - ...) G_GNUC_PRINTF (2, 3); -GString * g_string_append_uri_escaped(GString *string, - const char *unescaped, - const char *reserved_chars_allowed, - gboolean allow_utf8); - -/* -- optimize g_strig_append_c --- */ -#ifdef G_CAN_INLINE -static inline GString* -g_string_append_c_inline (GString *gstring, - gchar c) -{ - if (gstring->len + 1 < gstring->allocated_len) - { - gstring->str[gstring->len++] = c; - gstring->str[gstring->len] = 0; - } - else - g_string_insert_c (gstring, -1, c); - return gstring; -} -#define g_string_append_c(gstr,c) g_string_append_c_inline (gstr, c) -#endif /* G_CAN_INLINE */ - - -#ifndef G_DISABLE_DEPRECATED - -/* The following two functions are deprecated and will be removed in - * the next major release. They use the locale-specific tolower and - * toupper, which is almost never the right thing. - */ - -GString* g_string_down (GString *string); -GString* g_string_up (GString *string); - -/* These aliases are included for compatibility. */ -#define g_string_sprintf g_string_printf -#define g_string_sprintfa g_string_append_printf - -#endif /* G_DISABLE_DEPRECATED */ - -G_END_DECLS - -#endif /* __G_STRING_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtestutils.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtestutils.h deleted file mode 100644 index 7deb2a38..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtestutils.h +++ /dev/null @@ -1,248 +0,0 @@ -/* GLib testing utilities - * Copyright (C) 2007 Imendio AB - * Authors: Tim Janik - * - * 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 __G_TEST_UTILS_H__ -#define __G_TEST_UTILS_H__ - -#include <glib.h> - -G_BEGIN_DECLS - -typedef struct GTestCase GTestCase; -typedef struct GTestSuite GTestSuite; - -/* assertion API */ -#define g_assert_cmpstr(s1, cmp, s2) do { const char *__s1 = (s1), *__s2 = (s2); \ - if (g_strcmp0 (__s1, __s2) cmp 0) ; else \ - g_assertion_message_cmpstr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ - #s1 " " #cmp " " #s2, __s1, #cmp, __s2); } while (0) -#define g_assert_cmpint(n1, cmp, n2) do { gint64 __n1 = (n1), __n2 = (n2); \ - if (__n1 cmp __n2) ; else \ - g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ - #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'i'); } while (0) -#define g_assert_cmpuint(n1, cmp, n2) do { guint64 __n1 = (n1), __n2 = (n2); \ - if (__n1 cmp __n2) ; else \ - g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ - #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'i'); } while (0) -#define g_assert_cmphex(n1, cmp, n2) do { guint64 __n1 = (n1), __n2 = (n2); \ - if (__n1 cmp __n2) ; else \ - g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ - #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'x'); } while (0) -#define g_assert_cmpfloat(n1,cmp,n2) do { long double __n1 = (n1), __n2 = (n2); \ - if (__n1 cmp __n2) ; else \ - g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ - #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'f'); } while (0) -#ifdef G_DISABLE_ASSERT -#define g_assert_not_reached() do { (void) 0; } while (0) -#define g_assert(expr) do { (void) 0; } while (0) -#else /* !G_DISABLE_ASSERT */ -#define g_assert_not_reached() do { g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, NULL); } while (0) -#define g_assert(expr) do { if G_LIKELY (expr) ; else \ - g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ - #expr); } while (0) -#endif /* !G_DISABLE_ASSERT */ - -int g_strcmp0 (const char *str1, - const char *str2); - -/* report performance results */ -void g_test_minimized_result (double minimized_quantity, - const char *format, - ...) G_GNUC_PRINTF (2, 3); -void g_test_maximized_result (double maximized_quantity, - const char *format, - ...) G_GNUC_PRINTF (2, 3); - -/* initialize testing framework */ -void g_test_init (int *argc, - char ***argv, - ...); -/* query testing framework config */ -#define g_test_quick() (g_test_config_vars->test_quick) -#define g_test_slow() (!g_test_config_vars->test_quick) -#define g_test_thorough() (!g_test_config_vars->test_quick) -#define g_test_perf() (g_test_config_vars->test_perf) -#define g_test_verbose() (g_test_config_vars->test_verbose) -#define g_test_quiet() (g_test_config_vars->test_quiet) -/* run all tests under toplevel suite (path: /) */ -int g_test_run (void); -/* hook up a test functions under test path */ -void g_test_add_func (const char *testpath, - void (*test_func) (void)); -void g_test_add_data_func (const char *testpath, - gconstpointer test_data, - void (*test_func) (gconstpointer)); -/* hook up a test with fixture under test path */ -#define g_test_add(testpath, Fixture, tdata, fsetup, ftest, fteardown) \ - G_STMT_START { \ - void (*add_vtable) (const char*, \ - gsize, \ - gconstpointer, \ - void (*) (Fixture*, gconstpointer), \ - void (*) (Fixture*, gconstpointer), \ - void (*) (Fixture*, gconstpointer)) = (void (*) (const gchar *, gsize, gconstpointer, void (*) (Fixture*, gconstpointer), void (*) (Fixture*, gconstpointer), void (*) (Fixture*, gconstpointer))) g_test_add_vtable; \ - add_vtable \ - (testpath, sizeof (Fixture), tdata, fsetup, ftest, fteardown); \ - } G_STMT_END - -/* add test messages to the test report */ -void g_test_message (const char *format, - ...) G_GNUC_PRINTF (1, 2); -void g_test_bug_base (const char *uri_pattern); -void g_test_bug (const char *bug_uri_snippet); -/* measure test timings */ -void g_test_timer_start (void); -double g_test_timer_elapsed (void); /* elapsed seconds */ -double g_test_timer_last (void); /* repeat last elapsed() result */ - -/* automatically g_free or g_object_unref upon teardown */ -void g_test_queue_free (gpointer gfree_pointer); -void g_test_queue_destroy (GDestroyNotify destroy_func, - gpointer destroy_data); -#define g_test_queue_unref(gobject) g_test_queue_destroy (g_object_unref, gobject) - -/* test traps are guards used around forked tests */ -typedef enum { - G_TEST_TRAP_SILENCE_STDOUT = 1 << 7, - G_TEST_TRAP_SILENCE_STDERR = 1 << 8, - G_TEST_TRAP_INHERIT_STDIN = 1 << 9 -} GTestTrapFlags; -gboolean g_test_trap_fork (guint64 usec_timeout, - GTestTrapFlags test_trap_flags); -gboolean g_test_trap_has_passed (void); -gboolean g_test_trap_reached_timeout (void); -#define g_test_trap_assert_passed() g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 0, 0) -#define g_test_trap_assert_failed() g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 1, 0) -#define g_test_trap_assert_stdout(soutpattern) g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 2, soutpattern) -#define g_test_trap_assert_stdout_unmatched(soutpattern) g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 3, soutpattern) -#define g_test_trap_assert_stderr(serrpattern) g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 4, serrpattern) -#define g_test_trap_assert_stderr_unmatched(serrpattern) g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 5, serrpattern) - -/* provide seed-able random numbers for tests */ -#define g_test_rand_bit() (0 != (g_test_rand_int() & (1 << 15))) -gint32 g_test_rand_int (void); -gint32 g_test_rand_int_range (gint32 begin, - gint32 end); -double g_test_rand_double (void); -double g_test_rand_double_range (double range_start, - double range_end); - -/* semi-internal API */ -GTestCase* g_test_create_case (const char *test_name, - gsize data_size, - gconstpointer test_data, - void (*data_setup) (void), - void (*data_test) (void), - void (*data_teardown) (void)); -GTestSuite* g_test_create_suite (const char *suite_name); -GTestSuite* g_test_get_root (void); -void g_test_suite_add (GTestSuite *suite, - GTestCase *test_case); -void g_test_suite_add_suite (GTestSuite *suite, - GTestSuite *nestedsuite); -int g_test_run_suite (GTestSuite *suite); - -/* internal ABI */ -void g_test_trap_assertions (const char *domain, - const char *file, - int line, - const char *func, - guint64 assertion_flags, /* 0-pass, 1-fail, 2-outpattern, 4-errpattern */ - const char *pattern); -void g_assertion_message (const char *domain, - const char *file, - int line, - const char *func, - const char *message) G_GNUC_NORETURN; -void g_assertion_message_expr (const char *domain, - const char *file, - int line, - const char *func, - const char *expr) G_GNUC_NORETURN; -void g_assertion_message_cmpstr (const char *domain, - const char *file, - int line, - const char *func, - const char *expr, - const char *arg1, - const char *cmp, - const char *arg2) G_GNUC_NORETURN; -void g_assertion_message_cmpnum (const char *domain, - const char *file, - int line, - const char *func, - const char *expr, - long double arg1, - const char *cmp, - long double arg2, - char numtype) G_GNUC_NORETURN; -void g_test_add_vtable (const char *testpath, - gsize data_size, - gconstpointer test_data, - void (*data_setup) (void), - void (*data_test) (void), - void (*data_teardown) (void)); -typedef struct { - gboolean test_initialized; - gboolean test_quick; /* disable thorough tests */ - gboolean test_perf; /* run performance tests */ - gboolean test_verbose; /* extra info */ - gboolean test_quiet; /* reduce output */ -} GTestConfig; -GLIB_VAR const GTestConfig * const g_test_config_vars; - -/* internal logging API */ -typedef enum { - G_TEST_LOG_NONE, - G_TEST_LOG_ERROR, /* s:msg */ - G_TEST_LOG_START_BINARY, /* s:binaryname s:seed */ - G_TEST_LOG_LIST_CASE, /* s:testpath */ - G_TEST_LOG_SKIP_CASE, /* s:testpath */ - G_TEST_LOG_START_CASE, /* s:testpath */ - G_TEST_LOG_STOP_CASE, /* d:status d:nforks d:elapsed */ - G_TEST_LOG_MIN_RESULT, /* s:blurb d:result */ - G_TEST_LOG_MAX_RESULT, /* s:blurb d:result */ - G_TEST_LOG_MESSAGE /* s:blurb */ -} GTestLogType; - -typedef struct { - GTestLogType log_type; - guint n_strings; - gchar **strings; /* NULL terminated */ - guint n_nums; - long double *nums; -} GTestLogMsg; -typedef struct { - /*< private >*/ - GString *data; - GSList *msgs; -} GTestLogBuffer; - -const char* g_test_log_type_name (GTestLogType log_type); -GTestLogBuffer* g_test_log_buffer_new (void); -void g_test_log_buffer_free (GTestLogBuffer *tbuffer); -void g_test_log_buffer_push (GTestLogBuffer *tbuffer, - guint n_bytes, - const guint8 *bytes); -GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer); -void g_test_log_msg_free (GTestLogMsg *tmsg); - -G_END_DECLS - -#endif /* __G_TEST_UTILS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gthread.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gthread.h deleted file mode 100644 index 032507c2..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gthread.h +++ /dev/null @@ -1,396 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_THREAD_H__ -#define __G_THREAD_H__ - -#include <glib/gerror.h> -#include <glib/gtypes.h> -#include <glib/gutils.h> /* for G_INLINE_FUNC */ -#include <glib/gatomic.h> /* for g_atomic_pointer_get */ - -G_BEGIN_DECLS - -/* GLib Thread support - */ - -extern GQuark g_thread_error_quark (void); -#define G_THREAD_ERROR g_thread_error_quark () - -typedef enum -{ - G_THREAD_ERROR_AGAIN /* Resource temporarily unavailable */ -} GThreadError; - -typedef gpointer (*GThreadFunc) (gpointer data); - -typedef enum -{ - G_THREAD_PRIORITY_LOW, - G_THREAD_PRIORITY_NORMAL, - G_THREAD_PRIORITY_HIGH, - G_THREAD_PRIORITY_URGENT -} GThreadPriority; - -typedef struct _GThread GThread; -struct _GThread -{ - /*< private >*/ - GThreadFunc func; - gpointer data; - gboolean joinable; - GThreadPriority priority; -}; - -typedef struct _GMutex GMutex; -typedef struct _GCond GCond; -typedef struct _GPrivate GPrivate; -typedef struct _GStaticPrivate GStaticPrivate; - -typedef struct _GThreadFunctions GThreadFunctions; -struct _GThreadFunctions -{ - GMutex* (*mutex_new) (void); - void (*mutex_lock) (GMutex *mutex); - gboolean (*mutex_trylock) (GMutex *mutex); - void (*mutex_unlock) (GMutex *mutex); - void (*mutex_free) (GMutex *mutex); - GCond* (*cond_new) (void); - void (*cond_signal) (GCond *cond); - void (*cond_broadcast) (GCond *cond); - void (*cond_wait) (GCond *cond, - GMutex *mutex); - gboolean (*cond_timed_wait) (GCond *cond, - GMutex *mutex, - GTimeVal *end_time); - void (*cond_free) (GCond *cond); - GPrivate* (*private_new) (GDestroyNotify destructor); - gpointer (*private_get) (GPrivate *private_key); - void (*private_set) (GPrivate *private_key, - gpointer data); - void (*thread_create) (GThreadFunc func, - gpointer data, - gulong stack_size, - gboolean joinable, - gboolean bound, - GThreadPriority priority, - gpointer thread, - GError **error); - void (*thread_yield) (void); - void (*thread_join) (gpointer thread); - void (*thread_exit) (void); - void (*thread_set_priority)(gpointer thread, - GThreadPriority priority); - void (*thread_self) (gpointer thread); - gboolean (*thread_equal) (gpointer thread1, - gpointer thread2); -}; - -GLIB_VAR GThreadFunctions g_thread_functions_for_glib_use; -GLIB_VAR gboolean g_thread_use_default_impl; -GLIB_VAR gboolean g_threads_got_initialized; - -GLIB_VAR guint64 (*g_thread_gettime) (void); - -/* initializes the mutex/cond/private implementation for glib, might - * only be called once, and must not be called directly or indirectly - * from another glib-function, e.g. as a callback. - */ -void g_thread_init (GThreadFunctions *vtable); - -/* Errorcheck mutexes. If you define G_ERRORCHECK_MUTEXES, then all - * mutexes will check for re-locking and re-unlocking */ - -/* Initialize thread system with errorcheck mutexes. vtable must be - * NULL. Do not call directly. Use #define G_ERRORCHECK_MUTEXES - * instead. - */ -void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable); - -/* A random number to recognize debug calls to g_mutex_... */ -#define G_MUTEX_DEBUG_MAGIC 0xf8e18ad7 - -#ifdef G_ERRORCHECK_MUTEXES -#define g_thread_init(vtable) g_thread_init_with_errorcheck_mutexes (vtable) -#endif - -/* internal function for fallback static mutex implementation */ -GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex); - -#define g_static_mutex_get_mutex_impl_shortcut(mutex) \ - (g_atomic_pointer_get ((gpointer*)(void*)mutex) ? *(mutex) : \ - g_static_mutex_get_mutex_impl (mutex)) - -/* shorthands for conditional and unconditional function calls */ - -#define G_THREAD_UF(op, arglist) \ - (*g_thread_functions_for_glib_use . op) arglist -#define G_THREAD_CF(op, fail, arg) \ - (g_thread_supported () ? G_THREAD_UF (op, arg) : (fail)) -#define G_THREAD_ECF(op, fail, mutex, type) \ - (g_thread_supported () ? \ - ((type(*)(GMutex*, const gulong, gchar const*)) \ - (*g_thread_functions_for_glib_use . op)) \ - (mutex, G_MUTEX_DEBUG_MAGIC, G_STRLOC) : (fail)) - -#ifndef G_ERRORCHECK_MUTEXES -# define g_mutex_lock(mutex) \ - G_THREAD_CF (mutex_lock, (void)0, (mutex)) -# define g_mutex_trylock(mutex) \ - G_THREAD_CF (mutex_trylock, TRUE, (mutex)) -# define g_mutex_unlock(mutex) \ - G_THREAD_CF (mutex_unlock, (void)0, (mutex)) -# define g_mutex_free(mutex) \ - G_THREAD_CF (mutex_free, (void)0, (mutex)) -# define g_cond_wait(cond, mutex) \ - G_THREAD_CF (cond_wait, (void)0, (cond, mutex)) -# define g_cond_timed_wait(cond, mutex, abs_time) \ - G_THREAD_CF (cond_timed_wait, TRUE, (cond, mutex, abs_time)) -#else /* G_ERRORCHECK_MUTEXES */ -# define g_mutex_lock(mutex) \ - G_THREAD_ECF (mutex_lock, (void)0, (mutex), void) -# define g_mutex_trylock(mutex) \ - G_THREAD_ECF (mutex_trylock, TRUE, (mutex), gboolean) -# define g_mutex_unlock(mutex) \ - G_THREAD_ECF (mutex_unlock, (void)0, (mutex), void) -# define g_mutex_free(mutex) \ - G_THREAD_ECF (mutex_free, (void)0, (mutex), void) -# define g_cond_wait(cond, mutex) \ - (g_thread_supported () ? ((void(*)(GCond*, GMutex*, gulong, gchar*))\ - g_thread_functions_for_glib_use.cond_wait) \ - (cond, mutex, G_MUTEX_DEBUG_MAGIC, G_STRLOC) : (void) 0) -# define g_cond_timed_wait(cond, mutex, abs_time) \ - (g_thread_supported () ? \ - ((gboolean(*)(GCond*, GMutex*, GTimeVal*, gulong, gchar*)) \ - g_thread_functions_for_glib_use.cond_timed_wait) \ - (cond, mutex, abs_time, G_MUTEX_DEBUG_MAGIC, G_STRLOC) : TRUE) -#endif /* G_ERRORCHECK_MUTEXES */ - -#define g_thread_supported() (g_threads_got_initialized) -#define g_mutex_new() G_THREAD_UF (mutex_new, ()) -#define g_cond_new() G_THREAD_UF (cond_new, ()) -#define g_cond_signal(cond) G_THREAD_CF (cond_signal, (void)0, (cond)) -#define g_cond_broadcast(cond) G_THREAD_CF (cond_broadcast, (void)0, (cond)) -#define g_cond_free(cond) G_THREAD_CF (cond_free, (void)0, (cond)) -#define g_private_new(destructor) G_THREAD_UF (private_new, (destructor)) -#define g_private_get(private_key) G_THREAD_CF (private_get, \ - ((gpointer)private_key), \ - (private_key)) -#define g_private_set(private_key, value) G_THREAD_CF (private_set, \ - (void) (private_key = \ - (GPrivate*) (value)), \ - (private_key, value)) -#define g_thread_yield() G_THREAD_CF (thread_yield, (void)0, ()) - -#define g_thread_create(func, data, joinable, error) \ - (g_thread_create_full (func, data, 0, joinable, FALSE, \ - G_THREAD_PRIORITY_NORMAL, error)) - -GThread* g_thread_create_full (GThreadFunc func, - gpointer data, - gulong stack_size, - gboolean joinable, - gboolean bound, - GThreadPriority priority, - GError **error); -GThread* g_thread_self (void); -void g_thread_exit (gpointer retval); -gpointer g_thread_join (GThread *thread); - -void g_thread_set_priority (GThread *thread, - GThreadPriority priority); - -/* GStaticMutexes can be statically initialized with the value - * G_STATIC_MUTEX_INIT, and then they can directly be used, that is - * much easier, than having to explicitly allocate the mutex before - * use - */ -#define g_static_mutex_lock(mutex) \ - g_mutex_lock (g_static_mutex_get_mutex (mutex)) -#define g_static_mutex_trylock(mutex) \ - g_mutex_trylock (g_static_mutex_get_mutex (mutex)) -#define g_static_mutex_unlock(mutex) \ - g_mutex_unlock (g_static_mutex_get_mutex (mutex)) -void g_static_mutex_init (GStaticMutex *mutex); -void g_static_mutex_free (GStaticMutex *mutex); - -struct _GStaticPrivate -{ - /*< private >*/ - guint index; -}; -#define G_STATIC_PRIVATE_INIT { 0 } -void g_static_private_init (GStaticPrivate *private_key); -gpointer g_static_private_get (GStaticPrivate *private_key); -void g_static_private_set (GStaticPrivate *private_key, - gpointer data, - GDestroyNotify notify); -void g_static_private_free (GStaticPrivate *private_key); - -typedef struct _GStaticRecMutex GStaticRecMutex; -struct _GStaticRecMutex -{ - /*< private >*/ - GStaticMutex mutex; - guint depth; - GSystemThread owner; -}; - -#define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT } -void g_static_rec_mutex_init (GStaticRecMutex *mutex); -void g_static_rec_mutex_lock (GStaticRecMutex *mutex); -gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex); -void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); -void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex, - guint depth); -guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex); -void g_static_rec_mutex_free (GStaticRecMutex *mutex); - -typedef struct _GStaticRWLock GStaticRWLock; -struct _GStaticRWLock -{ - /*< private >*/ - GStaticMutex mutex; - GCond *read_cond; - GCond *write_cond; - guint read_counter; - gboolean have_writer; - guint want_to_read; - guint want_to_write; -}; - -#define G_STATIC_RW_LOCK_INIT { G_STATIC_MUTEX_INIT, NULL, NULL, 0, FALSE, 0, 0 } - -void g_static_rw_lock_init (GStaticRWLock* lock); -void g_static_rw_lock_reader_lock (GStaticRWLock* lock); -gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock); -void g_static_rw_lock_reader_unlock (GStaticRWLock* lock); -void g_static_rw_lock_writer_lock (GStaticRWLock* lock); -gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock); -void g_static_rw_lock_writer_unlock (GStaticRWLock* lock); -void g_static_rw_lock_free (GStaticRWLock* lock); - -void g_thread_foreach (GFunc thread_func, - gpointer user_data); - -typedef enum -{ - G_ONCE_STATUS_NOTCALLED, - G_ONCE_STATUS_PROGRESS, - G_ONCE_STATUS_READY -} GOnceStatus; - -typedef struct _GOnce GOnce; -struct _GOnce -{ - volatile GOnceStatus status; - volatile gpointer retval; -}; - -#define G_ONCE_INIT { G_ONCE_STATUS_NOTCALLED, NULL } - -gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg); - -#ifdef G_ATOMIC_OP_MEMORY_BARRIER_NEEDED -# define g_once(once, func, arg) g_once_impl ((once), (func), (arg)) -#else /* !G_ATOMIC_OP_MEMORY_BARRIER_NEEDED*/ -# define g_once(once, func, arg) \ - (((once)->status == G_ONCE_STATUS_READY) ? \ - (once)->retval : \ - g_once_impl ((once), (func), (arg))) -#endif /* G_ATOMIC_OP_MEMORY_BARRIER_NEEDED */ - -/* initialize-once guards, keyed by value_location */ -G_INLINE_FUNC gboolean g_once_init_enter (volatile gsize *value_location); -gboolean g_once_init_enter_impl (volatile gsize *value_location); -void g_once_init_leave (volatile gsize *value_location, - gsize initialization_value); -#if defined (G_CAN_INLINE) || defined (__G_THREAD_C__) -G_INLINE_FUNC gboolean -g_once_init_enter (volatile gsize *value_location) -{ - if G_LIKELY (g_atomic_pointer_get ((void*volatile*) value_location) != NULL) - return FALSE; - else - return g_once_init_enter_impl (value_location); -} -#endif /* G_CAN_INLINE || __G_THREAD_C__ */ - -/* these are some convenience macros that expand to nothing if GLib - * was configured with --disable-threads. for using StaticMutexes, - * you define them with G_LOCK_DEFINE_STATIC (name) or G_LOCK_DEFINE (name) - * if you need to export the mutex. With G_LOCK_EXTERN (name) you can - * declare such an globally defined lock. name is a unique identifier - * for the protected varibale or code portion. locking, testing and - * unlocking of such mutexes can be done with G_LOCK(), G_UNLOCK() and - * G_TRYLOCK() respectively. - */ -extern void glib_dummy_decl (void); -#define G_LOCK_NAME(name) g__ ## name ## _lock -#ifdef G_THREADS_ENABLED -# define G_LOCK_DEFINE_STATIC(name) static G_LOCK_DEFINE (name) -# define G_LOCK_DEFINE(name) \ - GStaticMutex G_LOCK_NAME (name) = G_STATIC_MUTEX_INIT -# define G_LOCK_EXTERN(name) extern GStaticMutex G_LOCK_NAME (name) - -# ifdef G_DEBUG_LOCKS -# define G_LOCK(name) G_STMT_START{ \ - g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ - "file %s: line %d (%s): locking: %s ", \ - __FILE__, __LINE__, G_STRFUNC, \ - #name); \ - g_static_mutex_lock (&G_LOCK_NAME (name)); \ - }G_STMT_END -# define G_UNLOCK(name) G_STMT_START{ \ - g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ - "file %s: line %d (%s): unlocking: %s ", \ - __FILE__, __LINE__, G_STRFUNC, \ - #name); \ - g_static_mutex_unlock (&G_LOCK_NAME (name)); \ - }G_STMT_END -# define G_TRYLOCK(name) \ - (g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ - "file %s: line %d (%s): try locking: %s ", \ - __FILE__, __LINE__, G_STRFUNC, \ - #name), g_static_mutex_trylock (&G_LOCK_NAME (name))) -# else /* !G_DEBUG_LOCKS */ -# define G_LOCK(name) g_static_mutex_lock (&G_LOCK_NAME (name)) -# define G_UNLOCK(name) g_static_mutex_unlock (&G_LOCK_NAME (name)) -# define G_TRYLOCK(name) g_static_mutex_trylock (&G_LOCK_NAME (name)) -# endif /* !G_DEBUG_LOCKS */ -#else /* !G_THREADS_ENABLED */ -# define G_LOCK_DEFINE_STATIC(name) extern void glib_dummy_decl (void) -# define G_LOCK_DEFINE(name) extern void glib_dummy_decl (void) -# define G_LOCK_EXTERN(name) extern void glib_dummy_decl (void) -# define G_LOCK(name) -# define G_UNLOCK(name) -# define G_TRYLOCK(name) (TRUE) -#endif /* !G_THREADS_ENABLED */ - - -G_END_DECLS - -#endif /* __G_THREAD_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gthreadpool.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gthreadpool.h deleted file mode 100644 index 91a02d6a..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gthreadpool.h +++ /dev/null @@ -1,111 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_THREADPOOL_H__ -#define __G_THREADPOOL_H__ - -#include <glib/gthread.h> - -G_BEGIN_DECLS - -typedef struct _GThreadPool GThreadPool; - -/* Thread Pools - */ - -/* The real GThreadPool is bigger, so you may only create a thread - * pool with the constructor function */ -struct _GThreadPool -{ - GFunc func; - gpointer user_data; - gboolean exclusive; -}; - -/* Get a thread pool with the function func, at most max_threads may - * run at a time (max_threads == -1 means no limit), exclusive == TRUE - * means, that the threads shouldn't be shared and that they will be - * prestarted (otherwise they are started as needed) user_data is the - * 2nd argument to the func */ -GThreadPool* g_thread_pool_new (GFunc func, - gpointer user_data, - gint max_threads, - gboolean exclusive, - GError **error); - -/* Push new data into the thread pool. This task is assigned to a thread later - * (when the maximal number of threads is reached for that pool) or now - * (otherwise). If necessary a new thread will be started. The function - * returns immediatly */ -void g_thread_pool_push (GThreadPool *pool, - gpointer data, - GError **error); - -/* Set the number of threads, which can run concurrently for that pool, -1 - * means no limit. 0 means has the effect, that the pool won't process - * requests until the limit is set higher again */ -void g_thread_pool_set_max_threads (GThreadPool *pool, - gint max_threads, - GError **error); -gint g_thread_pool_get_max_threads (GThreadPool *pool); - -/* Get the number of threads assigned to that pool. This number doesn't - * necessarily represent the number of working threads in that pool */ -guint g_thread_pool_get_num_threads (GThreadPool *pool); - -/* Get the number of unprocessed items in the pool */ -guint g_thread_pool_unprocessed (GThreadPool *pool); - -/* Free the pool, immediate means, that all unprocessed items in the queue - * wont be processed, wait means, that the function doesn't return immediatly, - * but after all threads in the pool are ready processing items. immediate - * does however not mean, that threads are killed. */ -void g_thread_pool_free (GThreadPool *pool, - gboolean immediate, - gboolean wait_); - -/* Set the maximal number of unused threads before threads will be stopped by - * GLib, -1 means no limit */ -void g_thread_pool_set_max_unused_threads (gint max_threads); -gint g_thread_pool_get_max_unused_threads (void); -guint g_thread_pool_get_num_unused_threads (void); - -/* Stop all currently unused threads, but leave the limit untouched */ -void g_thread_pool_stop_unused_threads (void); - -/* Set sort function for priority threading */ -void g_thread_pool_set_sort_function (GThreadPool *pool, - GCompareDataFunc func, - gpointer user_data); - -/* Set maximum time a thread can be idle in the pool before it is stopped */ -void g_thread_pool_set_max_idle_time (guint interval); -guint g_thread_pool_get_max_idle_time (void); - -G_END_DECLS - -#endif /* __G_THREADPOOL_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtimer.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtimer.h deleted file mode 100644 index d602ae1b..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtimer.h +++ /dev/null @@ -1,61 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_TIMER_H__ -#define __G_TIMER_H__ - -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -/* Timer - */ - -/* microseconds per second */ -typedef struct _GTimer GTimer; - -#define G_USEC_PER_SEC 1000000 - -GTimer* g_timer_new (void); -void g_timer_destroy (GTimer *timer); -void g_timer_start (GTimer *timer); -void g_timer_stop (GTimer *timer); -void g_timer_reset (GTimer *timer); -void g_timer_continue (GTimer *timer); -gdouble g_timer_elapsed (GTimer *timer, - gulong *microseconds); - -void g_usleep (gulong microseconds); - -void g_time_val_add (GTimeVal *time_, - glong microseconds); -gboolean g_time_val_from_iso8601 (const gchar *iso_date, - GTimeVal *time_); -gchar* g_time_val_to_iso8601 (GTimeVal *time_) G_GNUC_MALLOC; - -G_END_DECLS - -#endif /* __G_TIMER_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtree.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtree.h deleted file mode 100644 index bab71279..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtree.h +++ /dev/null @@ -1,88 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_TREE_H__ -#define __G_TREE_H__ - -#include <glib/gnode.h> - -G_BEGIN_DECLS - -typedef struct _GTree GTree; - -typedef gboolean (*GTraverseFunc) (gpointer key, - gpointer value, - gpointer data); - -/* Balanced binary trees - */ -GTree* g_tree_new (GCompareFunc key_compare_func); -GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func, - gpointer key_compare_data); -GTree* g_tree_new_full (GCompareDataFunc key_compare_func, - gpointer key_compare_data, - GDestroyNotify key_destroy_func, - GDestroyNotify value_destroy_func); -void g_tree_destroy (GTree *tree); -void g_tree_insert (GTree *tree, - gpointer key, - gpointer value); -void g_tree_replace (GTree *tree, - gpointer key, - gpointer value); -gboolean g_tree_remove (GTree *tree, - gconstpointer key); -gboolean g_tree_steal (GTree *tree, - gconstpointer key); -gpointer g_tree_lookup (GTree *tree, - gconstpointer key); -gboolean g_tree_lookup_extended (GTree *tree, - gconstpointer lookup_key, - gpointer *orig_key, - gpointer *value); -void g_tree_foreach (GTree *tree, - GTraverseFunc func, - gpointer user_data); - -#ifndef G_DISABLE_DEPRECATED -void g_tree_traverse (GTree *tree, - GTraverseFunc traverse_func, - GTraverseType traverse_type, - gpointer user_data); -#endif /* G_DISABLE_DEPRECATED */ - -gpointer g_tree_search (GTree *tree, - GCompareFunc search_func, - gconstpointer user_data); -gint g_tree_height (GTree *tree); -gint g_tree_nnodes (GTree *tree); - - - -G_END_DECLS - -#endif /* __G_TREE_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtypes.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtypes.h deleted file mode 100644 index eaeabd2a..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gtypes.h +++ /dev/null @@ -1,429 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_TYPES_H__ -#define __G_TYPES_H__ - -#include <glibconfig.h> - -G_BEGIN_DECLS - -/* Provide type definitions for commonly used types. - * These are useful because a "gint8" can be adjusted - * to be 1 byte (8 bits) on all platforms. Similarly and - * more importantly, "gint32" can be adjusted to be - * 4 bytes (32 bits) on all platforms. - */ - -typedef char gchar; -typedef short gshort; -typedef long glong; -typedef int gint; -typedef gint gboolean; - -typedef unsigned char guchar; -typedef unsigned short gushort; -typedef unsigned long gulong; -typedef unsigned int guint; - -typedef float gfloat; -typedef double gdouble; - -/* Define min and max constants for the fixed size numerical types */ -#define G_MININT8 ((gint8) 0x80) -#define G_MAXINT8 ((gint8) 0x7f) -#define G_MAXUINT8 ((guint8) 0xff) - -#define G_MININT16 ((gint16) 0x8000) -#define G_MAXINT16 ((gint16) 0x7fff) -#define G_MAXUINT16 ((guint16) 0xffff) - -#define G_MININT32 ((gint32) 0x80000000) -#define G_MAXINT32 ((gint32) 0x7fffffff) -#define G_MAXUINT32 ((guint32) 0xffffffff) - -#define G_MININT64 ((gint64) G_GINT64_CONSTANT(0x8000000000000000)) -#define G_MAXINT64 G_GINT64_CONSTANT(0x7fffffffffffffff) -#define G_MAXUINT64 G_GINT64_CONSTANT(0xffffffffffffffffU) - -typedef void* gpointer; -typedef const void *gconstpointer; - -typedef gint (*GCompareFunc) (gconstpointer a, - gconstpointer b); -typedef gint (*GCompareDataFunc) (gconstpointer a, - gconstpointer b, - gpointer user_data); -typedef gboolean (*GEqualFunc) (gconstpointer a, - gconstpointer b); -typedef void (*GDestroyNotify) (gpointer data); -typedef void (*GFunc) (gpointer data, - gpointer user_data); -typedef guint (*GHashFunc) (gconstpointer key); -typedef void (*GHFunc) (gpointer key, - gpointer value, - gpointer user_data); -typedef void (*GFreeFunc) (gpointer data); -typedef const gchar * (*GTranslateFunc) (const gchar *str, - gpointer data); - - -/* Define some mathematical constants that aren't available - * symbolically in some strict ISO C implementations. - * - * Note that the large number of digits used in these definitions - * doesn't imply that GLib or current computers in general would be - * able to handle floating point numbers with an accuracy like this. - * It's mostly an exercise in futility and future proofing. For - * extended precision floating point support, look somewhere else - * than GLib. - */ -#define G_E 2.7182818284590452353602874713526624977572470937000 -#define G_LN2 0.69314718055994530941723212145817656807550013436026 -#define G_LN10 2.3025850929940456840179914546843642076011014886288 -#define G_PI 3.1415926535897932384626433832795028841971693993751 -#define G_PI_2 1.5707963267948966192313216916397514420985846996876 -#define G_PI_4 0.78539816339744830961566084581987572104929234984378 -#define G_SQRT2 1.4142135623730950488016887242096980785696718753769 - -/* Portable endian checks and conversions - * - * glibconfig.h defines G_BYTE_ORDER which expands to one of - * the below macros. - */ -#define G_LITTLE_ENDIAN 1234 -#define G_BIG_ENDIAN 4321 -#define G_PDP_ENDIAN 3412 /* unused, need specific PDP check */ - - -/* Basic bit swapping functions - */ -#define GUINT16_SWAP_LE_BE_CONSTANT(val) ((guint16) ( \ - (guint16) ((guint16) (val) >> 8) | \ - (guint16) ((guint16) (val) << 8))) - -#define GUINT32_SWAP_LE_BE_CONSTANT(val) ((guint32) ( \ - (((guint32) (val) & (guint32) 0x000000ffU) << 24) | \ - (((guint32) (val) & (guint32) 0x0000ff00U) << 8) | \ - (((guint32) (val) & (guint32) 0x00ff0000U) >> 8) | \ - (((guint32) (val) & (guint32) 0xff000000U) >> 24))) - -#define GUINT64_SWAP_LE_BE_CONSTANT(val) ((guint64) ( \ - (((guint64) (val) & \ - (guint64) G_GINT64_CONSTANT (0x00000000000000ffU)) << 56) | \ - (((guint64) (val) & \ - (guint64) G_GINT64_CONSTANT (0x000000000000ff00U)) << 40) | \ - (((guint64) (val) & \ - (guint64) G_GINT64_CONSTANT (0x0000000000ff0000U)) << 24) | \ - (((guint64) (val) & \ - (guint64) G_GINT64_CONSTANT (0x00000000ff000000U)) << 8) | \ - (((guint64) (val) & \ - (guint64) G_GINT64_CONSTANT (0x000000ff00000000U)) >> 8) | \ - (((guint64) (val) & \ - (guint64) G_GINT64_CONSTANT (0x0000ff0000000000U)) >> 24) | \ - (((guint64) (val) & \ - (guint64) G_GINT64_CONSTANT (0x00ff000000000000U)) >> 40) | \ - (((guint64) (val) & \ - (guint64) G_GINT64_CONSTANT (0xff00000000000000U)) >> 56))) - -/* Arch specific stuff for speed - */ -#if defined (__GNUC__) && (__GNUC__ >= 2) && defined (__OPTIMIZE__) -# if defined (__i386__) -# define GUINT16_SWAP_LE_BE_IA32(val) \ - (__extension__ \ - ({ register guint16 __v, __x = ((guint16) (val)); \ - if (__builtin_constant_p (__x)) \ - __v = GUINT16_SWAP_LE_BE_CONSTANT (__x); \ - else \ - __asm__ ("rorw $8, %w0" \ - : "=r" (__v) \ - : "0" (__x) \ - : "cc"); \ - __v; })) -# if !defined (__i486__) && !defined (__i586__) \ - && !defined (__pentium__) && !defined (__i686__) \ - && !defined (__pentiumpro__) && !defined (__pentium4__) -# define GUINT32_SWAP_LE_BE_IA32(val) \ - (__extension__ \ - ({ register guint32 __v, __x = ((guint32) (val)); \ - if (__builtin_constant_p (__x)) \ - __v = GUINT32_SWAP_LE_BE_CONSTANT (__x); \ - else \ - __asm__ ("rorw $8, %w0\n\t" \ - "rorl $16, %0\n\t" \ - "rorw $8, %w0" \ - : "=r" (__v) \ - : "0" (__x) \ - : "cc"); \ - __v; })) -# else /* 486 and higher has bswap */ -# define GUINT32_SWAP_LE_BE_IA32(val) \ - (__extension__ \ - ({ register guint32 __v, __x = ((guint32) (val)); \ - if (__builtin_constant_p (__x)) \ - __v = GUINT32_SWAP_LE_BE_CONSTANT (__x); \ - else \ - __asm__ ("bswap %0" \ - : "=r" (__v) \ - : "0" (__x)); \ - __v; })) -# endif /* processor specific 32-bit stuff */ -# define GUINT64_SWAP_LE_BE_IA32(val) \ - (__extension__ \ - ({ union { guint64 __ll; \ - guint32 __l[2]; } __w, __r; \ - __w.__ll = ((guint64) (val)); \ - if (__builtin_constant_p (__w.__ll)) \ - __r.__ll = GUINT64_SWAP_LE_BE_CONSTANT (__w.__ll); \ - else \ - { \ - __r.__l[0] = GUINT32_SWAP_LE_BE (__w.__l[1]); \ - __r.__l[1] = GUINT32_SWAP_LE_BE (__w.__l[0]); \ - } \ - __r.__ll; })) - /* Possibly just use the constant version and let gcc figure it out? */ -# define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_IA32 (val)) -# define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_IA32 (val)) -# define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_IA32 (val)) -# elif defined (__ia64__) -# define GUINT16_SWAP_LE_BE_IA64(val) \ - (__extension__ \ - ({ register guint16 __v, __x = ((guint16) (val)); \ - if (__builtin_constant_p (__x)) \ - __v = GUINT16_SWAP_LE_BE_CONSTANT (__x); \ - else \ - __asm__ __volatile__ ("shl %0 = %1, 48 ;;" \ - "mux1 %0 = %0, @rev ;;" \ - : "=r" (__v) \ - : "r" (__x)); \ - __v; })) -# define GUINT32_SWAP_LE_BE_IA64(val) \ - (__extension__ \ - ({ register guint32 __v, __x = ((guint32) (val)); \ - if (__builtin_constant_p (__x)) \ - __v = GUINT32_SWAP_LE_BE_CONSTANT (__x); \ - else \ - __asm__ __volatile__ ("shl %0 = %1, 32 ;;" \ - "mux1 %0 = %0, @rev ;;" \ - : "=r" (__v) \ - : "r" (__x)); \ - __v; })) -# define GUINT64_SWAP_LE_BE_IA64(val) \ - (__extension__ \ - ({ register guint64 __v, __x = ((guint64) (val)); \ - if (__builtin_constant_p (__x)) \ - __v = GUINT64_SWAP_LE_BE_CONSTANT (__x); \ - else \ - __asm__ __volatile__ ("mux1 %0 = %1, @rev ;;" \ - : "=r" (__v) \ - : "r" (__x)); \ - __v; })) -# define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_IA64 (val)) -# define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_IA64 (val)) -# define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_IA64 (val)) -# elif defined (__x86_64__) -# define GUINT32_SWAP_LE_BE_X86_64(val) \ - (__extension__ \ - ({ register guint32 __v, __x = ((guint32) (val)); \ - if (__builtin_constant_p (__x)) \ - __v = GUINT32_SWAP_LE_BE_CONSTANT (__x); \ - else \ - __asm__ ("bswapl %0" \ - : "=r" (__v) \ - : "0" (__x)); \ - __v; })) -# define GUINT64_SWAP_LE_BE_X86_64(val) \ - (__extension__ \ - ({ register guint64 __v, __x = ((guint64) (val)); \ - if (__builtin_constant_p (__x)) \ - __v = GUINT64_SWAP_LE_BE_CONSTANT (__x); \ - else \ - __asm__ ("bswapq %0" \ - : "=r" (__v) \ - : "0" (__x)); \ - __v; })) - /* gcc seems to figure out optimal code for this on its own */ -# define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_CONSTANT (val)) -# define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_X86_64 (val)) -# define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_X86_64 (val)) -# else /* generic gcc */ -# define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_CONSTANT (val)) -# define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_CONSTANT (val)) -# define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_CONSTANT (val)) -# endif -#else /* generic */ -# define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_CONSTANT (val)) -# define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_CONSTANT (val)) -# define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_CONSTANT (val)) -#endif /* generic */ - -#define GUINT16_SWAP_LE_PDP(val) ((guint16) (val)) -#define GUINT16_SWAP_BE_PDP(val) (GUINT16_SWAP_LE_BE (val)) -#define GUINT32_SWAP_LE_PDP(val) ((guint32) ( \ - (((guint32) (val) & (guint32) 0x0000ffffU) << 16) | \ - (((guint32) (val) & (guint32) 0xffff0000U) >> 16))) -#define GUINT32_SWAP_BE_PDP(val) ((guint32) ( \ - (((guint32) (val) & (guint32) 0x00ff00ffU) << 8) | \ - (((guint32) (val) & (guint32) 0xff00ff00U) >> 8))) - -/* The G*_TO_?E() macros are defined in glibconfig.h. - * The transformation is symmetric, so the FROM just maps to the TO. - */ -#define GINT16_FROM_LE(val) (GINT16_TO_LE (val)) -#define GUINT16_FROM_LE(val) (GUINT16_TO_LE (val)) -#define GINT16_FROM_BE(val) (GINT16_TO_BE (val)) -#define GUINT16_FROM_BE(val) (GUINT16_TO_BE (val)) -#define GINT32_FROM_LE(val) (GINT32_TO_LE (val)) -#define GUINT32_FROM_LE(val) (GUINT32_TO_LE (val)) -#define GINT32_FROM_BE(val) (GINT32_TO_BE (val)) -#define GUINT32_FROM_BE(val) (GUINT32_TO_BE (val)) - -#define GINT64_FROM_LE(val) (GINT64_TO_LE (val)) -#define GUINT64_FROM_LE(val) (GUINT64_TO_LE (val)) -#define GINT64_FROM_BE(val) (GINT64_TO_BE (val)) -#define GUINT64_FROM_BE(val) (GUINT64_TO_BE (val)) - -#define GLONG_FROM_LE(val) (GLONG_TO_LE (val)) -#define GULONG_FROM_LE(val) (GULONG_TO_LE (val)) -#define GLONG_FROM_BE(val) (GLONG_TO_BE (val)) -#define GULONG_FROM_BE(val) (GULONG_TO_BE (val)) - -#define GINT_FROM_LE(val) (GINT_TO_LE (val)) -#define GUINT_FROM_LE(val) (GUINT_TO_LE (val)) -#define GINT_FROM_BE(val) (GINT_TO_BE (val)) -#define GUINT_FROM_BE(val) (GUINT_TO_BE (val)) - - -/* Portable versions of host-network order stuff - */ -#define g_ntohl(val) (GUINT32_FROM_BE (val)) -#define g_ntohs(val) (GUINT16_FROM_BE (val)) -#define g_htonl(val) (GUINT32_TO_BE (val)) -#define g_htons(val) (GUINT16_TO_BE (val)) - -/* IEEE Standard 754 Single Precision Storage Format (gfloat): - * - * 31 30 23 22 0 - * +--------+---------------+---------------+ - * | s 1bit | e[30:23] 8bit | f[22:0] 23bit | - * +--------+---------------+---------------+ - * B0------------------->B1------->B2-->B3--> - * - * IEEE Standard 754 Double Precision Storage Format (gdouble): - * - * 63 62 52 51 32 31 0 - * +--------+----------------+----------------+ +---------------+ - * | s 1bit | e[62:52] 11bit | f[51:32] 20bit | | f[31:0] 32bit | - * +--------+----------------+----------------+ +---------------+ - * B0--------------->B1---------->B2--->B3----> B4->B5->B6->B7-> - */ -/* subtract from biased_exponent to form base2 exponent (normal numbers) */ -typedef union _GDoubleIEEE754 GDoubleIEEE754; -typedef union _GFloatIEEE754 GFloatIEEE754; -#define G_IEEE754_FLOAT_BIAS (127) -#define G_IEEE754_DOUBLE_BIAS (1023) -/* multiply with base2 exponent to get base10 exponent (normal numbers) */ -#define G_LOG_2_BASE_10 (0.30102999566398119521) -#if G_BYTE_ORDER == G_LITTLE_ENDIAN -union _GFloatIEEE754 -{ - gfloat v_float; - struct { - guint mantissa : 23; - guint biased_exponent : 8; - guint sign : 1; - } mpn; -}; -union _GDoubleIEEE754 -{ - gdouble v_double; - struct { - guint mantissa_low : 32; - guint mantissa_high : 20; - guint biased_exponent : 11; - guint sign : 1; - } mpn; -}; -#elif G_BYTE_ORDER == G_BIG_ENDIAN -union _GFloatIEEE754 -{ - gfloat v_float; - struct { - guint sign : 1; - guint biased_exponent : 8; - guint mantissa : 23; - } mpn; -}; -union _GDoubleIEEE754 -{ - gdouble v_double; - struct { - guint sign : 1; - guint biased_exponent : 11; - guint mantissa_high : 20; - guint mantissa_low : 32; - } mpn; -}; -#else /* !G_LITTLE_ENDIAN && !G_BIG_ENDIAN */ -#error unknown ENDIAN type -#endif /* !G_LITTLE_ENDIAN && !G_BIG_ENDIAN */ - -typedef struct _GTimeVal GTimeVal; - -struct _GTimeVal -{ - glong tv_sec; - glong tv_usec; -}; - -G_END_DECLS - -/* We prefix variable declarations so they can - * properly get exported in windows dlls. - */ -#ifndef GLIB_VAR -# ifdef G_PLATFORM_WIN32 -# ifdef GLIB_STATIC_COMPILATION -# define GLIB_VAR extern -# else /* !GLIB_STATIC_COMPILATION */ -# ifdef GLIB_COMPILATION -# ifdef DLL_EXPORT -# define GLIB_VAR __declspec(dllexport) -# else /* !DLL_EXPORT */ -# define GLIB_VAR extern -# endif /* !DLL_EXPORT */ -# else /* !GLIB_COMPILATION */ -# define GLIB_VAR extern __declspec(dllimport) -# endif /* !GLIB_COMPILATION */ -# endif /* !GLIB_STATIC_COMPILATION */ -# else /* !G_PLATFORM_WIN32 */ -# define GLIB_VAR extern -# endif /* !G_PLATFORM_WIN32 */ -#endif /* GLIB_VAR */ - -#endif /* __G_TYPES_H__ */ - diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gunicode.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gunicode.h deleted file mode 100644 index d27878cb..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gunicode.h +++ /dev/null @@ -1,401 +0,0 @@ -/* gunicode.h - Unicode manipulation functions - * - * Copyright (C) 1999, 2000 Tom Tromey - * Copyright 2000, 2005 Red Hat, Inc. - * - * The Gnome 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. - * - * The Gnome 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 the Gnome Library; see the file COPYING.LIB. If not, - * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __G_UNICODE_H__ -#define __G_UNICODE_H__ - -#include <glib/gerror.h> -#include <glib/gtypes.h> - -G_BEGIN_DECLS - -typedef guint32 gunichar; -typedef guint16 gunichar2; - -/* These are the possible character classifications. - * See http://www.unicode.org/Public/UNIDATA/UCD.html#General_Category_Values - */ -typedef enum -{ - G_UNICODE_CONTROL, - G_UNICODE_FORMAT, - G_UNICODE_UNASSIGNED, - G_UNICODE_PRIVATE_USE, - G_UNICODE_SURROGATE, - G_UNICODE_LOWERCASE_LETTER, - G_UNICODE_MODIFIER_LETTER, - G_UNICODE_OTHER_LETTER, - G_UNICODE_TITLECASE_LETTER, - G_UNICODE_UPPERCASE_LETTER, - G_UNICODE_COMBINING_MARK, - G_UNICODE_ENCLOSING_MARK, - G_UNICODE_NON_SPACING_MARK, - G_UNICODE_DECIMAL_NUMBER, - G_UNICODE_LETTER_NUMBER, - G_UNICODE_OTHER_NUMBER, - G_UNICODE_CONNECT_PUNCTUATION, - G_UNICODE_DASH_PUNCTUATION, - G_UNICODE_CLOSE_PUNCTUATION, - G_UNICODE_FINAL_PUNCTUATION, - G_UNICODE_INITIAL_PUNCTUATION, - G_UNICODE_OTHER_PUNCTUATION, - G_UNICODE_OPEN_PUNCTUATION, - G_UNICODE_CURRENCY_SYMBOL, - G_UNICODE_MODIFIER_SYMBOL, - G_UNICODE_MATH_SYMBOL, - G_UNICODE_OTHER_SYMBOL, - G_UNICODE_LINE_SEPARATOR, - G_UNICODE_PARAGRAPH_SEPARATOR, - G_UNICODE_SPACE_SEPARATOR -} GUnicodeType; - -/* These are the possible line break classifications. - * Note that new types may be added in the future. - * Implementations may regard unknown values like G_UNICODE_BREAK_UNKNOWN - * See http://www.unicode.org/unicode/reports/tr14/ - */ -typedef enum -{ - G_UNICODE_BREAK_MANDATORY, - G_UNICODE_BREAK_CARRIAGE_RETURN, - G_UNICODE_BREAK_LINE_FEED, - G_UNICODE_BREAK_COMBINING_MARK, - G_UNICODE_BREAK_SURROGATE, - G_UNICODE_BREAK_ZERO_WIDTH_SPACE, - G_UNICODE_BREAK_INSEPARABLE, - G_UNICODE_BREAK_NON_BREAKING_GLUE, - G_UNICODE_BREAK_CONTINGENT, - G_UNICODE_BREAK_SPACE, - G_UNICODE_BREAK_AFTER, - G_UNICODE_BREAK_BEFORE, - G_UNICODE_BREAK_BEFORE_AND_AFTER, - G_UNICODE_BREAK_HYPHEN, - G_UNICODE_BREAK_NON_STARTER, - G_UNICODE_BREAK_OPEN_PUNCTUATION, - G_UNICODE_BREAK_CLOSE_PUNCTUATION, - G_UNICODE_BREAK_QUOTATION, - G_UNICODE_BREAK_EXCLAMATION, - G_UNICODE_BREAK_IDEOGRAPHIC, - G_UNICODE_BREAK_NUMERIC, - G_UNICODE_BREAK_INFIX_SEPARATOR, - G_UNICODE_BREAK_SYMBOL, - G_UNICODE_BREAK_ALPHABETIC, - G_UNICODE_BREAK_PREFIX, - G_UNICODE_BREAK_POSTFIX, - G_UNICODE_BREAK_COMPLEX_CONTEXT, - G_UNICODE_BREAK_AMBIGUOUS, - G_UNICODE_BREAK_UNKNOWN, - G_UNICODE_BREAK_NEXT_LINE, - G_UNICODE_BREAK_WORD_JOINER, - G_UNICODE_BREAK_HANGUL_L_JAMO, - G_UNICODE_BREAK_HANGUL_V_JAMO, - G_UNICODE_BREAK_HANGUL_T_JAMO, - G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, - G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE -} GUnicodeBreakType; - -typedef enum -{ /* ISO 15924 code */ - G_UNICODE_SCRIPT_INVALID_CODE = -1, - G_UNICODE_SCRIPT_COMMON = 0, /* Zyyy */ - G_UNICODE_SCRIPT_INHERITED, /* Qaai */ - G_UNICODE_SCRIPT_ARABIC, /* Arab */ - G_UNICODE_SCRIPT_ARMENIAN, /* Armn */ - G_UNICODE_SCRIPT_BENGALI, /* Beng */ - G_UNICODE_SCRIPT_BOPOMOFO, /* Bopo */ - G_UNICODE_SCRIPT_CHEROKEE, /* Cher */ - G_UNICODE_SCRIPT_COPTIC, /* Qaac */ - G_UNICODE_SCRIPT_CYRILLIC, /* Cyrl (Cyrs) */ - G_UNICODE_SCRIPT_DESERET, /* Dsrt */ - G_UNICODE_SCRIPT_DEVANAGARI, /* Deva */ - G_UNICODE_SCRIPT_ETHIOPIC, /* Ethi */ - G_UNICODE_SCRIPT_GEORGIAN, /* Geor (Geon, Geoa) */ - G_UNICODE_SCRIPT_GOTHIC, /* Goth */ - G_UNICODE_SCRIPT_GREEK, /* Grek */ - G_UNICODE_SCRIPT_GUJARATI, /* Gujr */ - G_UNICODE_SCRIPT_GURMUKHI, /* Guru */ - G_UNICODE_SCRIPT_HAN, /* Hani */ - G_UNICODE_SCRIPT_HANGUL, /* Hang */ - G_UNICODE_SCRIPT_HEBREW, /* Hebr */ - G_UNICODE_SCRIPT_HIRAGANA, /* Hira */ - G_UNICODE_SCRIPT_KANNADA, /* Knda */ - G_UNICODE_SCRIPT_KATAKANA, /* Kana */ - G_UNICODE_SCRIPT_KHMER, /* Khmr */ - G_UNICODE_SCRIPT_LAO, /* Laoo */ - G_UNICODE_SCRIPT_LATIN, /* Latn (Latf, Latg) */ - G_UNICODE_SCRIPT_MALAYALAM, /* Mlym */ - G_UNICODE_SCRIPT_MONGOLIAN, /* Mong */ - G_UNICODE_SCRIPT_MYANMAR, /* Mymr */ - G_UNICODE_SCRIPT_OGHAM, /* Ogam */ - G_UNICODE_SCRIPT_OLD_ITALIC, /* Ital */ - G_UNICODE_SCRIPT_ORIYA, /* Orya */ - G_UNICODE_SCRIPT_RUNIC, /* Runr */ - G_UNICODE_SCRIPT_SINHALA, /* Sinh */ - G_UNICODE_SCRIPT_SYRIAC, /* Syrc (Syrj, Syrn, Syre) */ - G_UNICODE_SCRIPT_TAMIL, /* Taml */ - G_UNICODE_SCRIPT_TELUGU, /* Telu */ - G_UNICODE_SCRIPT_THAANA, /* Thaa */ - G_UNICODE_SCRIPT_THAI, /* Thai */ - G_UNICODE_SCRIPT_TIBETAN, /* Tibt */ - G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL, /* Cans */ - G_UNICODE_SCRIPT_YI, /* Yiii */ - G_UNICODE_SCRIPT_TAGALOG, /* Tglg */ - G_UNICODE_SCRIPT_HANUNOO, /* Hano */ - G_UNICODE_SCRIPT_BUHID, /* Buhd */ - G_UNICODE_SCRIPT_TAGBANWA, /* Tagb */ - - /* Unicode-4.0 additions */ - G_UNICODE_SCRIPT_BRAILLE, /* Brai */ - G_UNICODE_SCRIPT_CYPRIOT, /* Cprt */ - G_UNICODE_SCRIPT_LIMBU, /* Limb */ - G_UNICODE_SCRIPT_OSMANYA, /* Osma */ - G_UNICODE_SCRIPT_SHAVIAN, /* Shaw */ - G_UNICODE_SCRIPT_LINEAR_B, /* Linb */ - G_UNICODE_SCRIPT_TAI_LE, /* Tale */ - G_UNICODE_SCRIPT_UGARITIC, /* Ugar */ - - /* Unicode-4.1 additions */ - G_UNICODE_SCRIPT_NEW_TAI_LUE, /* Talu */ - G_UNICODE_SCRIPT_BUGINESE, /* Bugi */ - G_UNICODE_SCRIPT_GLAGOLITIC, /* Glag */ - G_UNICODE_SCRIPT_TIFINAGH, /* Tfng */ - G_UNICODE_SCRIPT_SYLOTI_NAGRI, /* Sylo */ - G_UNICODE_SCRIPT_OLD_PERSIAN, /* Xpeo */ - G_UNICODE_SCRIPT_KHAROSHTHI, /* Khar */ - - /* Unicode-5.0 additions */ - G_UNICODE_SCRIPT_UNKNOWN, /* Zzzz */ - G_UNICODE_SCRIPT_BALINESE, /* Bali */ - G_UNICODE_SCRIPT_CUNEIFORM, /* Xsux */ - G_UNICODE_SCRIPT_PHOENICIAN, /* Phnx */ - G_UNICODE_SCRIPT_PHAGS_PA, /* Phag */ - G_UNICODE_SCRIPT_NKO, /* Nkoo */ - - /* Unicode-5.1 additions */ - G_UNICODE_SCRIPT_KAYAH_LI, - G_UNICODE_SCRIPT_LEPCHA, - G_UNICODE_SCRIPT_REJANG, - G_UNICODE_SCRIPT_SUNDANESE, - G_UNICODE_SCRIPT_SAURASHTRA, - G_UNICODE_SCRIPT_CHAM, - G_UNICODE_SCRIPT_OL_CHIKI, - G_UNICODE_SCRIPT_VAI, - G_UNICODE_SCRIPT_CARIAN, - G_UNICODE_SCRIPT_LYCIAN, - G_UNICODE_SCRIPT_LYDIAN -} GUnicodeScript; - -/* Returns TRUE if current locale uses UTF-8 charset. If CHARSET is - * not null, sets *CHARSET to the name of the current locale's - * charset. This value is statically allocated, and should be copied - * in case the locale's charset will be changed later using setlocale() - * or in some other way. - */ -gboolean g_get_charset (G_CONST_RETURN char **charset); - -/* These are all analogs of the <ctype.h> functions. - */ -gboolean g_unichar_isalnum (gunichar c) G_GNUC_CONST; -gboolean g_unichar_isalpha (gunichar c) G_GNUC_CONST; -gboolean g_unichar_iscntrl (gunichar c) G_GNUC_CONST; -gboolean g_unichar_isdigit (gunichar c) G_GNUC_CONST; -gboolean g_unichar_isgraph (gunichar c) G_GNUC_CONST; -gboolean g_unichar_islower (gunichar c) G_GNUC_CONST; -gboolean g_unichar_isprint (gunichar c) G_GNUC_CONST; -gboolean g_unichar_ispunct (gunichar c) G_GNUC_CONST; -gboolean g_unichar_isspace (gunichar c) G_GNUC_CONST; -gboolean g_unichar_isupper (gunichar c) G_GNUC_CONST; -gboolean g_unichar_isxdigit (gunichar c) G_GNUC_CONST; -gboolean g_unichar_istitle (gunichar c) G_GNUC_CONST; -gboolean g_unichar_isdefined (gunichar c) G_GNUC_CONST; -gboolean g_unichar_iswide (gunichar c) G_GNUC_CONST; -gboolean g_unichar_iswide_cjk(gunichar c) G_GNUC_CONST; -gboolean g_unichar_iszerowidth(gunichar c) G_GNUC_CONST; -gboolean g_unichar_ismark (gunichar c) G_GNUC_CONST; - -/* More <ctype.h> functions. These convert between the three cases. - * See the Unicode book to understand title case. */ -gunichar g_unichar_toupper (gunichar c) G_GNUC_CONST; -gunichar g_unichar_tolower (gunichar c) G_GNUC_CONST; -gunichar g_unichar_totitle (gunichar c) G_GNUC_CONST; - -/* If C is a digit (according to `g_unichar_isdigit'), then return its - numeric value. Otherwise return -1. */ -gint g_unichar_digit_value (gunichar c) G_GNUC_CONST; - -gint g_unichar_xdigit_value (gunichar c) G_GNUC_CONST; - -/* Return the Unicode character type of a given character. */ -GUnicodeType g_unichar_type (gunichar c) G_GNUC_CONST; - -/* Return the line break property for a given character */ -GUnicodeBreakType g_unichar_break_type (gunichar c) G_GNUC_CONST; - -/* Returns the combining class for a given character */ -gint g_unichar_combining_class (gunichar uc) G_GNUC_CONST; - - -/* Compute canonical ordering of a string in-place. This rearranges - decomposed characters in the string according to their combining - classes. See the Unicode manual for more information. */ -void g_unicode_canonical_ordering (gunichar *string, - gsize len); - -/* Compute canonical decomposition of a character. Returns g_malloc()d - string of Unicode characters. RESULT_LEN is set to the resulting - length of the string. */ -gunichar *g_unicode_canonical_decomposition (gunichar ch, - gsize *result_len) G_GNUC_MALLOC; - -/* Array of skip-bytes-per-initial character. - */ -GLIB_VAR const gchar * const g_utf8_skip; - -#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(const guchar *)(p)]) - -gunichar g_utf8_get_char (const gchar *p) G_GNUC_PURE; -gunichar g_utf8_get_char_validated (const gchar *p, - gssize max_len) G_GNUC_PURE; - -gchar* g_utf8_offset_to_pointer (const gchar *str, - glong offset) G_GNUC_PURE; -glong g_utf8_pointer_to_offset (const gchar *str, - const gchar *pos) G_GNUC_PURE; -gchar* g_utf8_prev_char (const gchar *p) G_GNUC_PURE; -gchar* g_utf8_find_next_char (const gchar *p, - const gchar *end) G_GNUC_PURE; -gchar* g_utf8_find_prev_char (const gchar *str, - const gchar *p) G_GNUC_PURE; - -glong g_utf8_strlen (const gchar *p, - gssize max) G_GNUC_PURE; - -/* Copies n characters from src to dest */ -gchar* g_utf8_strncpy (gchar *dest, - const gchar *src, - gsize n); - -/* Find the UTF-8 character corresponding to ch, in string p. These - functions are equivalants to strchr and strrchr */ -gchar* g_utf8_strchr (const gchar *p, - gssize len, - gunichar c); -gchar* g_utf8_strrchr (const gchar *p, - gssize len, - gunichar c); -gchar* g_utf8_strreverse (const gchar *str, - gssize len); - -gunichar2 *g_utf8_to_utf16 (const gchar *str, - glong len, - glong *items_read, - glong *items_written, - GError **error) G_GNUC_MALLOC; -gunichar * g_utf8_to_ucs4 (const gchar *str, - glong len, - glong *items_read, - glong *items_written, - GError **error) G_GNUC_MALLOC; -gunichar * g_utf8_to_ucs4_fast (const gchar *str, - glong len, - glong *items_written) G_GNUC_MALLOC; -gunichar * g_utf16_to_ucs4 (const gunichar2 *str, - glong len, - glong *items_read, - glong *items_written, - GError **error) G_GNUC_MALLOC; -gchar* g_utf16_to_utf8 (const gunichar2 *str, - glong len, - glong *items_read, - glong *items_written, - GError **error) G_GNUC_MALLOC; -gunichar2 *g_ucs4_to_utf16 (const gunichar *str, - glong len, - glong *items_read, - glong *items_written, - GError **error) G_GNUC_MALLOC; -gchar* g_ucs4_to_utf8 (const gunichar *str, - glong len, - glong *items_read, - glong *items_written, - GError **error) G_GNUC_MALLOC; - -/* Convert a single character into UTF-8. outbuf must have at - * least 6 bytes of space. Returns the number of bytes in the - * result. - */ -gint g_unichar_to_utf8 (gunichar c, - gchar *outbuf); - -/* Validate a UTF8 string, return TRUE if valid, put pointer to - * first invalid char in **end - */ - -gboolean g_utf8_validate (const gchar *str, - gssize max_len, - const gchar **end); - -/* Validate a Unicode character */ -gboolean g_unichar_validate (gunichar ch) G_GNUC_CONST; - -gchar *g_utf8_strup (const gchar *str, - gssize len) G_GNUC_MALLOC; -gchar *g_utf8_strdown (const gchar *str, - gssize len) G_GNUC_MALLOC; -gchar *g_utf8_casefold (const gchar *str, - gssize len) G_GNUC_MALLOC; - -typedef enum { - G_NORMALIZE_DEFAULT, - G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT, - G_NORMALIZE_DEFAULT_COMPOSE, - G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE, - G_NORMALIZE_ALL, - G_NORMALIZE_NFKD = G_NORMALIZE_ALL, - G_NORMALIZE_ALL_COMPOSE, - G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE -} GNormalizeMode; - -gchar *g_utf8_normalize (const gchar *str, - gssize len, - GNormalizeMode mode) G_GNUC_MALLOC; - -gint g_utf8_collate (const gchar *str1, - const gchar *str2) G_GNUC_PURE; -gchar *g_utf8_collate_key (const gchar *str, - gssize len) G_GNUC_MALLOC; -gchar *g_utf8_collate_key_for_filename (const gchar *str, - gssize len) G_GNUC_MALLOC; - -gboolean g_unichar_get_mirror_char (gunichar ch, - gunichar *mirrored_ch); - -GUnicodeScript g_unichar_get_script (gunichar ch) G_GNUC_CONST; - - -/* private */ - -gchar *_g_utf8_make_valid (const gchar *name); - - -G_END_DECLS - -#endif /* __G_UNICODE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gurifuncs.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gurifuncs.h deleted file mode 100644 index 62f1dd28..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gurifuncs.h +++ /dev/null @@ -1,77 +0,0 @@ -/* GIO - GLib Input, Output and Streaming Library - * - * Copyright (C) 2006-2007 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. - * - * Author: Alexander Larsson <alexl@redhat.com> - */ - -#ifndef __G_URI_FUNCS_H__ -#define __G_URI_FUNCS_H__ - -#include <glib.h> - -G_BEGIN_DECLS - -/** - * G_URI_RESERVED_CHARS_GENERIC_DELIMITERS: - * - * Generic delimiters characters as defined in RFC 3986. Includes ":/?#[]@". - **/ -#define G_URI_RESERVED_CHARS_GENERIC_DELIMITERS ":/?#[]@" - -/** - * G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS - * - * Subcomponent delimiter characters as defined in RFC 3986. Includes "!$&'()*+,;=". - **/ -#define G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS "!$&'()*+,;=" - -/** - * G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT: - * - * Allowed characters in path elements. Includes "!$&'()*+,;=:@". - **/ -#define G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS ":@" - -/** - * G_URI_RESERVED_CHARS_ALLOWED_IN_PATH: - * - * Allowed characters in a path. Includes "!$&'()*+,;=:@/". - **/ -#define G_URI_RESERVED_CHARS_ALLOWED_IN_PATH G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT "/" - -/** - * G_URI_RESERVED_CHARS_ALLOWED_IN_USERINFO: - * - * Allowed characters in userinfo as defined in RFC 3986. Includes "!$&'()*+,;=:". - **/ -#define G_URI_RESERVED_CHARS_ALLOWED_IN_USERINFO G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS ":" - -char * g_uri_unescape_string (const char *escaped_string, - const char *illegal_characters); -char * g_uri_unescape_segment (const char *escaped_string, - const char *escaped_string_end, - const char *illegal_characters); -char * g_uri_parse_scheme (const char *uri); -char * g_uri_escape_string (const char *unescaped, - const char *reserved_chars_allowed, - gboolean allow_utf8); - -G_END_DECLS - -#endif /* __G_URI_FUNCS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gutils.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gutils.h deleted file mode 100644 index 7685809f..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gutils.h +++ /dev/null @@ -1,477 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_UTILS_H__ -#define __G_UTILS_H__ - -#include <glib/gtypes.h> -#include <stdarg.h> - -G_BEGIN_DECLS - -#ifdef G_OS_WIN32 - -/* On Win32, the canonical directory separator is the backslash, and - * the search path separator is the semicolon. Note that also the - * (forward) slash works as directory separator. - */ -#define G_DIR_SEPARATOR '\\' -#define G_DIR_SEPARATOR_S "\\" -#define G_IS_DIR_SEPARATOR(c) ((c) == G_DIR_SEPARATOR || (c) == '/') -#define G_SEARCHPATH_SEPARATOR ';' -#define G_SEARCHPATH_SEPARATOR_S ";" - -#else /* !G_OS_WIN32 */ - -/* Unix */ - -#define G_DIR_SEPARATOR '/' -#define G_DIR_SEPARATOR_S "/" -#define G_IS_DIR_SEPARATOR(c) ((c) == G_DIR_SEPARATOR) -#define G_SEARCHPATH_SEPARATOR ':' -#define G_SEARCHPATH_SEPARATOR_S ":" - -#endif /* !G_OS_WIN32 */ - -/* Define G_VA_COPY() to do the right thing for copying va_list variables. - * glibconfig.h may have already defined G_VA_COPY as va_copy or __va_copy. - */ -#if !defined (G_VA_COPY) -# if defined (__GNUC__) && defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32)) -# define G_VA_COPY(ap1, ap2) (*(ap1) = *(ap2)) -# elif defined (G_VA_COPY_AS_ARRAY) -# define G_VA_COPY(ap1, ap2) g_memmove ((ap1), (ap2), sizeof (va_list)) -# else /* va_list is a pointer */ -# define G_VA_COPY(ap1, ap2) ((ap1) = (ap2)) -# endif /* va_list is a pointer */ -#endif /* !G_VA_COPY */ - -/* inlining hassle. for compilers that don't allow the `inline' keyword, - * mostly because of strict ANSI C compliance or dumbness, we try to fall - * back to either `__inline__' or `__inline'. - * G_CAN_INLINE is defined in glibconfig.h if the compiler seems to be - * actually *capable* to do function inlining, in which case inline - * function bodies do make sense. we also define G_INLINE_FUNC to properly - * export the function prototypes if no inlining can be performed. - * inline function bodies have to be special cased with G_CAN_INLINE and a - * .c file specific macro to allow one compiled instance with extern linkage - * of the functions by defining G_IMPLEMENT_INLINES and the .c file macro. - */ -#if defined (G_HAVE_INLINE) && defined (__GNUC__) && defined (__STRICT_ANSI__) -# undef inline -# define inline __inline__ -#elif !defined (G_HAVE_INLINE) -# undef inline -# if defined (G_HAVE___INLINE__) -# define inline __inline__ -# elif defined (G_HAVE___INLINE) -# define inline __inline -# else /* !inline && !__inline__ && !__inline */ -# define inline /* don't inline, then */ -# endif -#endif -#ifdef G_IMPLEMENT_INLINES -# define G_INLINE_FUNC -# undef G_CAN_INLINE -#elif defined (__GNUC__) -# if defined (__GNUC_STDC_INLINE__) || defined (__GNUC_GNU_INLINE__) -# define G_INLINE_FUNC extern inline __attribute__ ((__gnu_inline__)) -# else -# define G_INLINE_FUNC extern inline -# endif -#elif defined (G_CAN_INLINE) -# define G_INLINE_FUNC static inline -#else /* can't inline */ -# define G_INLINE_FUNC -#endif /* !G_INLINE_FUNC */ - -/* Retrive static string info - */ -#ifdef G_OS_WIN32 -#define g_get_user_name g_get_user_name_utf8 -#define g_get_real_name g_get_real_name_utf8 -#define g_get_home_dir g_get_home_dir_utf8 -#define g_get_tmp_dir g_get_tmp_dir_utf8 -#endif - -G_CONST_RETURN gchar* g_get_user_name (void); -G_CONST_RETURN gchar* g_get_real_name (void); -G_CONST_RETURN gchar* g_get_home_dir (void); -G_CONST_RETURN gchar* g_get_tmp_dir (void); -G_CONST_RETURN gchar* g_get_host_name (void); -gchar* g_get_prgname (void); -void g_set_prgname (const gchar *prgname); -G_CONST_RETURN gchar* g_get_application_name (void); -void g_set_application_name (const gchar *application_name); - -G_CONST_RETURN gchar* g_get_user_data_dir (void); -G_CONST_RETURN gchar* g_get_user_config_dir (void); -G_CONST_RETURN gchar* g_get_user_cache_dir (void); -G_CONST_RETURN gchar* G_CONST_RETURN * g_get_system_data_dirs (void); - -#ifdef G_OS_WIN32 -G_CONST_RETURN gchar* G_CONST_RETURN * g_win32_get_system_data_dirs_for_module (gconstpointer address); -#endif - -#if defined (G_OS_WIN32) && defined (G_CAN_INLINE) && !defined (__cplusplus) -static inline G_CONST_RETURN gchar * G_CONST_RETURN * -g_win32_get_system_data_dirs (void) -{ - return g_win32_get_system_data_dirs_for_module ((gconstpointer) &g_win32_get_system_data_dirs); -} -#define g_get_system_data_dirs g_win32_get_system_data_dirs -#endif - -G_CONST_RETURN gchar* G_CONST_RETURN * g_get_system_config_dirs (void); - -G_CONST_RETURN gchar* G_CONST_RETURN * g_get_language_names (void); - -/** - * GUserDirectory: - * @G_USER_DIRECTORY_DESKTOP: the user's Desktop directory - * @G_USER_DIRECTORY_DOCUMENTS: the user's Documents directory - * @G_USER_DIRECTORY_DOWNLOAD: the user's Downloads directory - * @G_USER_DIRECTORY_MUSIC: the user's Music directory - * @G_USER_DIRECTORY_PICTURES: the user's Pictures directory - * @G_USER_DIRECTORY_PUBLIC_SHARE: the user's shared directory - * @G_USER_DIRECTORY_TEMPLATES: the user's Templates directory - * @G_USER_DIRECTORY_VIDEOS: the user's Movies directory - * @G_USER_N_DIRECTORIES: the number of enum values - * - * These are logical ids for special directories which are defined - * depending on the platform used. You should use g_get_user_special_dir() - * to retrieve the full path associated to the logical id. - * - * The #GUserDirectory enumeration can be extended at later date. Not - * every platform has a directory for every logical id in this - * enumeration. - * - * Since: 2.14 - */ -typedef enum { - G_USER_DIRECTORY_DESKTOP, - G_USER_DIRECTORY_DOCUMENTS, - G_USER_DIRECTORY_DOWNLOAD, - G_USER_DIRECTORY_MUSIC, - G_USER_DIRECTORY_PICTURES, - G_USER_DIRECTORY_PUBLIC_SHARE, - G_USER_DIRECTORY_TEMPLATES, - G_USER_DIRECTORY_VIDEOS, - - G_USER_N_DIRECTORIES -} GUserDirectory; - -G_CONST_RETURN gchar* g_get_user_special_dir (GUserDirectory directory); - -typedef struct _GDebugKey GDebugKey; -struct _GDebugKey -{ - gchar *key; - guint value; -}; - -/* Miscellaneous utility functions - */ -guint g_parse_debug_string (const gchar *string, - const GDebugKey *keys, - guint nkeys); - -gint g_snprintf (gchar *string, - gulong n, - gchar const *format, - ...) G_GNUC_PRINTF (3, 4); -gint g_vsnprintf (gchar *string, - gulong n, - gchar const *format, - va_list args); - -/* Check if a file name is an absolute path */ -gboolean g_path_is_absolute (const gchar *file_name); - -/* In case of absolute paths, skip the root part */ -G_CONST_RETURN gchar* g_path_skip_root (const gchar *file_name); - -#ifndef G_DISABLE_DEPRECATED - -/* These two functions are deprecated and will be removed in the next - * major release of GLib. Use g_path_get_dirname/g_path_get_basename - * instead. Whatch out! The string returned by g_path_get_basename - * must be g_freed, while the string returned by g_basename must not.*/ -G_CONST_RETURN gchar* g_basename (const gchar *file_name); -#define g_dirname g_path_get_dirname - -#endif /* G_DISABLE_DEPRECATED */ - -#ifdef G_OS_WIN32 -#define g_get_current_dir g_get_current_dir_utf8 -#endif - -/* The returned strings are newly allocated with g_malloc() */ -gchar* g_get_current_dir (void); -gchar* g_path_get_basename (const gchar *file_name) G_GNUC_MALLOC; -gchar* g_path_get_dirname (const gchar *file_name) G_GNUC_MALLOC; - -/* Set the pointer at the specified location to NULL */ -void g_nullify_pointer (gpointer *nullify_location); - -/* return the environment string for the variable. The returned memory - * must not be freed. */ -#ifdef G_OS_WIN32 -#define g_getenv g_getenv_utf8 -#define g_setenv g_setenv_utf8 -#define g_unsetenv g_unsetenv_utf8 -#define g_find_program_in_path g_find_program_in_path_utf8 -#endif - -G_CONST_RETURN gchar* g_getenv (const gchar *variable); -gboolean g_setenv (const gchar *variable, - const gchar *value, - gboolean overwrite); -void g_unsetenv (const gchar *variable); -gchar** g_listenv (void); - -/* private */ -const gchar* _g_getenv_nomalloc (const gchar *variable, - gchar buffer[1024]); - -/* we try to provide a useful equivalent for ATEXIT if it is - * not defined, but use is actually abandoned. people should - * use g_atexit() instead. - */ -typedef void (*GVoidFunc) (void); -#ifndef ATEXIT -# define ATEXIT(proc) g_ATEXIT(proc) -#else -# define G_NATIVE_ATEXIT -#endif /* ATEXIT */ -/* we use a GLib function as a replacement for ATEXIT, so - * the programmer is not required to check the return value - * (if there is any in the implementation) and doesn't encounter - * missing include files. - */ -void g_atexit (GVoidFunc func); - -#ifdef G_OS_WIN32 -/* It's a bad idea to wrap atexit() on Windows. If the GLib DLL calls - * atexit(), the function will be called when the GLib DLL is detached - * from the program, which is not what the caller wants. The caller - * wants the function to be called when it *itself* exits (or is - * detached, in case the caller, too, is a DLL). - */ -int atexit (void (*)(void)); -#define g_atexit(func) atexit(func) -#endif - -/* Look for an executable in PATH, following execvp() rules */ -gchar* g_find_program_in_path (const gchar *program); - -/* Bit tests - */ -G_INLINE_FUNC gint g_bit_nth_lsf (gulong mask, - gint nth_bit) G_GNUC_CONST; -G_INLINE_FUNC gint g_bit_nth_msf (gulong mask, - gint nth_bit) G_GNUC_CONST; -G_INLINE_FUNC guint g_bit_storage (gulong number) G_GNUC_CONST; - -/* Trash Stacks - * elements need to be >= sizeof (gpointer) - */ -typedef struct _GTrashStack GTrashStack; -struct _GTrashStack -{ - GTrashStack *next; -}; - -G_INLINE_FUNC void g_trash_stack_push (GTrashStack **stack_p, - gpointer data_p); -G_INLINE_FUNC gpointer g_trash_stack_pop (GTrashStack **stack_p); -G_INLINE_FUNC gpointer g_trash_stack_peek (GTrashStack **stack_p); -G_INLINE_FUNC guint g_trash_stack_height (GTrashStack **stack_p); - -/* inline function implementations - */ -#if defined (G_CAN_INLINE) || defined (__G_UTILS_C__) -G_INLINE_FUNC gint -g_bit_nth_lsf (gulong mask, - gint nth_bit) -{ - if (G_UNLIKELY (nth_bit < -1)) - nth_bit = -1; - while (nth_bit < ((GLIB_SIZEOF_LONG * 8) - 1)) - { - nth_bit++; - if (mask & (1UL << nth_bit)) - return nth_bit; - } - return -1; -} -G_INLINE_FUNC gint -g_bit_nth_msf (gulong mask, - gint nth_bit) -{ - if (nth_bit < 0 || G_UNLIKELY (nth_bit > GLIB_SIZEOF_LONG * 8)) - nth_bit = GLIB_SIZEOF_LONG * 8; - while (nth_bit > 0) - { - nth_bit--; - if (mask & (1UL << nth_bit)) - return nth_bit; - } - return -1; -} -G_INLINE_FUNC guint -g_bit_storage (gulong number) -{ -#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(__OPTIMIZE__) - return G_LIKELY (number) ? - ((GLIB_SIZEOF_LONG * 8 - 1) ^ __builtin_clzl(number)) + 1 : 1; -#else - register guint n_bits = 0; - - do - { - n_bits++; - number >>= 1; - } - while (number); - return n_bits; -#endif -} -G_INLINE_FUNC void -g_trash_stack_push (GTrashStack **stack_p, - gpointer data_p) -{ - GTrashStack *data = (GTrashStack *) data_p; - - data->next = *stack_p; - *stack_p = data; -} -G_INLINE_FUNC gpointer -g_trash_stack_pop (GTrashStack **stack_p) -{ - GTrashStack *data; - - data = *stack_p; - if (data) - { - *stack_p = data->next; - /* NULLify private pointer here, most platforms store NULL as - * subsequent 0 bytes - */ - data->next = NULL; - } - - return data; -} -G_INLINE_FUNC gpointer -g_trash_stack_peek (GTrashStack **stack_p) -{ - GTrashStack *data; - - data = *stack_p; - - return data; -} -G_INLINE_FUNC guint -g_trash_stack_height (GTrashStack **stack_p) -{ - GTrashStack *data; - guint i = 0; - - for (data = *stack_p; data; data = data->next) - i++; - - return i; -} -#endif /* G_CAN_INLINE || __G_UTILS_C__ */ - -/* Glib version. - * we prefix variable declarations so they can - * properly get exported in windows dlls. - */ -GLIB_VAR const guint glib_major_version; -GLIB_VAR const guint glib_minor_version; -GLIB_VAR const guint glib_micro_version; -GLIB_VAR const guint glib_interface_age; -GLIB_VAR const guint glib_binary_age; - -const gchar * glib_check_version (guint required_major, - guint required_minor, - guint required_micro); - -#define GLIB_CHECK_VERSION(major,minor,micro) \ - (GLIB_MAJOR_VERSION > (major) || \ - (GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION > (minor)) || \ - (GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION == (minor) && \ - GLIB_MICRO_VERSION >= (micro))) - -G_END_DECLS - -/* - * This macro will be deprecated in the future. This DllMain() is too - * complex. It is recommended to have a DLlMain() that just saves the - * handle to the DLL and then use that handle in normal code instead, - * for instance passing it to - * g_win32_get_package_installation_directory_of_module(). - * - * On Windows, this macro defines a DllMain function that stores the - * actual DLL name that the code being compiled will be included in. - * STATIC should be empty or 'static'. DLL_NAME is the name of the - * (pointer to the) char array where the DLL name will be stored. If - * this is used, you must also include <windows.h>. If you need a more complex - * DLL entry point function, you cannot use this. - * - * On non-Windows platforms, expands to nothing. - */ - -#ifndef G_PLATFORM_WIN32 -# define G_WIN32_DLLMAIN_FOR_DLL_NAME(static, dll_name) -#else -# define G_WIN32_DLLMAIN_FOR_DLL_NAME(static, dll_name) \ -static char *dll_name; \ - \ -BOOL WINAPI \ -DllMain (HINSTANCE hinstDLL, \ - DWORD fdwReason, \ - LPVOID lpvReserved) \ -{ \ - wchar_t wcbfr[1000]; \ - char *tem; \ - switch (fdwReason) \ - { \ - case DLL_PROCESS_ATTACH: \ - GetModuleFileNameW ((HMODULE) hinstDLL, wcbfr, G_N_ELEMENTS (wcbfr)); \ - tem = g_utf16_to_utf8 (wcbfr, -1, NULL, NULL, NULL); \ - dll_name = g_path_get_basename (tem); \ - g_free (tem); \ - break; \ - } \ - \ - return TRUE; \ -} -#endif /* G_PLATFORM_WIN32 */ - -#endif /* __G_UTILS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gwin32.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gwin32.h deleted file mode 100644 index 7b6aa141..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/glib/gwin32.h +++ /dev/null @@ -1,106 +0,0 @@ -/* GLIB - Library of useful routines for C programming - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __G_WIN32_H__ -#define __G_WIN32_H__ - -#include <glib/gtypes.h> - -#ifdef G_PLATFORM_WIN32 - -G_BEGIN_DECLS - -#ifndef MAXPATHLEN -#define MAXPATHLEN 1024 -#endif - -#ifdef G_OS_WIN32 - -/* - * To get prototypes for the following POSIXish functions, you have to - * include the indicated non-POSIX headers. The functions are defined - * in OLDNAMES.LIB (MSVC) or -lmoldname-msvc (mingw32). But note that - * for POSIX functions that take or return file names in the system - * codepage, in many cases you would want to use the GLib wrappers in - * gstdio.h and UTF-8 instead. - * - * getcwd: <direct.h> (MSVC), <io.h> (mingw32) - * getpid: <process.h> - * access: <io.h> - * unlink: <stdio.h> or <io.h> - * open, read, write, lseek, close: <io.h> - * rmdir: <io.h> - * pipe: <io.h> (actually, _pipe()) - */ - -/* For some POSIX functions that are not provided by the MS runtime, - * we provide emulation functions in glib, which are prefixed with - * g_win32_. Or that was the idea at some time, but there is just one - * of those: - */ -gint g_win32_ftruncate (gint f, - guint size); -#endif /* G_OS_WIN32 */ - -/* The MS setlocale uses locale names of the form "English_United - * States.1252" etc. We want the Unixish standard form "en", "zh_TW" - * etc. This function gets the current thread locale from Windows and - * returns it as a string of the above form for use in forming file - * names etc. The returned string should be deallocated with g_free(). - */ -gchar* g_win32_getlocale (void); - -/* Translate a Win32 error code (as returned by GetLastError()) into - * the corresponding message. The returned string should be deallocated - * with g_free(). - */ -gchar* g_win32_error_message (gint error); - -#define g_win32_get_package_installation_directory g_win32_get_package_installation_directory_utf8 -#define g_win32_get_package_installation_subdirectory g_win32_get_package_installation_subdirectory_utf8 - -gchar* g_win32_get_package_installation_directory (const gchar *package, - const gchar *dll_name); - -gchar* g_win32_get_package_installation_subdirectory (const gchar *package, - const gchar *dll_name, - const gchar *subdir); - -gchar* g_win32_get_package_installation_directory_of_module (gpointer hmodule); - -guint g_win32_get_windows_version (void); - -gchar* g_win32_locale_filename_from_utf8 (const gchar *utf8filename); - -/* As of GLib 2.14 we only support NT-based Windows */ -#define G_WIN32_IS_NT_BASED() TRUE -#define G_WIN32_HAVE_WIDECHAR_API() TRUE - -G_END_DECLS - -#endif /* G_PLATFORM_WIN32 */ - -#endif /* __G_WIN32_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gmodule.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gmodule.h deleted file mode 100644 index ae7f8e54..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gmodule.h +++ /dev/null @@ -1,101 +0,0 @@ -/* GMODULE - GLIB wrapper code for dynamic module loading - * Copyright (C) 1998 Tim Janik - * - * 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. - */ - -/* - * Modified by the GLib Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GLib Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GLib at ftp://ftp.gtk.org/pub/gtk/. - */ - -#ifndef __GMODULE_H__ -#define __GMODULE_H__ - -#include <glib.h> - -G_BEGIN_DECLS - -/* exporting and importing functions, this is special cased - * to feature Windows dll stubs. - */ -#define G_MODULE_IMPORT extern -#ifdef G_PLATFORM_WIN32 -# define G_MODULE_EXPORT __declspec(dllexport) -#else /* !G_PLATFORM_WIN32 */ -# define G_MODULE_EXPORT -#endif /* !G_PLATFORM_WIN32 */ - -typedef enum -{ - G_MODULE_BIND_LAZY = 1 << 0, - G_MODULE_BIND_LOCAL = 1 << 1, - G_MODULE_BIND_MASK = 0x03 -} GModuleFlags; - -typedef struct _GModule GModule; -typedef const gchar* (*GModuleCheckInit) (GModule *module); -typedef void (*GModuleUnload) (GModule *module); - -#ifdef G_OS_WIN32 -#define g_module_open g_module_open_utf8 -#define g_module_name g_module_name_utf8 -#endif - -/* return TRUE if dynamic module loading is supported */ -gboolean g_module_supported (void) G_GNUC_CONST; - -/* open a module `file_name' and return handle, which is NULL on error */ -GModule* g_module_open (const gchar *file_name, - GModuleFlags flags); - -/* close a previously opened module, returns TRUE on success */ -gboolean g_module_close (GModule *module); - -/* make a module resident so g_module_close on it will be ignored */ -void g_module_make_resident (GModule *module); - -/* query the last module error as a string */ -G_CONST_RETURN gchar* g_module_error (void); - -/* retrieve a symbol pointer from `module', returns TRUE on success */ -gboolean g_module_symbol (GModule *module, - const gchar *symbol_name, - gpointer *symbol); - -/* retrieve the file name from an existing module */ -G_CONST_RETURN gchar* g_module_name (GModule *module); - -/* Build the actual file name containing a module. `directory' is the - * directory where the module file is supposed to be, or NULL or empty - * in which case it should either be in the current directory or, on - * some operating systems, in some standard place, for instance on the - * PATH. Hence, to be absoultely sure to get the correct module, - * always pass in a directory. The file name consists of the directory, - * if supplied, and `module_name' suitably decorated accoring to - * the operating system's conventions (for instance lib*.so or *.dll). - * - * No checks are made that the file exists, or is of correct type. - */ -gchar* g_module_build_path (const gchar *directory, - const gchar *module_name); - - -G_END_DECLS - -#endif /* __GMODULE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gboxed.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gboxed.h deleted file mode 100644 index 622b1e76..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gboxed.h +++ /dev/null @@ -1,89 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 2000-2001 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_BOXED_H__ -#define __G_BOXED_H__ - -#include <gobject/gtype.h> - -G_BEGIN_DECLS - -/* --- type macros --- */ -#define G_TYPE_IS_BOXED(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_BOXED) -#define G_VALUE_HOLDS_BOXED(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOXED)) - - -/* --- typedefs --- */ -typedef gpointer (*GBoxedCopyFunc) (gpointer boxed); -typedef void (*GBoxedFreeFunc) (gpointer boxed); - - -/* --- prototypes --- */ -gpointer g_boxed_copy (GType boxed_type, - gconstpointer src_boxed); -void g_boxed_free (GType boxed_type, - gpointer boxed); -void g_value_set_boxed (GValue *value, - gconstpointer v_boxed); -void g_value_set_static_boxed (GValue *value, - gconstpointer v_boxed); -gpointer g_value_get_boxed (const GValue *value); -gpointer g_value_dup_boxed (const GValue *value); - - -/* --- convenience --- */ -GType g_boxed_type_register_static (const gchar *name, - GBoxedCopyFunc boxed_copy, - GBoxedFreeFunc boxed_free); - - -/* --- GLib boxed types --- */ -#define G_TYPE_CLOSURE (g_closure_get_type ()) -#define G_TYPE_VALUE (g_value_get_type ()) -#define G_TYPE_VALUE_ARRAY (g_value_array_get_type ()) -#define G_TYPE_DATE (g_date_get_type ()) -#define G_TYPE_STRV (g_strv_get_type ()) -#define G_TYPE_GSTRING (g_gstring_get_type ()) -#define G_TYPE_HASH_TABLE (g_hash_table_get_type ()) -#define G_TYPE_REGEX (g_regex_get_type ()) - - -void g_value_take_boxed (GValue *value, - gconstpointer v_boxed); -#ifndef G_DISABLE_DEPRECATED -void g_value_set_boxed_take_ownership (GValue *value, - gconstpointer v_boxed); -#endif -GType g_closure_get_type (void) G_GNUC_CONST; -GType g_value_get_type (void) G_GNUC_CONST; -GType g_value_array_get_type (void) G_GNUC_CONST; -GType g_date_get_type (void) G_GNUC_CONST; -GType g_strv_get_type (void) G_GNUC_CONST; -GType g_gstring_get_type (void) G_GNUC_CONST; -GType g_hash_table_get_type (void) G_GNUC_CONST; -GType g_regex_get_type (void) G_GNUC_CONST; - -typedef gchar** GStrv; - -G_END_DECLS - -#endif /* __G_BOXED_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gclosure.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gclosure.h deleted file mode 100644 index c4b6208b..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gclosure.h +++ /dev/null @@ -1,166 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 2000-2001 Red Hat, Inc. - * Copyright (C) 2005 Imendio AB - * - * 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_CLOSURE_H__ -#define __G_CLOSURE_H__ - -#include <gobject/gtype.h> - -G_BEGIN_DECLS - -/* --- defines --- */ -#define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL) -#define G_CLOSURE_N_NOTIFIERS(cl) ((cl)->meta_marshal + ((cl)->n_guards << 1L) + \ - (cl)->n_fnotifiers + (cl)->n_inotifiers) -#define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (cclosure))->derivative_flag) -#define G_CALLBACK(f) ((GCallback) (f)) - - -/* -- typedefs --- */ -typedef struct _GClosure GClosure; -typedef struct _GClosureNotifyData GClosureNotifyData; -typedef void (*GCallback) (void); -typedef void (*GClosureNotify) (gpointer data, - GClosure *closure); -typedef void (*GClosureMarshal) (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); -typedef struct _GCClosure GCClosure; - - -/* --- structures --- */ -struct _GClosureNotifyData -{ - gpointer data; - GClosureNotify notify; -}; -struct _GClosure -{ - /*< private >*/ - volatile guint ref_count : 15; - volatile guint meta_marshal : 1; - volatile guint n_guards : 1; - volatile guint n_fnotifiers : 2; /* finalization notifiers */ - volatile guint n_inotifiers : 8; /* invalidation notifiers */ - volatile guint in_inotify : 1; - volatile guint floating : 1; - /*< protected >*/ - volatile guint derivative_flag : 1; - /*< public >*/ - volatile guint in_marshal : 1; - volatile guint is_invalid : 1; - - /*< private >*/ void (*marshal) (GClosure *closure, - GValue /*out*/ *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - /*< protected >*/ gpointer data; - - /*< private >*/ GClosureNotifyData *notifiers; - - /* invariants/constrains: - * - ->marshal and ->data are _invalid_ as soon as ->is_invalid==TRUE - * - invocation of all inotifiers occours prior to fnotifiers - * - order of inotifiers is random - * inotifiers may _not_ free/invalidate parameter values (e.g. ->data) - * - order of fnotifiers is random - * - each notifier may only be removed before or during its invocation - * - reference counting may only happen prior to fnotify invocation - * (in that sense, fnotifiers are really finalization handlers) - */ -}; -/* closure for C function calls, callback() is the user function - */ -struct _GCClosure -{ - GClosure closure; - gpointer callback; -}; - - -/* --- prototypes --- */ -GClosure* g_cclosure_new (GCallback callback_func, - gpointer user_data, - GClosureNotify destroy_data); -GClosure* g_cclosure_new_swap (GCallback callback_func, - gpointer user_data, - GClosureNotify destroy_data); -GClosure* g_signal_type_cclosure_new (GType itype, - guint struct_offset); - - -/* --- prototypes --- */ -GClosure* g_closure_ref (GClosure *closure); -void g_closure_sink (GClosure *closure); -void g_closure_unref (GClosure *closure); -/* intimidating */ -GClosure* g_closure_new_simple (guint sizeof_closure, - gpointer data); -void g_closure_add_finalize_notifier (GClosure *closure, - gpointer notify_data, - GClosureNotify notify_func); -void g_closure_remove_finalize_notifier (GClosure *closure, - gpointer notify_data, - GClosureNotify notify_func); -void g_closure_add_invalidate_notifier (GClosure *closure, - gpointer notify_data, - GClosureNotify notify_func); -void g_closure_remove_invalidate_notifier (GClosure *closure, - gpointer notify_data, - GClosureNotify notify_func); -void g_closure_add_marshal_guards (GClosure *closure, - gpointer pre_marshal_data, - GClosureNotify pre_marshal_notify, - gpointer post_marshal_data, - GClosureNotify post_marshal_notify); -void g_closure_set_marshal (GClosure *closure, - GClosureMarshal marshal); -void g_closure_set_meta_marshal (GClosure *closure, - gpointer marshal_data, - GClosureMarshal meta_marshal); -void g_closure_invalidate (GClosure *closure); -void g_closure_invoke (GClosure *closure, - GValue /*out*/ *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint); - -/* FIXME: - OK: data_object::destroy -> closure_invalidate(); - MIS: closure_invalidate() -> disconnect(closure); - MIS: disconnect(closure) -> (unlink) closure_unref(); - OK: closure_finalize() -> g_free (data_string); - - random remarks: - - need marshaller repo with decent aliasing to base types - - provide marshaller collection, virtually covering anything out there -*/ - -G_END_DECLS - -#endif /* __G_CLOSURE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/genums.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/genums.h deleted file mode 100644 index 5d16c53c..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/genums.h +++ /dev/null @@ -1,125 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1998-1999, 2000-2001 Tim Janik and 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_ENUMS_H__ -#define __G_ENUMS_H__ - -#include <gobject/gtype.h> - -G_BEGIN_DECLS - -/* --- type macros --- */ -#define G_TYPE_IS_ENUM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_ENUM) -#define G_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_ENUM, GEnumClass)) -#define G_IS_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ENUM)) -#define G_ENUM_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class)) -#define G_ENUM_CLASS_TYPE_NAME(class) (g_type_name (G_ENUM_CLASS_TYPE (class))) -#define G_TYPE_IS_FLAGS(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_FLAGS) -#define G_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_FLAGS, GFlagsClass)) -#define G_IS_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_FLAGS)) -#define G_FLAGS_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class)) -#define G_FLAGS_CLASS_TYPE_NAME(class) (g_type_name (G_FLAGS_CLASS_TYPE (class))) -#define G_VALUE_HOLDS_ENUM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ENUM)) -#define G_VALUE_HOLDS_FLAGS(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLAGS)) - - -/* --- enum/flag values & classes --- */ -typedef struct _GEnumClass GEnumClass; -typedef struct _GFlagsClass GFlagsClass; -typedef struct _GEnumValue GEnumValue; -typedef struct _GFlagsValue GFlagsValue; -struct _GEnumClass -{ - GTypeClass g_type_class; - - /*< public >*/ - gint minimum; - gint maximum; - guint n_values; - GEnumValue *values; -}; -struct _GFlagsClass -{ - GTypeClass g_type_class; - - /*< public >*/ - guint mask; - guint n_values; - GFlagsValue *values; -}; -struct _GEnumValue -{ - gint value; - const gchar *value_name; - const gchar *value_nick; -}; -struct _GFlagsValue -{ - guint value; - const gchar *value_name; - const gchar *value_nick; -}; - - -/* --- prototypes --- */ -GEnumValue* g_enum_get_value (GEnumClass *enum_class, - gint value); -GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class, - const gchar *name); -GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class, - const gchar *nick); -GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class, - guint value); -GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class, - const gchar *name); -GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class, - const gchar *nick); -void g_value_set_enum (GValue *value, - gint v_enum); -gint g_value_get_enum (const GValue *value); -void g_value_set_flags (GValue *value, - guint v_flags); -guint g_value_get_flags (const GValue *value); - - - -/* --- registration functions --- */ -/* const_static_values is a NULL terminated array of enum/flags - * values that is taken over! - */ -GType g_enum_register_static (const gchar *name, - const GEnumValue *const_static_values); -GType g_flags_register_static (const gchar *name, - const GFlagsValue *const_static_values); -/* functions to complete the type information - * for enums/flags implemented by plugins - */ -void g_enum_complete_type_info (GType g_enum_type, - GTypeInfo *info, - const GEnumValue *const_values); -void g_flags_complete_type_info (GType g_flags_type, - GTypeInfo *info, - const GFlagsValue *const_values); - -G_END_DECLS - -#endif /* __G_ENUMS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gmarshal.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gmarshal.h deleted file mode 100644 index d095fd0a..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gmarshal.h +++ /dev/null @@ -1,169 +0,0 @@ -#ifndef __G_MARSHAL_H__ -#define __G_MARSHAL_H__ - -G_BEGIN_DECLS - -/* VOID:VOID (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:26) */ -extern void g_cclosure_marshal_VOID__VOID (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:BOOLEAN (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:27) */ -extern void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:CHAR (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:28) */ -extern void g_cclosure_marshal_VOID__CHAR (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:UCHAR (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:29) */ -extern void g_cclosure_marshal_VOID__UCHAR (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:INT (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:30) */ -extern void g_cclosure_marshal_VOID__INT (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:UINT (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:31) */ -extern void g_cclosure_marshal_VOID__UINT (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:LONG (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:32) */ -extern void g_cclosure_marshal_VOID__LONG (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:ULONG (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:33) */ -extern void g_cclosure_marshal_VOID__ULONG (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:ENUM (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:34) */ -extern void g_cclosure_marshal_VOID__ENUM (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:FLAGS (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:35) */ -extern void g_cclosure_marshal_VOID__FLAGS (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:FLOAT (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:36) */ -extern void g_cclosure_marshal_VOID__FLOAT (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:DOUBLE (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:37) */ -extern void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:STRING (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:38) */ -extern void g_cclosure_marshal_VOID__STRING (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:PARAM (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:39) */ -extern void g_cclosure_marshal_VOID__PARAM (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:BOXED (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:40) */ -extern void g_cclosure_marshal_VOID__BOXED (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:POINTER (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:41) */ -extern void g_cclosure_marshal_VOID__POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:OBJECT (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:42) */ -extern void g_cclosure_marshal_VOID__OBJECT (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* VOID:UINT,POINTER (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:45) */ -extern void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -/* BOOL:FLAGS (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:46) */ -extern void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); -#define g_cclosure_marshal_BOOL__FLAGS g_cclosure_marshal_BOOLEAN__FLAGS - -/* STRING:OBJECT,POINTER (/home/joss/deb/pkg-gnome/desktop/lenny/build-area/glib2.0-2.16.6/gobject/gmarshal.list:47) */ -extern void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); - -G_END_DECLS - -#endif /* __G_MARSHAL_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gobject.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gobject.h deleted file mode 100644 index 4f7ef570..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gobject.h +++ /dev/null @@ -1,286 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1998-1999, 2000-2001 Tim Janik and 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_OBJECT_H__ -#define __G_OBJECT_H__ - -#include <gobject/gtype.h> -#include <gobject/gvalue.h> -#include <gobject/gparam.h> -#include <gobject/gclosure.h> -#include <gobject/gsignal.h> - -G_BEGIN_DECLS - -/* --- type macros --- */ -#define G_TYPE_IS_OBJECT(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_OBJECT) -#define G_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_OBJECT, GObject)) -#define G_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_OBJECT, GObjectClass)) -#define G_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), G_TYPE_OBJECT)) -#define G_IS_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_OBJECT)) -#define G_OBJECT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), G_TYPE_OBJECT, GObjectClass)) -#define G_OBJECT_TYPE(object) (G_TYPE_FROM_INSTANCE (object)) -#define G_OBJECT_TYPE_NAME(object) (g_type_name (G_OBJECT_TYPE (object))) -#define G_OBJECT_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class)) -#define G_OBJECT_CLASS_NAME(class) (g_type_name (G_OBJECT_CLASS_TYPE (class))) -#define G_VALUE_HOLDS_OBJECT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_OBJECT)) - -/* --- type macros --- */ -#define G_TYPE_INITIALLY_UNOWNED (g_initially_unowned_get_type()) -#define G_INITIALLY_UNOWNED(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_INITIALLY_UNOWNED, GInitiallyUnowned)) -#define G_INITIALLY_UNOWNED_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_INITIALLY_UNOWNED, GInitiallyUnownedClass)) -#define G_IS_INITIALLY_UNOWNED(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), G_TYPE_INITIALLY_UNOWNED)) -#define G_IS_INITIALLY_UNOWNED_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_INITIALLY_UNOWNED)) -#define G_INITIALLY_UNOWNED_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), G_TYPE_INITIALLY_UNOWNED, GInitiallyUnownedClass)) -/* GInitiallyUnowned ia a GObject with initially floating reference count */ - - -/* --- typedefs & structures --- */ -typedef struct _GObject GObject; -typedef struct _GObjectClass GObjectClass; -typedef struct _GObject GInitiallyUnowned; -typedef struct _GObjectClass GInitiallyUnownedClass; -typedef struct _GObjectConstructParam GObjectConstructParam; -typedef void (*GObjectGetPropertyFunc) (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec); -typedef void (*GObjectSetPropertyFunc) (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec); -typedef void (*GObjectFinalizeFunc) (GObject *object); -typedef void (*GWeakNotify) (gpointer data, - GObject *where_the_object_was); -struct _GObject -{ - GTypeInstance g_type_instance; - - /*< private >*/ - volatile guint ref_count; - GData *qdata; -}; -struct _GObjectClass -{ - GTypeClass g_type_class; - - /*< private >*/ - GSList *construct_properties; - - /*< public >*/ - /* seldomly overidden */ - GObject* (*constructor) (GType type, - guint n_construct_properties, - GObjectConstructParam *construct_properties); - /* overridable methods */ - void (*set_property) (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec); - void (*get_property) (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec); - void (*dispose) (GObject *object); - void (*finalize) (GObject *object); - /* seldomly overidden */ - void (*dispatch_properties_changed) (GObject *object, - guint n_pspecs, - GParamSpec **pspecs); - /* signals */ - void (*notify) (GObject *object, - GParamSpec *pspec); - - /* called when done constructing */ - void (*constructed) (GObject *object); - - /*< private >*/ - /* padding */ - gpointer pdummy[7]; -}; -struct _GObjectConstructParam -{ - GParamSpec *pspec; - GValue *value; -}; - - -/* --- prototypes --- */ -GType g_initially_unowned_get_type (void); -void g_object_class_install_property (GObjectClass *oclass, - guint property_id, - GParamSpec *pspec); -GParamSpec* g_object_class_find_property (GObjectClass *oclass, - const gchar *property_name); -GParamSpec**g_object_class_list_properties (GObjectClass *oclass, - guint *n_properties); -void g_object_class_override_property (GObjectClass *oclass, - guint property_id, - const gchar *name); - -void g_object_interface_install_property (gpointer g_iface, - GParamSpec *pspec); -GParamSpec* g_object_interface_find_property (gpointer g_iface, - const gchar *property_name); -GParamSpec**g_object_interface_list_properties (gpointer g_iface, - guint *n_properties_p); - -gpointer g_object_new (GType object_type, - const gchar *first_property_name, - ...); -gpointer g_object_newv (GType object_type, - guint n_parameters, - GParameter *parameters); -GObject* g_object_new_valist (GType object_type, - const gchar *first_property_name, - va_list var_args); -void g_object_set (gpointer object, - const gchar *first_property_name, - ...) G_GNUC_NULL_TERMINATED; -void g_object_get (gpointer object, - const gchar *first_property_name, - ...) G_GNUC_NULL_TERMINATED; -gpointer g_object_connect (gpointer object, - const gchar *signal_spec, - ...) G_GNUC_NULL_TERMINATED; -void g_object_disconnect (gpointer object, - const gchar *signal_spec, - ...) G_GNUC_NULL_TERMINATED; -void g_object_set_valist (GObject *object, - const gchar *first_property_name, - va_list var_args); -void g_object_get_valist (GObject *object, - const gchar *first_property_name, - va_list var_args); -void g_object_set_property (GObject *object, - const gchar *property_name, - const GValue *value); -void g_object_get_property (GObject *object, - const gchar *property_name, - GValue *value); -void g_object_freeze_notify (GObject *object); -void g_object_notify (GObject *object, - const gchar *property_name); -void g_object_thaw_notify (GObject *object); -gboolean g_object_is_floating (gpointer object); -gpointer g_object_ref_sink (gpointer object); -gpointer g_object_ref (gpointer object); -void g_object_unref (gpointer object); -void g_object_weak_ref (GObject *object, - GWeakNotify notify, - gpointer data); -void g_object_weak_unref (GObject *object, - GWeakNotify notify, - gpointer data); -void g_object_add_weak_pointer (GObject *object, - gpointer *weak_pointer_location); -void g_object_remove_weak_pointer (GObject *object, - gpointer *weak_pointer_location); - -typedef void (*GToggleNotify) (gpointer data, - GObject *object, - gboolean is_last_ref); - -void g_object_add_toggle_ref (GObject *object, - GToggleNotify notify, - gpointer data); -void g_object_remove_toggle_ref (GObject *object, - GToggleNotify notify, - gpointer data); - -gpointer g_object_get_qdata (GObject *object, - GQuark quark); -void g_object_set_qdata (GObject *object, - GQuark quark, - gpointer data); -void g_object_set_qdata_full (GObject *object, - GQuark quark, - gpointer data, - GDestroyNotify destroy); -gpointer g_object_steal_qdata (GObject *object, - GQuark quark); -gpointer g_object_get_data (GObject *object, - const gchar *key); -void g_object_set_data (GObject *object, - const gchar *key, - gpointer data); -void g_object_set_data_full (GObject *object, - const gchar *key, - gpointer data, - GDestroyNotify destroy); -gpointer g_object_steal_data (GObject *object, - const gchar *key); -void g_object_watch_closure (GObject *object, - GClosure *closure); -GClosure* g_cclosure_new_object (GCallback callback_func, - GObject *object); -GClosure* g_cclosure_new_object_swap (GCallback callback_func, - GObject *object); -GClosure* g_closure_new_object (guint sizeof_closure, - GObject *object); -void g_value_set_object (GValue *value, - gpointer v_object); -gpointer g_value_get_object (const GValue *value); -gpointer g_value_dup_object (const GValue *value); -gulong g_signal_connect_object (gpointer instance, - const gchar *detailed_signal, - GCallback c_handler, - gpointer gobject, - GConnectFlags connect_flags); - -/*< protected >*/ -void g_object_force_floating (GObject *object); -void g_object_run_dispose (GObject *object); - - -void g_value_take_object (GValue *value, - gpointer v_object); -#ifndef G_DISABLE_DEPRECATED -void g_value_set_object_take_ownership (GValue *value, - gpointer v_object); -#endif - -#if !defined(G_DISABLE_DEPRECATED) || defined(GTK_COMPILATION) -gsize g_object_compat_control (gsize what, - gpointer data); -#endif - -/* --- implementation macros --- */ -#define G_OBJECT_WARN_INVALID_PSPEC(object, pname, property_id, pspec) \ -G_STMT_START { \ - GObject *_object = (GObject*) (object); \ - GParamSpec *_pspec = (GParamSpec*) (pspec); \ - guint _property_id = (property_id); \ - g_warning ("%s: invalid %s id %u for \"%s\" of type `%s' in `%s'", \ - G_STRLOC, \ - (pname), \ - _property_id, \ - _pspec->name, \ - g_type_name (G_PARAM_SPEC_TYPE (_pspec)), \ - G_OBJECT_TYPE_NAME (_object)); \ -} G_STMT_END -#define G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec) \ - G_OBJECT_WARN_INVALID_PSPEC ((object), "property", (property_id), (pspec)) - -G_END_DECLS - -#endif /* __G_OBJECT_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gobjectnotifyqueue.c b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gobjectnotifyqueue.c deleted file mode 100644 index 60c1c280..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gobjectnotifyqueue.c +++ /dev/null @@ -1,169 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1998-1999, 2000-2001 Tim Janik and 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 __G_OBJECT_NOTIFY_QUEUE_H__ -#define __G_OBJECT_NOTIFY_QUEUE_H__ - -#include <string.h> /* memset */ -#include <glib-object.h> - -G_BEGIN_DECLS - - -/* --- typedefs --- */ -typedef struct _GObjectNotifyContext GObjectNotifyContext; -typedef struct _GObjectNotifyQueue GObjectNotifyQueue; -typedef void (*GObjectNotifyQueueDispatcher) (GObject *object, - guint n_pspecs, - GParamSpec **pspecs); - - -/* --- structures --- */ -struct _GObjectNotifyContext -{ - GQuark quark_notify_queue; - GObjectNotifyQueueDispatcher dispatcher; - GTrashStack *_nqueue_trash; /* unused */ -}; -struct _GObjectNotifyQueue -{ - GObjectNotifyContext *context; - GSList *pspecs; - guint16 n_pspecs; - guint16 freeze_count; - /* currently, this structure abuses the GList allocation chain and thus - * must be <= sizeof (GList) - */ -}; - - -/* --- functions --- */ -static void -g_object_notify_queue_free (gpointer data) -{ - GObjectNotifyQueue *nqueue = data; - - g_slist_free (nqueue->pspecs); - g_list_free_1 ((void*) nqueue); -} - -static inline GObjectNotifyQueue* -g_object_notify_queue_freeze (GObject *object, - GObjectNotifyContext *context) -{ - GObjectNotifyQueue *nqueue; - - nqueue = g_datalist_id_get_data (&object->qdata, context->quark_notify_queue); - if (!nqueue) - { - nqueue = (void*) g_list_alloc (); - memset (nqueue, 0, sizeof (*nqueue)); - nqueue->context = context; - g_datalist_id_set_data_full (&object->qdata, context->quark_notify_queue, - nqueue, g_object_notify_queue_free); - } - - g_return_val_if_fail (nqueue->freeze_count < 65535, nqueue); - nqueue->freeze_count++; - - return nqueue; -} - -static inline void -g_object_notify_queue_thaw (GObject *object, - GObjectNotifyQueue *nqueue) -{ - GObjectNotifyContext *context = nqueue->context; - GParamSpec *pspecs_mem[16], **pspecs, **free_me = NULL; - GSList *slist; - guint n_pspecs = 0; - - g_return_if_fail (nqueue->freeze_count > 0); - - nqueue->freeze_count--; - if (nqueue->freeze_count) - return; - g_return_if_fail (object->ref_count > 0); - - pspecs = nqueue->n_pspecs > 16 ? free_me = g_new (GParamSpec*, nqueue->n_pspecs) : pspecs_mem; - /* set first entry to NULL since it's checked unconditionally */ - pspecs[0] = NULL; - for (slist = nqueue->pspecs; slist; slist = slist->next) - { - GParamSpec *pspec = slist->data; - guint i = 0; - - /* dedup, make pspecs in the list unique */ - redo_dedup_check: - if (pspecs[i] == pspec) - continue; - if (++i < n_pspecs) - goto redo_dedup_check; - - pspecs[n_pspecs++] = pspec; - } - g_datalist_id_set_data (&object->qdata, context->quark_notify_queue, NULL); - - if (n_pspecs) - context->dispatcher (object, n_pspecs, pspecs); - g_free (free_me); -} - -static inline void -g_object_notify_queue_clear (GObject *object, - GObjectNotifyQueue *nqueue) -{ - g_return_if_fail (nqueue->freeze_count > 0); - - g_slist_free (nqueue->pspecs); - nqueue->pspecs = NULL; - nqueue->n_pspecs = 0; -} - -static inline void -g_object_notify_queue_add (GObject *object, - GObjectNotifyQueue *nqueue, - GParamSpec *pspec) -{ - if (pspec->flags & G_PARAM_READABLE) - { - GParamSpec *redirect; - - g_return_if_fail (nqueue->n_pspecs < 65535); - - redirect = g_param_spec_get_redirect_target (pspec); - if (redirect) - pspec = redirect; - - /* we do the deduping in _thaw */ - nqueue->pspecs = g_slist_prepend (nqueue->pspecs, pspec); - nqueue->n_pspecs++; - } -} - -static inline GObjectNotifyQueue* -g_object_notify_queue_from_object (GObject *object, - GObjectNotifyContext *context) -{ - return g_datalist_id_get_data (&object->qdata, context->quark_notify_queue); -} - - -G_END_DECLS - -#endif /* __G_OBJECT_NOTIFY_QUEUE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gparam.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gparam.h deleted file mode 100644 index 3790712e..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gparam.h +++ /dev/null @@ -1,235 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1997-1999, 2000-2001 Tim Janik and 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. - * - * gparam.h: GParamSpec base class implementation - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_PARAM_H__ -#define __G_PARAM_H__ - -#include <gobject/gvalue.h> - -G_BEGIN_DECLS - -/* --- standard type macros --- */ -#define G_TYPE_IS_PARAM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_PARAM) -#define G_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM, GParamSpec)) -#define G_IS_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM)) -#define G_PARAM_SPEC_CLASS(pclass) (G_TYPE_CHECK_CLASS_CAST ((pclass), G_TYPE_PARAM, GParamSpecClass)) -#define G_IS_PARAM_SPEC_CLASS(pclass) (G_TYPE_CHECK_CLASS_TYPE ((pclass), G_TYPE_PARAM)) -#define G_PARAM_SPEC_GET_CLASS(pspec) (G_TYPE_INSTANCE_GET_CLASS ((pspec), G_TYPE_PARAM, GParamSpecClass)) - - -/* --- convenience macros --- */ -#define G_PARAM_SPEC_TYPE(pspec) (G_TYPE_FROM_INSTANCE (pspec)) -#define G_PARAM_SPEC_TYPE_NAME(pspec) (g_type_name (G_PARAM_SPEC_TYPE (pspec))) -#define G_PARAM_SPEC_VALUE_TYPE(pspec) (G_PARAM_SPEC (pspec)->value_type) -#define G_VALUE_HOLDS_PARAM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_PARAM)) - - -/* --- flags --- */ -typedef enum -{ - G_PARAM_READABLE = 1 << 0, - G_PARAM_WRITABLE = 1 << 1, - G_PARAM_CONSTRUCT = 1 << 2, - G_PARAM_CONSTRUCT_ONLY = 1 << 3, - G_PARAM_LAX_VALIDATION = 1 << 4, - G_PARAM_STATIC_NAME = 1 << 5, -#ifndef G_DISABLE_DEPRECATED - G_PARAM_PRIVATE = G_PARAM_STATIC_NAME, -#endif - G_PARAM_STATIC_NICK = 1 << 6, - G_PARAM_STATIC_BLURB = 1 << 7 -} GParamFlags; -#define G_PARAM_READWRITE (G_PARAM_READABLE | G_PARAM_WRITABLE) -#define G_PARAM_STATIC_STRINGS (G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB) -#define G_PARAM_MASK (0x000000ff) -/* bits in the range 0xffffff00 are reserved for 3rd party usage */ -#define G_PARAM_USER_SHIFT (8) - - -/* --- typedefs & structures --- */ -typedef struct _GParamSpec GParamSpec; -typedef struct _GParamSpecClass GParamSpecClass; -typedef struct _GParameter GParameter; -typedef struct _GParamSpecPool GParamSpecPool; -struct _GParamSpec -{ - GTypeInstance g_type_instance; - - gchar *name; - GParamFlags flags; - GType value_type; - GType owner_type; /* class or interface using this property */ - - /*< private >*/ - gchar *_nick; - gchar *_blurb; - GData *qdata; - guint ref_count; - guint param_id; /* sort-criteria */ -}; -struct _GParamSpecClass -{ - GTypeClass g_type_class; - - GType value_type; - - void (*finalize) (GParamSpec *pspec); - - /* GParam methods */ - void (*value_set_default) (GParamSpec *pspec, - GValue *value); - gboolean (*value_validate) (GParamSpec *pspec, - GValue *value); - gint (*values_cmp) (GParamSpec *pspec, - const GValue *value1, - const GValue *value2); - /*< private >*/ - gpointer dummy[4]; -}; -struct _GParameter /* auxillary structure for _setv() variants */ -{ - const gchar *name; - GValue value; -}; - - -/* --- prototypes --- */ -GParamSpec* g_param_spec_ref (GParamSpec *pspec); -void g_param_spec_unref (GParamSpec *pspec); -void g_param_spec_sink (GParamSpec *pspec); -GParamSpec* g_param_spec_ref_sink (GParamSpec *pspec); -gpointer g_param_spec_get_qdata (GParamSpec *pspec, - GQuark quark); -void g_param_spec_set_qdata (GParamSpec *pspec, - GQuark quark, - gpointer data); -void g_param_spec_set_qdata_full (GParamSpec *pspec, - GQuark quark, - gpointer data, - GDestroyNotify destroy); -gpointer g_param_spec_steal_qdata (GParamSpec *pspec, - GQuark quark); -GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec); - -void g_param_value_set_default (GParamSpec *pspec, - GValue *value); -gboolean g_param_value_defaults (GParamSpec *pspec, - GValue *value); -gboolean g_param_value_validate (GParamSpec *pspec, - GValue *value); -gboolean g_param_value_convert (GParamSpec *pspec, - const GValue *src_value, - GValue *dest_value, - gboolean strict_validation); -gint g_param_values_cmp (GParamSpec *pspec, - const GValue *value1, - const GValue *value2); -G_CONST_RETURN gchar* g_param_spec_get_name (GParamSpec *pspec); -G_CONST_RETURN gchar* g_param_spec_get_nick (GParamSpec *pspec); -G_CONST_RETURN gchar* g_param_spec_get_blurb (GParamSpec *pspec); -void g_value_set_param (GValue *value, - GParamSpec *param); -GParamSpec* g_value_get_param (const GValue *value); -GParamSpec* g_value_dup_param (const GValue *value); - - -void g_value_take_param (GValue *value, - GParamSpec *param); -#ifndef G_DISABLE_DEPRECATED -void g_value_set_param_take_ownership (GValue *value, - GParamSpec *param); -#endif - -/* --- convenience functions --- */ -typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo; -struct _GParamSpecTypeInfo -{ - /* type system portion */ - guint16 instance_size; /* obligatory */ - guint16 n_preallocs; /* optional */ - void (*instance_init) (GParamSpec *pspec); /* optional */ - - /* class portion */ - GType value_type; /* obligatory */ - void (*finalize) (GParamSpec *pspec); /* optional */ - void (*value_set_default) (GParamSpec *pspec, /* recommended */ - GValue *value); - gboolean (*value_validate) (GParamSpec *pspec, /* optional */ - GValue *value); - gint (*values_cmp) (GParamSpec *pspec, /* recommended */ - const GValue *value1, - const GValue *value2); -}; -GType g_param_type_register_static (const gchar *name, - const GParamSpecTypeInfo *pspec_info); - -/* For registering builting types */ -GType _g_param_type_register_static_constant (const gchar *name, - const GParamSpecTypeInfo *pspec_info, - GType opt_type); - - -/* --- protected --- */ -gpointer g_param_spec_internal (GType param_type, - const gchar *name, - const gchar *nick, - const gchar *blurb, - GParamFlags flags); -GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing); -void g_param_spec_pool_insert (GParamSpecPool *pool, - GParamSpec *pspec, - GType owner_type); -void g_param_spec_pool_remove (GParamSpecPool *pool, - GParamSpec *pspec); -GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool, - const gchar *param_name, - GType owner_type, - gboolean walk_ancestors); -GList* g_param_spec_pool_list_owned (GParamSpecPool *pool, - GType owner_type); -GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool, - GType owner_type, - guint *n_pspecs_p); - - - -/* contracts: - * - * gboolean value_validate (GParamSpec *pspec, - * GValue *value): - * modify value contents in the least destructive way, so - * that it complies with pspec's requirements (i.e. - * according to minimum/maximum ranges etc...). return - * whether modification was necessary. - * - * gint values_cmp (GParamSpec *pspec, - * const GValue *value1, - * const GValue *value2): - * return value1 - value2, i.e. (-1) if value1 < value2, - * (+1) if value1 > value2, and (0) otherwise (equality) - */ - -G_END_DECLS - -#endif /* __G_PARAM_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gparamspecs.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gparamspecs.h deleted file mode 100644 index b6add1cb..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gparamspecs.h +++ /dev/null @@ -1,439 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1997-1999, 2000-2001 Tim Janik and 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. - * - * gparamspecs.h: GLib default param specs - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_PARAMSPECS_H__ -#define __G_PARAMSPECS_H__ - -#include <gobject/gvalue.h> -#include <gobject/genums.h> -#include <gobject/gboxed.h> -#include <gobject/gobject.h> - -G_BEGIN_DECLS - -/* --- type macros --- */ -#define G_TYPE_PARAM_CHAR (g_param_spec_types[0]) -#define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR)) -#define G_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar)) -#define G_TYPE_PARAM_UCHAR (g_param_spec_types[1]) -#define G_IS_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR)) -#define G_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar)) -#define G_TYPE_PARAM_BOOLEAN (g_param_spec_types[2]) -#define G_IS_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN)) -#define G_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean)) -#define G_TYPE_PARAM_INT (g_param_spec_types[3]) -#define G_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT)) -#define G_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt)) -#define G_TYPE_PARAM_UINT (g_param_spec_types[4]) -#define G_IS_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT)) -#define G_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt)) -#define G_TYPE_PARAM_LONG (g_param_spec_types[5]) -#define G_IS_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG)) -#define G_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong)) -#define G_TYPE_PARAM_ULONG (g_param_spec_types[6]) -#define G_IS_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG)) -#define G_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong)) -#define G_TYPE_PARAM_INT64 (g_param_spec_types[7]) -#define G_IS_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT64)) -#define G_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT64, GParamSpecInt64)) -#define G_TYPE_PARAM_UINT64 (g_param_spec_types[8]) -#define G_IS_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT64)) -#define G_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT64, GParamSpecUInt64)) -#define G_TYPE_PARAM_UNICHAR (g_param_spec_types[9]) -#define G_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UNICHAR, GParamSpecUnichar)) -#define G_IS_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UNICHAR)) -#define G_TYPE_PARAM_ENUM (g_param_spec_types[10]) -#define G_IS_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM)) -#define G_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum)) -#define G_TYPE_PARAM_FLAGS (g_param_spec_types[11]) -#define G_IS_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS)) -#define G_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags)) -#define G_TYPE_PARAM_FLOAT (g_param_spec_types[12]) -#define G_IS_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT)) -#define G_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat)) -#define G_TYPE_PARAM_DOUBLE (g_param_spec_types[13]) -#define G_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE)) -#define G_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble)) -#define G_TYPE_PARAM_STRING (g_param_spec_types[14]) -#define G_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING)) -#define G_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString)) -#define G_TYPE_PARAM_PARAM (g_param_spec_types[15]) -#define G_IS_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_PARAM)) -#define G_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_PARAM, GParamSpecParam)) -#define G_TYPE_PARAM_BOXED (g_param_spec_types[16]) -#define G_IS_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOXED)) -#define G_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOXED, GParamSpecBoxed)) -#define G_TYPE_PARAM_POINTER (g_param_spec_types[17]) -#define G_IS_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_POINTER)) -#define G_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_POINTER, GParamSpecPointer)) -#define G_TYPE_PARAM_VALUE_ARRAY (g_param_spec_types[18]) -#define G_IS_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VALUE_ARRAY)) -#define G_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VALUE_ARRAY, GParamSpecValueArray)) -#define G_TYPE_PARAM_OBJECT (g_param_spec_types[19]) -#define G_IS_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT)) -#define G_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject)) -#define G_TYPE_PARAM_OVERRIDE (g_param_spec_types[20]) -#define G_IS_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OVERRIDE)) -#define G_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OVERRIDE, GParamSpecOverride)) -#define G_TYPE_PARAM_GTYPE (g_param_spec_types[21]) -#define G_IS_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_GTYPE)) -#define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_GTYPE, GParamSpecGType)) - - -/* --- typedefs & structures --- */ -typedef struct _GParamSpecChar GParamSpecChar; -typedef struct _GParamSpecUChar GParamSpecUChar; -typedef struct _GParamSpecBoolean GParamSpecBoolean; -typedef struct _GParamSpecInt GParamSpecInt; -typedef struct _GParamSpecUInt GParamSpecUInt; -typedef struct _GParamSpecLong GParamSpecLong; -typedef struct _GParamSpecULong GParamSpecULong; -typedef struct _GParamSpecInt64 GParamSpecInt64; -typedef struct _GParamSpecUInt64 GParamSpecUInt64; -typedef struct _GParamSpecUnichar GParamSpecUnichar; -typedef struct _GParamSpecEnum GParamSpecEnum; -typedef struct _GParamSpecFlags GParamSpecFlags; -typedef struct _GParamSpecFloat GParamSpecFloat; -typedef struct _GParamSpecDouble GParamSpecDouble; -typedef struct _GParamSpecString GParamSpecString; -typedef struct _GParamSpecParam GParamSpecParam; -typedef struct _GParamSpecBoxed GParamSpecBoxed; -typedef struct _GParamSpecPointer GParamSpecPointer; -typedef struct _GParamSpecValueArray GParamSpecValueArray; -typedef struct _GParamSpecObject GParamSpecObject; -typedef struct _GParamSpecOverride GParamSpecOverride; -typedef struct _GParamSpecGType GParamSpecGType; - -struct _GParamSpecChar -{ - GParamSpec parent_instance; - - gint8 minimum; - gint8 maximum; - gint8 default_value; -}; -struct _GParamSpecUChar -{ - GParamSpec parent_instance; - - guint8 minimum; - guint8 maximum; - guint8 default_value; -}; -struct _GParamSpecBoolean -{ - GParamSpec parent_instance; - - gboolean default_value; -}; -struct _GParamSpecInt -{ - GParamSpec parent_instance; - - gint minimum; - gint maximum; - gint default_value; -}; -struct _GParamSpecUInt -{ - GParamSpec parent_instance; - - guint minimum; - guint maximum; - guint default_value; -}; -struct _GParamSpecLong -{ - GParamSpec parent_instance; - - glong minimum; - glong maximum; - glong default_value; -}; -struct _GParamSpecULong -{ - GParamSpec parent_instance; - - gulong minimum; - gulong maximum; - gulong default_value; -}; -struct _GParamSpecInt64 -{ - GParamSpec parent_instance; - - gint64 minimum; - gint64 maximum; - gint64 default_value; -}; -struct _GParamSpecUInt64 -{ - GParamSpec parent_instance; - - guint64 minimum; - guint64 maximum; - guint64 default_value; -}; -struct _GParamSpecUnichar -{ - GParamSpec parent_instance; - - gunichar default_value; -}; -struct _GParamSpecEnum -{ - GParamSpec parent_instance; - - GEnumClass *enum_class; - gint default_value; -}; -struct _GParamSpecFlags -{ - GParamSpec parent_instance; - - GFlagsClass *flags_class; - guint default_value; -}; -struct _GParamSpecFloat -{ - GParamSpec parent_instance; - - gfloat minimum; - gfloat maximum; - gfloat default_value; - gfloat epsilon; -}; -struct _GParamSpecDouble -{ - GParamSpec parent_instance; - - gdouble minimum; - gdouble maximum; - gdouble default_value; - gdouble epsilon; -}; -struct _GParamSpecString -{ - GParamSpec parent_instance; - - gchar *default_value; - gchar *cset_first; - gchar *cset_nth; - gchar substitutor; - guint null_fold_if_empty : 1; - guint ensure_non_null : 1; -}; -struct _GParamSpecParam -{ - GParamSpec parent_instance; -}; -struct _GParamSpecBoxed -{ - GParamSpec parent_instance; -}; -struct _GParamSpecPointer -{ - GParamSpec parent_instance; -}; -struct _GParamSpecValueArray -{ - GParamSpec parent_instance; - GParamSpec *element_spec; - guint fixed_n_elements; -}; -struct _GParamSpecObject -{ - GParamSpec parent_instance; -}; -struct _GParamSpecOverride -{ - /*< private >*/ - GParamSpec parent_instance; - GParamSpec *overridden; -}; -struct _GParamSpecGType -{ - GParamSpec parent_instance; - GType is_a_type; -}; - -/* --- GParamSpec prototypes --- */ -GParamSpec* g_param_spec_char (const gchar *name, - const gchar *nick, - const gchar *blurb, - gint8 minimum, - gint8 maximum, - gint8 default_value, - GParamFlags flags); -GParamSpec* g_param_spec_uchar (const gchar *name, - const gchar *nick, - const gchar *blurb, - guint8 minimum, - guint8 maximum, - guint8 default_value, - GParamFlags flags); -GParamSpec* g_param_spec_boolean (const gchar *name, - const gchar *nick, - const gchar *blurb, - gboolean default_value, - GParamFlags flags); -GParamSpec* g_param_spec_int (const gchar *name, - const gchar *nick, - const gchar *blurb, - gint minimum, - gint maximum, - gint default_value, - GParamFlags flags); -GParamSpec* g_param_spec_uint (const gchar *name, - const gchar *nick, - const gchar *blurb, - guint minimum, - guint maximum, - guint default_value, - GParamFlags flags); -GParamSpec* g_param_spec_long (const gchar *name, - const gchar *nick, - const gchar *blurb, - glong minimum, - glong maximum, - glong default_value, - GParamFlags flags); -GParamSpec* g_param_spec_ulong (const gchar *name, - const gchar *nick, - const gchar *blurb, - gulong minimum, - gulong maximum, - gulong default_value, - GParamFlags flags); -GParamSpec* g_param_spec_int64 (const gchar *name, - const gchar *nick, - const gchar *blurb, - gint64 minimum, - gint64 maximum, - gint64 default_value, - GParamFlags flags); -GParamSpec* g_param_spec_uint64 (const gchar *name, - const gchar *nick, - const gchar *blurb, - guint64 minimum, - guint64 maximum, - guint64 default_value, - GParamFlags flags); -GParamSpec* g_param_spec_unichar (const gchar *name, - const gchar *nick, - const gchar *blurb, - gunichar default_value, - GParamFlags flags); -GParamSpec* g_param_spec_enum (const gchar *name, - const gchar *nick, - const gchar *blurb, - GType enum_type, - gint default_value, - GParamFlags flags); -GParamSpec* g_param_spec_flags (const gchar *name, - const gchar *nick, - const gchar *blurb, - GType flags_type, - guint default_value, - GParamFlags flags); -GParamSpec* g_param_spec_float (const gchar *name, - const gchar *nick, - const gchar *blurb, - gfloat minimum, - gfloat maximum, - gfloat default_value, - GParamFlags flags); -GParamSpec* g_param_spec_double (const gchar *name, - const gchar *nick, - const gchar *blurb, - gdouble minimum, - gdouble maximum, - gdouble default_value, - GParamFlags flags); -GParamSpec* g_param_spec_string (const gchar *name, - const gchar *nick, - const gchar *blurb, - const gchar *default_value, - GParamFlags flags); -GParamSpec* g_param_spec_param (const gchar *name, - const gchar *nick, - const gchar *blurb, - GType param_type, - GParamFlags flags); -GParamSpec* g_param_spec_boxed (const gchar *name, - const gchar *nick, - const gchar *blurb, - GType boxed_type, - GParamFlags flags); -GParamSpec* g_param_spec_pointer (const gchar *name, - const gchar *nick, - const gchar *blurb, - GParamFlags flags); -GParamSpec* g_param_spec_value_array (const gchar *name, - const gchar *nick, - const gchar *blurb, - GParamSpec *element_spec, - GParamFlags flags); -GParamSpec* g_param_spec_object (const gchar *name, - const gchar *nick, - const gchar *blurb, - GType object_type, - GParamFlags flags); -GParamSpec* g_param_spec_override (const gchar *name, - GParamSpec *overridden); -GParamSpec* g_param_spec_gtype (const gchar *name, - const gchar *nick, - const gchar *blurb, - GType is_a_type, - GParamFlags flags); - -/* --- internal --- */ -/* We prefix variable declarations so they can - * properly get exported in windows dlls. - */ -#ifndef GOBJECT_VAR -# ifdef G_PLATFORM_WIN32 -# ifdef GOBJECT_STATIC_COMPILATION -# define GOBJECT_VAR extern -# else /* !GOBJECT_STATIC_COMPILATION */ -# ifdef GOBJECT_COMPILATION -# ifdef DLL_EXPORT -# define GOBJECT_VAR __declspec(dllexport) -# else /* !DLL_EXPORT */ -# define GOBJECT_VAR extern -# endif /* !DLL_EXPORT */ -# else /* !GOBJECT_COMPILATION */ -# define GOBJECT_VAR extern __declspec(dllimport) -# endif /* !GOBJECT_COMPILATION */ -# endif /* !GOBJECT_STATIC_COMPILATION */ -# else /* !G_PLATFORM_WIN32 */ -# define GOBJECT_VAR extern -# endif /* !G_PLATFORM_WIN32 */ -#endif /* GOBJECT_VAR */ - -GOBJECT_VAR GType *g_param_spec_types; - -G_END_DECLS - -#endif /* __G_PARAMSPECS_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gsignal.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gsignal.h deleted file mode 100644 index 61345dcb..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gsignal.h +++ /dev/null @@ -1,270 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 2000-2001 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_SIGNAL_H__ -#define __G_SIGNAL_H__ - -#include <gobject/gclosure.h> -#include <gobject/gvalue.h> -#include <gobject/gparam.h> -#include <gobject/gmarshal.h> - -G_BEGIN_DECLS - -/* --- typedefs --- */ -typedef struct _GSignalQuery GSignalQuery; -typedef struct _GSignalInvocationHint GSignalInvocationHint; -typedef GClosureMarshal GSignalCMarshaller; -typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint, - guint n_param_values, - const GValue *param_values, - gpointer data); -typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint, - GValue *return_accu, - const GValue *handler_return, - gpointer data); - - -/* --- run, match and connect types --- */ -typedef enum -{ - G_SIGNAL_RUN_FIRST = 1 << 0, - G_SIGNAL_RUN_LAST = 1 << 1, - G_SIGNAL_RUN_CLEANUP = 1 << 2, - G_SIGNAL_NO_RECURSE = 1 << 3, - G_SIGNAL_DETAILED = 1 << 4, - G_SIGNAL_ACTION = 1 << 5, - G_SIGNAL_NO_HOOKS = 1 << 6 -} GSignalFlags; -#define G_SIGNAL_FLAGS_MASK 0x7f -typedef enum -{ - G_CONNECT_AFTER = 1 << 0, - G_CONNECT_SWAPPED = 1 << 1 -} GConnectFlags; -typedef enum -{ - G_SIGNAL_MATCH_ID = 1 << 0, - G_SIGNAL_MATCH_DETAIL = 1 << 1, - G_SIGNAL_MATCH_CLOSURE = 1 << 2, - G_SIGNAL_MATCH_FUNC = 1 << 3, - G_SIGNAL_MATCH_DATA = 1 << 4, - G_SIGNAL_MATCH_UNBLOCKED = 1 << 5 -} GSignalMatchType; -#define G_SIGNAL_MATCH_MASK 0x3f -#define G_SIGNAL_TYPE_STATIC_SCOPE (G_TYPE_FLAG_RESERVED_ID_BIT) - - -/* --- signal information --- */ -struct _GSignalInvocationHint -{ - guint signal_id; - GQuark detail; - GSignalFlags run_type; -}; -struct _GSignalQuery -{ - guint signal_id; - const gchar *signal_name; - GType itype; - GSignalFlags signal_flags; - GType return_type; /* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag */ - guint n_params; - const GType *param_types; /* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag */ -}; - - -/* --- signals --- */ -guint g_signal_newv (const gchar *signal_name, - GType itype, - GSignalFlags signal_flags, - GClosure *class_closure, - GSignalAccumulator accumulator, - gpointer accu_data, - GSignalCMarshaller c_marshaller, - GType return_type, - guint n_params, - GType *param_types); -guint g_signal_new_valist (const gchar *signal_name, - GType itype, - GSignalFlags signal_flags, - GClosure *class_closure, - GSignalAccumulator accumulator, - gpointer accu_data, - GSignalCMarshaller c_marshaller, - GType return_type, - guint n_params, - va_list args); -guint g_signal_new (const gchar *signal_name, - GType itype, - GSignalFlags signal_flags, - guint class_offset, - GSignalAccumulator accumulator, - gpointer accu_data, - GSignalCMarshaller c_marshaller, - GType return_type, - guint n_params, - ...); -void g_signal_emitv (const GValue *instance_and_params, - guint signal_id, - GQuark detail, - GValue *return_value); -void g_signal_emit_valist (gpointer instance, - guint signal_id, - GQuark detail, - va_list var_args); -void g_signal_emit (gpointer instance, - guint signal_id, - GQuark detail, - ...); -void g_signal_emit_by_name (gpointer instance, - const gchar *detailed_signal, - ...); -guint g_signal_lookup (const gchar *name, - GType itype); -G_CONST_RETURN gchar* g_signal_name (guint signal_id); -void g_signal_query (guint signal_id, - GSignalQuery *query); -guint* g_signal_list_ids (GType itype, - guint *n_ids); -gboolean g_signal_parse_name (const gchar *detailed_signal, - GType itype, - guint *signal_id_p, - GQuark *detail_p, - gboolean force_detail_quark); -GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance); - - -/* --- signal emissions --- */ -void g_signal_stop_emission (gpointer instance, - guint signal_id, - GQuark detail); -void g_signal_stop_emission_by_name (gpointer instance, - const gchar *detailed_signal); -gulong g_signal_add_emission_hook (guint signal_id, - GQuark detail, - GSignalEmissionHook hook_func, - gpointer hook_data, - GDestroyNotify data_destroy); -void g_signal_remove_emission_hook (guint signal_id, - gulong hook_id); - - -/* --- signal handlers --- */ -gboolean g_signal_has_handler_pending (gpointer instance, - guint signal_id, - GQuark detail, - gboolean may_be_blocked); -gulong g_signal_connect_closure_by_id (gpointer instance, - guint signal_id, - GQuark detail, - GClosure *closure, - gboolean after); -gulong g_signal_connect_closure (gpointer instance, - const gchar *detailed_signal, - GClosure *closure, - gboolean after); -gulong g_signal_connect_data (gpointer instance, - const gchar *detailed_signal, - GCallback c_handler, - gpointer data, - GClosureNotify destroy_data, - GConnectFlags connect_flags); -void g_signal_handler_block (gpointer instance, - gulong handler_id); -void g_signal_handler_unblock (gpointer instance, - gulong handler_id); -void g_signal_handler_disconnect (gpointer instance, - gulong handler_id); -gboolean g_signal_handler_is_connected (gpointer instance, - gulong handler_id); -gulong g_signal_handler_find (gpointer instance, - GSignalMatchType mask, - guint signal_id, - GQuark detail, - GClosure *closure, - gpointer func, - gpointer data); -guint g_signal_handlers_block_matched (gpointer instance, - GSignalMatchType mask, - guint signal_id, - GQuark detail, - GClosure *closure, - gpointer func, - gpointer data); -guint g_signal_handlers_unblock_matched (gpointer instance, - GSignalMatchType mask, - guint signal_id, - GQuark detail, - GClosure *closure, - gpointer func, - gpointer data); -guint g_signal_handlers_disconnect_matched (gpointer instance, - GSignalMatchType mask, - guint signal_id, - GQuark detail, - GClosure *closure, - gpointer func, - gpointer data); - - -/* --- chaining for language bindings --- */ -void g_signal_override_class_closure (guint signal_id, - GType instance_type, - GClosure *class_closure); -void g_signal_chain_from_overridden (const GValue *instance_and_params, - GValue *return_value); - - -/* --- convenience --- */ -#define g_signal_connect(instance, detailed_signal, c_handler, data) \ - g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) -#define g_signal_connect_after(instance, detailed_signal, c_handler, data) \ - g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_AFTER) -#define g_signal_connect_swapped(instance, detailed_signal, c_handler, data) \ - g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED) -#define g_signal_handlers_disconnect_by_func(instance, func, data) \ - g_signal_handlers_disconnect_matched ((instance), \ - (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), \ - 0, 0, NULL, (func), (data)) -#define g_signal_handlers_block_by_func(instance, func, data) \ - g_signal_handlers_block_matched ((instance), \ - (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), \ - 0, 0, NULL, (func), (data)) -#define g_signal_handlers_unblock_by_func(instance, func, data) \ - g_signal_handlers_unblock_matched ((instance), \ - (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), \ - 0, 0, NULL, (func), (data)) - - -gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint, - GValue *return_accu, - const GValue *handler_return, - gpointer dummy); - -/*< private >*/ -void g_signal_handlers_destroy (gpointer instance); -void _g_signals_destroy (GType itype); - -G_END_DECLS - -#endif /* __G_SIGNAL_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gsourceclosure.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gsourceclosure.h deleted file mode 100644 index e371235a..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gsourceclosure.h +++ /dev/null @@ -1,41 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 2001 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_SOURCECLOSURE_H__ -#define __G_SOURCECLOSURE_H__ - -#include <gobject/gclosure.h> - -G_BEGIN_DECLS - -void g_source_set_closure (GSource *source, - GClosure *closure); - -GType g_io_channel_get_type (void); -GType g_io_condition_get_type (void); - -#define G_TYPE_IO_CHANNEL (g_io_channel_get_type ()) -#define G_TYPE_IO_CONDITION (g_io_condition_get_type ()) - -G_END_DECLS - -#endif /* __G_SOURCECLOSURE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtype.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtype.h deleted file mode 100644 index 5fa98606..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtype.h +++ /dev/null @@ -1,499 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1998-1999, 2000-2001 Tim Janik and 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_TYPE_H__ -#define __G_TYPE_H__ - -#include <glib.h> - -G_BEGIN_DECLS - -/* Basic Type Macros - */ -#define G_TYPE_FUNDAMENTAL(type) (g_type_fundamental (type)) -#define G_TYPE_FUNDAMENTAL_MAX (255 << G_TYPE_FUNDAMENTAL_SHIFT) - -/* Constant fundamental types, - * introduced by g_type_init(). - */ -#define G_TYPE_INVALID G_TYPE_MAKE_FUNDAMENTAL (0) -#define G_TYPE_NONE G_TYPE_MAKE_FUNDAMENTAL (1) -#define G_TYPE_INTERFACE G_TYPE_MAKE_FUNDAMENTAL (2) -#define G_TYPE_CHAR G_TYPE_MAKE_FUNDAMENTAL (3) -#define G_TYPE_UCHAR G_TYPE_MAKE_FUNDAMENTAL (4) -#define G_TYPE_BOOLEAN G_TYPE_MAKE_FUNDAMENTAL (5) -#define G_TYPE_INT G_TYPE_MAKE_FUNDAMENTAL (6) -#define G_TYPE_UINT G_TYPE_MAKE_FUNDAMENTAL (7) -#define G_TYPE_LONG G_TYPE_MAKE_FUNDAMENTAL (8) -#define G_TYPE_ULONG G_TYPE_MAKE_FUNDAMENTAL (9) -#define G_TYPE_INT64 G_TYPE_MAKE_FUNDAMENTAL (10) -#define G_TYPE_UINT64 G_TYPE_MAKE_FUNDAMENTAL (11) -#define G_TYPE_ENUM G_TYPE_MAKE_FUNDAMENTAL (12) -#define G_TYPE_FLAGS G_TYPE_MAKE_FUNDAMENTAL (13) -#define G_TYPE_FLOAT G_TYPE_MAKE_FUNDAMENTAL (14) -#define G_TYPE_DOUBLE G_TYPE_MAKE_FUNDAMENTAL (15) -#define G_TYPE_STRING G_TYPE_MAKE_FUNDAMENTAL (16) -#define G_TYPE_POINTER G_TYPE_MAKE_FUNDAMENTAL (17) -#define G_TYPE_BOXED G_TYPE_MAKE_FUNDAMENTAL (18) -#define G_TYPE_PARAM G_TYPE_MAKE_FUNDAMENTAL (19) -#define G_TYPE_OBJECT G_TYPE_MAKE_FUNDAMENTAL (20) - - -/* Reserved fundamental type numbers to create new fundamental - * type IDs with G_TYPE_MAKE_FUNDAMENTAL(). - * Send email to gtk-devel-list@redhat.com for reservations. - */ -#define G_TYPE_FUNDAMENTAL_SHIFT (2) -#define G_TYPE_MAKE_FUNDAMENTAL(x) ((GType) ((x) << G_TYPE_FUNDAMENTAL_SHIFT)) -#define G_TYPE_RESERVED_GLIB_FIRST (21) -#define G_TYPE_RESERVED_GLIB_LAST (31) -#define G_TYPE_RESERVED_BSE_FIRST (32) -#define G_TYPE_RESERVED_BSE_LAST (48) -#define G_TYPE_RESERVED_USER_FIRST (49) - - -/* Type Checking Macros - */ -#define G_TYPE_IS_FUNDAMENTAL(type) ((type) <= G_TYPE_FUNDAMENTAL_MAX) -#define G_TYPE_IS_DERIVED(type) ((type) > G_TYPE_FUNDAMENTAL_MAX) -#define G_TYPE_IS_INTERFACE(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_INTERFACE) -#define G_TYPE_IS_CLASSED(type) (g_type_test_flags ((type), G_TYPE_FLAG_CLASSED)) -#define G_TYPE_IS_INSTANTIATABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_INSTANTIATABLE)) -#define G_TYPE_IS_DERIVABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_DERIVABLE)) -#define G_TYPE_IS_DEEP_DERIVABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_DEEP_DERIVABLE)) -#define G_TYPE_IS_ABSTRACT(type) (g_type_test_flags ((type), G_TYPE_FLAG_ABSTRACT)) -#define G_TYPE_IS_VALUE_ABSTRACT(type) (g_type_test_flags ((type), G_TYPE_FLAG_VALUE_ABSTRACT)) -#define G_TYPE_IS_VALUE_TYPE(type) (g_type_check_is_value_type (type)) -#define G_TYPE_HAS_VALUE_TABLE(type) (g_type_value_table_peek (type) != NULL) - - -/* Typedefs - */ -#if GLIB_SIZEOF_SIZE_T != GLIB_SIZEOF_LONG || !defined __cplusplus -typedef gsize GType; -#else /* for historic reasons, C++ links against gulong GTypes */ -typedef gulong GType; -#endif -typedef struct _GValue GValue; -typedef union _GTypeCValue GTypeCValue; -typedef struct _GTypePlugin GTypePlugin; -typedef struct _GTypeClass GTypeClass; -typedef struct _GTypeInterface GTypeInterface; -typedef struct _GTypeInstance GTypeInstance; -typedef struct _GTypeInfo GTypeInfo; -typedef struct _GTypeFundamentalInfo GTypeFundamentalInfo; -typedef struct _GInterfaceInfo GInterfaceInfo; -typedef struct _GTypeValueTable GTypeValueTable; -typedef struct _GTypeQuery GTypeQuery; - - -/* Basic Type Structures - */ -struct _GTypeClass -{ - /*< private >*/ - GType g_type; -}; -struct _GTypeInstance -{ - /*< private >*/ - GTypeClass *g_class; -}; -struct _GTypeInterface -{ - /*< private >*/ - GType g_type; /* iface type */ - GType g_instance_type; -}; -struct _GTypeQuery -{ - GType type; - const gchar *type_name; - guint class_size; - guint instance_size; -}; - - -/* Casts, checks and accessors for structured types - * usage of these macros is reserved to type implementations only - */ -/*< protected >*/ -#define G_TYPE_CHECK_INSTANCE(instance) (_G_TYPE_CHI ((GTypeInstance*) (instance))) -#define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) -#define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type))) -#define G_TYPE_INSTANCE_GET_CLASS(instance, g_type, c_type) (_G_TYPE_IGC ((instance), (g_type), c_type)) -#define G_TYPE_INSTANCE_GET_INTERFACE(instance, g_type, c_type) (_G_TYPE_IGI ((instance), (g_type), c_type)) -#define G_TYPE_CHECK_CLASS_CAST(g_class, g_type, c_type) (_G_TYPE_CCC ((g_class), (g_type), c_type)) -#define G_TYPE_CHECK_CLASS_TYPE(g_class, g_type) (_G_TYPE_CCT ((g_class), (g_type))) -#define G_TYPE_CHECK_VALUE(value) (_G_TYPE_CHV ((value))) -#define G_TYPE_CHECK_VALUE_TYPE(value, g_type) (_G_TYPE_CVH ((value), (g_type))) -#define G_TYPE_FROM_INSTANCE(instance) (G_TYPE_FROM_CLASS (((GTypeInstance*) (instance))->g_class)) -#define G_TYPE_FROM_CLASS(g_class) (((GTypeClass*) (g_class))->g_type) -#define G_TYPE_FROM_INTERFACE(g_iface) (((GTypeInterface*) (g_iface))->g_type) - -#define G_TYPE_INSTANCE_GET_PRIVATE(instance, g_type, c_type) ((c_type*) g_type_instance_get_private ((GTypeInstance*) (instance), (g_type))) - - -/* debug flags for g_type_init_with_debug_flags() */ -typedef enum /*< skip >*/ -{ - G_TYPE_DEBUG_NONE = 0, - G_TYPE_DEBUG_OBJECTS = 1 << 0, - G_TYPE_DEBUG_SIGNALS = 1 << 1, - G_TYPE_DEBUG_MASK = 0x03 -} GTypeDebugFlags; - - -/* --- prototypes --- */ -void g_type_init (void); -void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags); -G_CONST_RETURN gchar* g_type_name (GType type); -GQuark g_type_qname (GType type); -GType g_type_from_name (const gchar *name); -GType g_type_parent (GType type); -guint g_type_depth (GType type); -GType g_type_next_base (GType leaf_type, - GType root_type); -gboolean g_type_is_a (GType type, - GType is_a_type); -gpointer g_type_class_ref (GType type); -gpointer g_type_class_peek (GType type); -gpointer g_type_class_peek_static (GType type); -void g_type_class_unref (gpointer g_class); -gpointer g_type_class_peek_parent (gpointer g_class); -gpointer g_type_interface_peek (gpointer instance_class, - GType iface_type); -gpointer g_type_interface_peek_parent (gpointer g_iface); - -gpointer g_type_default_interface_ref (GType g_type); -gpointer g_type_default_interface_peek (GType g_type); -void g_type_default_interface_unref (gpointer g_iface); - -/* g_free() the returned arrays */ -GType* g_type_children (GType type, - guint *n_children); -GType* g_type_interfaces (GType type, - guint *n_interfaces); - -/* per-type _static_ data */ -void g_type_set_qdata (GType type, - GQuark quark, - gpointer data); -gpointer g_type_get_qdata (GType type, - GQuark quark); -void g_type_query (GType type, - GTypeQuery *query); - - -/* --- type registration --- */ -typedef void (*GBaseInitFunc) (gpointer g_class); -typedef void (*GBaseFinalizeFunc) (gpointer g_class); -typedef void (*GClassInitFunc) (gpointer g_class, - gpointer class_data); -typedef void (*GClassFinalizeFunc) (gpointer g_class, - gpointer class_data); -typedef void (*GInstanceInitFunc) (GTypeInstance *instance, - gpointer g_class); -typedef void (*GInterfaceInitFunc) (gpointer g_iface, - gpointer iface_data); -typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface, - gpointer iface_data); -typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data, - GTypeClass *g_class); -typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data, - gpointer g_iface); -typedef enum /*< skip >*/ -{ - G_TYPE_FLAG_CLASSED = (1 << 0), - G_TYPE_FLAG_INSTANTIATABLE = (1 << 1), - G_TYPE_FLAG_DERIVABLE = (1 << 2), - G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3) -} GTypeFundamentalFlags; -typedef enum /*< skip >*/ -{ - G_TYPE_FLAG_ABSTRACT = (1 << 4), - G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5) -} GTypeFlags; -struct _GTypeInfo -{ - /* interface types, classed types, instantiated types */ - guint16 class_size; - - GBaseInitFunc base_init; - GBaseFinalizeFunc base_finalize; - - /* interface types, classed types, instantiated types */ - GClassInitFunc class_init; - GClassFinalizeFunc class_finalize; - gconstpointer class_data; - - /* instantiated types */ - guint16 instance_size; - guint16 n_preallocs; - GInstanceInitFunc instance_init; - - /* value handling */ - const GTypeValueTable *value_table; -}; -struct _GTypeFundamentalInfo -{ - GTypeFundamentalFlags type_flags; -}; -struct _GInterfaceInfo -{ - GInterfaceInitFunc interface_init; - GInterfaceFinalizeFunc interface_finalize; - gpointer interface_data; -}; -struct _GTypeValueTable -{ - void (*value_init) (GValue *value); - void (*value_free) (GValue *value); - void (*value_copy) (const GValue *src_value, - GValue *dest_value); - /* varargs functionality (optional) */ - gpointer (*value_peek_pointer) (const GValue *value); - gchar *collect_format; - gchar* (*collect_value) (GValue *value, - guint n_collect_values, - GTypeCValue *collect_values, - guint collect_flags); - gchar *lcopy_format; - gchar* (*lcopy_value) (const GValue *value, - guint n_collect_values, - GTypeCValue *collect_values, - guint collect_flags); -}; -GType g_type_register_static (GType parent_type, - const gchar *type_name, - const GTypeInfo *info, - GTypeFlags flags); -GType g_type_register_static_simple (GType parent_type, - const gchar *type_name, - guint class_size, - GClassInitFunc class_init, - guint instance_size, - GInstanceInitFunc instance_init, - GTypeFlags flags); - -GType g_type_register_dynamic (GType parent_type, - const gchar *type_name, - GTypePlugin *plugin, - GTypeFlags flags); -GType g_type_register_fundamental (GType type_id, - const gchar *type_name, - const GTypeInfo *info, - const GTypeFundamentalInfo *finfo, - GTypeFlags flags); -void g_type_add_interface_static (GType instance_type, - GType interface_type, - const GInterfaceInfo *info); -void g_type_add_interface_dynamic (GType instance_type, - GType interface_type, - GTypePlugin *plugin); -void g_type_interface_add_prerequisite (GType interface_type, - GType prerequisite_type); -GType*g_type_interface_prerequisites (GType interface_type, - guint *n_prerequisites); -void g_type_class_add_private (gpointer g_class, - gsize private_size); -gpointer g_type_instance_get_private (GTypeInstance *instance, - GType private_type); - - -/* --- GType boilerplate --- */ -/* convenience macros for type implementations, which for a type GtkGadget will: - * - prototype: static void gtk_gadget_class_init (GtkGadgetClass *klass); - * - prototype: static void gtk_gadget_init (GtkGadget *self); - * - define: static gpointer gtk_gadget_parent_class = NULL; - * gtk_gadget_parent_class is initialized prior to calling gtk_gadget_class_init() - * - implement: GType gtk_gadget_get_type (void) { ... } - * - support custom code in gtk_gadget_get_type() after the type is registered. - * - * macro arguments: TypeName, type_name, TYPE_PARENT, CODE - * example: G_DEFINE_TYPE_WITH_CODE (GtkGadget, gtk_gadget, GTK_TYPE_WIDGET, - * g_print ("GtkGadget-id: %lu\n", g_define_type_id)); - */ -#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {}) -#define G_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, 0) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() -#define G_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {}) -#define G_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() -#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() - -/* convenience macro to ease interface addition in the CODE - * section of G_DEFINE_TYPE_WITH_CODE() (this macro relies on - * the g_define_type_id present within G_DEFINE_TYPE_WITH_CODE()). - * usage example: - * G_DEFINE_TYPE_WITH_CODE (GtkTreeStore, gtk_tree_store, G_TYPE_OBJECT, - * G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_MODEL, - * gtk_tree_store_tree_model_init)); - */ -#define G_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init) { \ - const GInterfaceInfo g_implement_interface_info = { \ - (GInterfaceInitFunc) iface_init, NULL, NULL \ - }; \ - g_type_add_interface_static (g_define_type_id, TYPE_IFACE, &g_implement_interface_info); \ -} - -#define _G_DEFINE_TYPE_EXTENDED_BEGIN(TypeName, type_name, TYPE_PARENT, flags) \ -\ -static void type_name##_init (TypeName *self); \ -static void type_name##_class_init (TypeName##Class *klass); \ -static gpointer type_name##_parent_class = NULL; \ -static void type_name##_class_intern_init (gpointer klass) \ -{ \ - type_name##_parent_class = g_type_class_peek_parent (klass); \ - type_name##_class_init ((TypeName##Class*) klass); \ -} \ -\ -GType \ -type_name##_get_type (void) \ -{ \ - static volatile gsize g_define_type_id__volatile = 0; \ - if (g_once_init_enter (&g_define_type_id__volatile)) \ - { \ - GType g_define_type_id = \ - g_type_register_static_simple (TYPE_PARENT, \ - g_intern_static_string (#TypeName), \ - sizeof (TypeName##Class), \ - (GClassInitFunc) type_name##_class_intern_init, \ - sizeof (TypeName), \ - (GInstanceInitFunc) type_name##_init, \ - (GTypeFlags) flags); \ - { /* custom code follows */ -#define _G_DEFINE_TYPE_EXTENDED_END() \ - /* following custom code */ \ - } \ - g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \ - } \ - return g_define_type_id__volatile; \ -} /* closes type_name##_get_type() */ - - -/* --- protected (for fundamental type implementations) --- */ -GTypePlugin* g_type_get_plugin (GType type); -GTypePlugin* g_type_interface_get_plugin (GType instance_type, - GType interface_type); -GType g_type_fundamental_next (void); -GType g_type_fundamental (GType type_id); -GTypeInstance* g_type_create_instance (GType type); -void g_type_free_instance (GTypeInstance *instance); - -void g_type_add_class_cache_func (gpointer cache_data, - GTypeClassCacheFunc cache_func); -void g_type_remove_class_cache_func (gpointer cache_data, - GTypeClassCacheFunc cache_func); -void g_type_class_unref_uncached (gpointer g_class); - -void g_type_add_interface_check (gpointer check_data, - GTypeInterfaceCheckFunc check_func); -void g_type_remove_interface_check (gpointer check_data, - GTypeInterfaceCheckFunc check_func); - -GTypeValueTable* g_type_value_table_peek (GType type); - - -/*< private >*/ -gboolean g_type_check_instance (GTypeInstance *instance) G_GNUC_PURE; -GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance, - GType iface_type); -gboolean g_type_check_instance_is_a (GTypeInstance *instance, - GType iface_type) G_GNUC_PURE; -GTypeClass* g_type_check_class_cast (GTypeClass *g_class, - GType is_a_type); -gboolean g_type_check_class_is_a (GTypeClass *g_class, - GType is_a_type) G_GNUC_PURE; -gboolean g_type_check_is_value_type (GType type) G_GNUC_CONST; -gboolean g_type_check_value (GValue *value) G_GNUC_PURE; -gboolean g_type_check_value_holds (GValue *value, - GType type) G_GNUC_PURE; -gboolean g_type_test_flags (GType type, - guint flags) G_GNUC_CONST; - - -/* --- debugging functions --- */ -G_CONST_RETURN gchar* g_type_name_from_instance (GTypeInstance *instance); -G_CONST_RETURN gchar* g_type_name_from_class (GTypeClass *g_class); - - -/* --- internal functions --- */ -G_GNUC_INTERNAL void g_value_c_init (void); /* sync with gvalue.c */ -G_GNUC_INTERNAL void g_value_types_init (void); /* sync with gvaluetypes.c */ -G_GNUC_INTERNAL void g_enum_types_init (void); /* sync with genums.c */ -G_GNUC_INTERNAL void g_param_type_init (void); /* sync with gparam.c */ -G_GNUC_INTERNAL void g_boxed_type_init (void); /* sync with gboxed.c */ -G_GNUC_INTERNAL void g_object_type_init (void); /* sync with gobject.c */ -G_GNUC_INTERNAL void g_param_spec_types_init (void); /* sync with gparamspecs.c */ -G_GNUC_INTERNAL void g_value_transforms_init (void); /* sync with gvaluetransform.c */ -G_GNUC_INTERNAL void g_signal_init (void); /* sync with gsignal.c */ - - -/* --- implementation bits --- */ -#ifndef G_DISABLE_CAST_CHECKS -# define _G_TYPE_CIC(ip, gt, ct) \ - ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) -# define _G_TYPE_CCC(cp, gt, ct) \ - ((ct*) g_type_check_class_cast ((GTypeClass*) cp, gt)) -#else /* G_DISABLE_CAST_CHECKS */ -# define _G_TYPE_CIC(ip, gt, ct) ((ct*) ip) -# define _G_TYPE_CCC(cp, gt, ct) ((ct*) cp) -#endif /* G_DISABLE_CAST_CHECKS */ -#define _G_TYPE_CHI(ip) (g_type_check_instance ((GTypeInstance*) ip)) -#define _G_TYPE_CHV(vl) (g_type_check_value ((GValue*) vl)) -#define _G_TYPE_IGC(ip, gt, ct) ((ct*) (((GTypeInstance*) ip)->g_class)) -#define _G_TYPE_IGI(ip, gt, ct) ((ct*) g_type_interface_peek (((GTypeInstance*) ip)->g_class, gt)) -#ifdef __GNUC__ -# define _G_TYPE_CIT(ip, gt) (G_GNUC_EXTENSION ({ \ - GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \ - if (__inst && __inst->g_class && __inst->g_class->g_type == __t) \ - __r = TRUE; \ - else \ - __r = g_type_check_instance_is_a (__inst, __t); \ - __r; \ -})) -# define _G_TYPE_CCT(cp, gt) (G_GNUC_EXTENSION ({ \ - GTypeClass *__class = (GTypeClass*) cp; GType __t = gt; gboolean __r; \ - if (__class && __class->g_type == __t) \ - __r = TRUE; \ - else \ - __r = g_type_check_class_is_a (__class, __t); \ - __r; \ -})) -# define _G_TYPE_CVH(vl, gt) (G_GNUC_EXTENSION ({ \ - GValue *__val = (GValue*) vl; GType __t = gt; gboolean __r; \ - if (__val && __val->g_type == __t) \ - __r = TRUE; \ - else \ - __r = g_type_check_value_holds (__val, __t); \ - __r; \ -})) -#else /* !__GNUC__ */ -# define _G_TYPE_CIT(ip, gt) (g_type_check_instance_is_a ((GTypeInstance*) ip, gt)) -# define _G_TYPE_CCT(cp, gt) (g_type_check_class_is_a ((GTypeClass*) cp, gt)) -# define _G_TYPE_CVH(vl, gt) (g_type_check_value_holds ((GValue*) vl, gt)) -#endif /* !__GNUC__ */ -#define G_TYPE_FLAG_RESERVED_ID_BIT ((GType) (1 << 0)) -extern GTypeDebugFlags _g_type_debug_flags; - -G_END_DECLS - -#endif /* __G_TYPE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtypemodule.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtypemodule.h deleted file mode 100644 index 46858f59..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtypemodule.h +++ /dev/null @@ -1,135 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 2000 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_TYPE_MODULE_H__ -#define __G_TYPE_MODULE_H__ - -#include <gobject/gobject.h> -#include <gobject/genums.h> - -G_BEGIN_DECLS - -typedef struct _GTypeModule GTypeModule; -typedef struct _GTypeModuleClass GTypeModuleClass; - -#define G_TYPE_TYPE_MODULE (g_type_module_get_type ()) -#define G_TYPE_MODULE(module) (G_TYPE_CHECK_INSTANCE_CAST ((module), G_TYPE_TYPE_MODULE, GTypeModule)) -#define G_TYPE_MODULE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_TYPE_MODULE, GTypeModuleClass)) -#define G_IS_TYPE_MODULE(module) (G_TYPE_CHECK_INSTANCE_TYPE ((module), G_TYPE_TYPE_MODULE)) -#define G_IS_TYPE_MODULE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_TYPE_MODULE)) -#define G_TYPE_MODULE_GET_CLASS(module) (G_TYPE_INSTANCE_GET_CLASS ((module), G_TYPE_TYPE_MODULE, GTypeModuleClass)) - -struct _GTypeModule -{ - GObject parent_instance; - - guint use_count; - GSList *type_infos; - GSList *interface_infos; - - /*< public >*/ - gchar *name; -}; - -struct _GTypeModuleClass -{ - GObjectClass parent_class; - - /*< public >*/ - gboolean (* load) (GTypeModule *module); - void (* unload) (GTypeModule *module); - - /*< private >*/ - /* Padding for future expansion */ - void (*reserved1) (void); - void (*reserved2) (void); - void (*reserved3) (void); - void (*reserved4) (void); -}; - -#define G_DEFINE_DYNAMIC_TYPE(TN, t_n, T_P) G_DEFINE_DYNAMIC_TYPE_EXTENDED (TN, t_n, T_P, 0, {}) -#define G_DEFINE_DYNAMIC_TYPE_EXTENDED(TypeName, type_name, TYPE_PARENT, flags, CODE) \ -static void type_name##_init (TypeName *self); \ -static void type_name##_class_init (TypeName##Class *klass); \ -static void type_name##_class_finalize (TypeName##Class *klass); \ -static gpointer type_name##_parent_class = NULL; \ -static GType type_name##_type_id = 0; \ -static void type_name##_class_intern_init (gpointer klass) \ -{ \ - type_name##_parent_class = g_type_class_peek_parent (klass); \ - type_name##_class_init ((TypeName##Class*) klass); \ -} \ -GType \ -type_name##_get_type (void) \ -{ \ - return type_name##_type_id; \ -} \ -static void \ -type_name##_register_type (GTypeModule *type_module) \ -{ \ - GType g_define_type_id; \ - const GTypeInfo g_define_type_info = { \ - sizeof (TypeName##Class), \ - (GBaseInitFunc) NULL, \ - (GBaseFinalizeFunc) NULL, \ - (GClassInitFunc) type_name##_class_intern_init, \ - (GClassFinalizeFunc) type_name##_class_finalize, \ - NULL, /* class_data */ \ - sizeof (TypeName), \ - 0, /* n_preallocs */ \ - (GInstanceInitFunc) type_name##_init, \ - NULL /* value_table */ \ - }; \ - type_name##_type_id = g_type_module_register_type (type_module, \ - TYPE_PARENT, \ - #TypeName, \ - &g_define_type_info, \ - (GTypeFlags) flags); \ - g_define_type_id = type_name##_type_id; \ - { CODE ; } \ -} - - -GType g_type_module_get_type (void) G_GNUC_CONST; -gboolean g_type_module_use (GTypeModule *module); -void g_type_module_unuse (GTypeModule *module); -void g_type_module_set_name (GTypeModule *module, - const gchar *name); -GType g_type_module_register_type (GTypeModule *module, - GType parent_type, - const gchar *type_name, - const GTypeInfo *type_info, - GTypeFlags flags); -void g_type_module_add_interface (GTypeModule *module, - GType instance_type, - GType interface_type, - const GInterfaceInfo *interface_info); -GType g_type_module_register_enum (GTypeModule *module, - const gchar *name, - const GEnumValue *const_static_values); -GType g_type_module_register_flags (GTypeModule *module, - const gchar *name, - const GFlagsValue *const_static_values); - -G_END_DECLS - -#endif /* __G_TYPE_MODULE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtypeplugin.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtypeplugin.h deleted file mode 100644 index a8e9803d..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gtypeplugin.h +++ /dev/null @@ -1,79 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 2000 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. - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_TYPE_PLUGIN_H__ -#define __G_TYPE_PLUGIN_H__ - -#include <gobject/gtype.h> - -G_BEGIN_DECLS - -/* --- type macros --- */ -#define G_TYPE_TYPE_PLUGIN (g_type_plugin_get_type ()) -#define G_TYPE_PLUGIN(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_TYPE_PLUGIN, GTypePlugin)) -#define G_TYPE_PLUGIN_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), G_TYPE_TYPE_PLUGIN, GTypePluginClass)) -#define G_IS_TYPE_PLUGIN(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_TYPE_PLUGIN)) -#define G_IS_TYPE_PLUGIN_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), G_TYPE_TYPE_PLUGIN)) -#define G_TYPE_PLUGIN_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_TYPE_PLUGIN, GTypePluginClass)) - - -/* --- typedefs & structures --- */ -typedef struct _GTypePluginClass GTypePluginClass; -typedef void (*GTypePluginUse) (GTypePlugin *plugin); -typedef void (*GTypePluginUnuse) (GTypePlugin *plugin); -typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin, - GType g_type, - GTypeInfo *info, - GTypeValueTable *value_table); -typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin, - GType instance_type, - GType interface_type, - GInterfaceInfo *info); -struct _GTypePluginClass -{ - /*< private >*/ - GTypeInterface base_iface; - - /*< public >*/ - GTypePluginUse use_plugin; - GTypePluginUnuse unuse_plugin; - GTypePluginCompleteTypeInfo complete_type_info; - GTypePluginCompleteInterfaceInfo complete_interface_info; -}; - - -/* --- prototypes --- */ -GType g_type_plugin_get_type (void) G_GNUC_CONST; -void g_type_plugin_use (GTypePlugin *plugin); -void g_type_plugin_unuse (GTypePlugin *plugin); -void g_type_plugin_complete_type_info (GTypePlugin *plugin, - GType g_type, - GTypeInfo *info, - GTypeValueTable *value_table); -void g_type_plugin_complete_interface_info (GTypePlugin *plugin, - GType instance_type, - GType interface_type, - GInterfaceInfo *info); - -G_END_DECLS - -#endif /* __G_TYPE_PLUGIN_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvalue.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvalue.h deleted file mode 100644 index b93e1e9d..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvalue.h +++ /dev/null @@ -1,94 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1997-1999, 2000-2001 Tim Janik and 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. - * - * gvalue.h: generic GValue functions - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_VALUE_H__ -#define __G_VALUE_H__ - -#include <gobject/gtype.h> - -G_BEGIN_DECLS - -/* --- type macros --- */ -#define G_TYPE_IS_VALUE(type) (g_type_check_is_value_type (type)) -#define G_IS_VALUE(value) (G_TYPE_CHECK_VALUE (value)) -#define G_VALUE_TYPE(value) (((GValue*) (value))->g_type) -#define G_VALUE_TYPE_NAME(value) (g_type_name (G_VALUE_TYPE (value))) -#define G_VALUE_HOLDS(value,type) (G_TYPE_CHECK_VALUE_TYPE ((value), (type))) - - -/* --- typedefs & structures --- */ -typedef void (*GValueTransform) (const GValue *src_value, - GValue *dest_value); -struct _GValue -{ - /*< private >*/ - GType g_type; - - /* public for GTypeValueTable methods */ - union { - gint v_int; - guint v_uint; - glong v_long; - gulong v_ulong; - gint64 v_int64; - guint64 v_uint64; - gfloat v_float; - gdouble v_double; - gpointer v_pointer; - } data[2]; -}; - - -/* --- prototypes --- */ -GValue* g_value_init (GValue *value, - GType g_type); -void g_value_copy (const GValue *src_value, - GValue *dest_value); -GValue* g_value_reset (GValue *value); -void g_value_unset (GValue *value); -void g_value_set_instance (GValue *value, - gpointer instance); - - -/* --- private --- */ -gboolean g_value_fits_pointer (const GValue *value); -gpointer g_value_peek_pointer (const GValue *value); - - -/* --- implementation details --- */ -gboolean g_value_type_compatible (GType src_type, - GType dest_type); -gboolean g_value_type_transformable (GType src_type, - GType dest_type); -gboolean g_value_transform (const GValue *src_value, - GValue *dest_value); -void g_value_register_transform_func (GType src_type, - GType dest_type, - GValueTransform transform_func); -#define G_VALUE_NOCOPY_CONTENTS (1 << 27) - - -G_END_DECLS - -#endif /* __G_VALUE_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluearray.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluearray.h deleted file mode 100644 index d6897148..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluearray.h +++ /dev/null @@ -1,70 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 2001 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. - * - * gvaluearray.h: GLib array type holding GValues - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_VALUE_ARRAY_H__ -#define __G_VALUE_ARRAY_H__ - -#include <gobject/gvalue.h> - - -G_BEGIN_DECLS - - -/* --- typedefs & structs --- */ -typedef struct _GValueArray GValueArray; -struct _GValueArray -{ - guint n_values; - GValue *values; - - /*< private >*/ - guint n_prealloced; -}; - - -/* --- prototypes --- */ -GValue* g_value_array_get_nth (GValueArray *value_array, - guint index_); -GValueArray* g_value_array_new (guint n_prealloced); -void g_value_array_free (GValueArray *value_array); -GValueArray* g_value_array_copy (const GValueArray *value_array); -GValueArray* g_value_array_prepend (GValueArray *value_array, - const GValue *value); -GValueArray* g_value_array_append (GValueArray *value_array, - const GValue *value); -GValueArray* g_value_array_insert (GValueArray *value_array, - guint index_, - const GValue *value); -GValueArray* g_value_array_remove (GValueArray *value_array, - guint index_); -GValueArray* g_value_array_sort (GValueArray *value_array, - GCompareFunc compare_func); -GValueArray* g_value_array_sort_with_data (GValueArray *value_array, - GCompareDataFunc compare_func, - gpointer user_data); - - -G_END_DECLS - -#endif /* __G_VALUE_ARRAY_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluecollector.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluecollector.h deleted file mode 100644 index e9379968..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluecollector.h +++ /dev/null @@ -1,160 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1998-1999, 2000-2001 Tim Janik and 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. - * - * gvaluecollector.h: GValue varargs stubs - */ -#ifndef __G_VALUE_COLLECTOR_H__ -#define __G_VALUE_COLLECTOR_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -/* we may want to add aggregate types here some day, if requested - * by users. the basic C types are covered already, everything - * smaller than an int is promoted to an integer and floats are - * always promoted to doubles for varargs call constructions. - */ -enum /*< skip >*/ -{ - G_VALUE_COLLECT_INT = 'i', - G_VALUE_COLLECT_LONG = 'l', - G_VALUE_COLLECT_INT64 = 'q', - G_VALUE_COLLECT_DOUBLE = 'd', - G_VALUE_COLLECT_POINTER = 'p' -}; - - -/* vararg union holding actuall values collected - */ -union _GTypeCValue -{ - gint v_int; - glong v_long; - gint64 v_int64; - gdouble v_double; - gpointer v_pointer; -}; - - -/* G_VALUE_COLLECT() collects a variable argument value - * from a va_list. we have to implement the varargs collection as a - * macro, because on some systems va_list variables cannot be passed - * by reference. - * value is supposed to be initialized according to the value - * type to be collected. - * var_args is the va_list variable and may be evaluated multiple times. - * __error is a gchar** variable that will be modified to hold a g_new() - * allocated error messages if something fails. - */ -#define G_VALUE_COLLECT(value, var_args, flags, __error) \ -G_STMT_START { \ - GValue *_value = (value); \ - guint _flags = (flags); \ - GType _value_type = G_VALUE_TYPE (_value); \ - GTypeValueTable *_vtable = g_type_value_table_peek (_value_type); \ - gchar *_collect_format = _vtable->collect_format; \ - GTypeCValue _cvalues[G_VALUE_COLLECT_FORMAT_MAX_LENGTH] = { { 0, }, }; \ - guint _n_values = 0; \ - \ - if (_vtable->value_free) \ - _vtable->value_free (_value); \ - _value->g_type = _value_type; /* value_meminit() from gvalue.c */ \ - memset (_value->data, 0, sizeof (_value->data)); \ - while (*_collect_format) \ - { \ - GTypeCValue *_cvalue = _cvalues + _n_values++; \ - \ - switch (*_collect_format++) \ - { \ - case G_VALUE_COLLECT_INT: \ - _cvalue->v_int = va_arg ((var_args), gint); \ - break; \ - case G_VALUE_COLLECT_LONG: \ - _cvalue->v_long = va_arg ((var_args), glong); \ - break; \ - case G_VALUE_COLLECT_INT64: \ - _cvalue->v_int64 = va_arg ((var_args), gint64); \ - break; \ - case G_VALUE_COLLECT_DOUBLE: \ - _cvalue->v_double = va_arg ((var_args), gdouble); \ - break; \ - case G_VALUE_COLLECT_POINTER: \ - _cvalue->v_pointer = va_arg ((var_args), gpointer); \ - break; \ - default: \ - g_assert_not_reached (); \ - } \ - } \ - *(__error) = _vtable->collect_value (_value, \ - _n_values, \ - _cvalues, \ - _flags); \ -} G_STMT_END - - -/* G_VALUE_LCOPY() collects a value's variable argument - * locations from a va_list. usage is analogous to G_VALUE_COLLECT(). - */ -#define G_VALUE_LCOPY(value, var_args, flags, __error) \ -G_STMT_START { \ - const GValue *_value = (value); \ - guint _flags = (flags); \ - GType _value_type = G_VALUE_TYPE (_value); \ - GTypeValueTable *_vtable = g_type_value_table_peek (_value_type); \ - gchar *_lcopy_format = _vtable->lcopy_format; \ - GTypeCValue _cvalues[G_VALUE_COLLECT_FORMAT_MAX_LENGTH] = { { 0, }, }; \ - guint _n_values = 0; \ - \ - while (*_lcopy_format) \ - { \ - GTypeCValue *_cvalue = _cvalues + _n_values++; \ - \ - switch (*_lcopy_format++) \ - { \ - case G_VALUE_COLLECT_INT: \ - _cvalue->v_int = va_arg ((var_args), gint); \ - break; \ - case G_VALUE_COLLECT_LONG: \ - _cvalue->v_long = va_arg ((var_args), glong); \ - break; \ - case G_VALUE_COLLECT_INT64: \ - _cvalue->v_int64 = va_arg ((var_args), gint64); \ - break; \ - case G_VALUE_COLLECT_DOUBLE: \ - _cvalue->v_double = va_arg ((var_args), gdouble); \ - break; \ - case G_VALUE_COLLECT_POINTER: \ - _cvalue->v_pointer = va_arg ((var_args), gpointer); \ - break; \ - default: \ - g_assert_not_reached (); \ - } \ - } \ - *(__error) = _vtable->lcopy_value (_value, \ - _n_values, \ - _cvalues, \ - _flags); \ -} G_STMT_END - - -#define G_VALUE_COLLECT_FORMAT_MAX_LENGTH (8) - -G_END_DECLS - -#endif /* __G_VALUE_COLLECTOR_H__ */ diff --git a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluetypes.h b/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluetypes.h deleted file mode 100644 index 2931cdaa..00000000 --- a/lib-x86-64/gtk-2.12.12/usr/include/glib-2.0/gobject/gvaluetypes.h +++ /dev/null @@ -1,120 +0,0 @@ -/* GObject - GLib Type, Object, Parameter and Signal Library - * Copyright (C) 1997-1999, 2000-2001 Tim Janik and 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. - * - * gvaluetypes.h: GLib default values - */ -#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) -#error "Only <glib-object.h> can be included directly." -#endif - -#ifndef __G_VALUETYPES_H__ -#define __G_VALUETYPES_H__ - -#include <gobject/gvalue.h> - -G_BEGIN_DECLS - -/* --- type macros --- */ -#define G_VALUE_HOLDS_CHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_CHAR)) -#define G_VALUE_HOLDS_UCHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UCHAR)) -#define G_VALUE_HOLDS_BOOLEAN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOOLEAN)) -#define G_VALUE_HOLDS_INT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT)) -#define G_VALUE_HOLDS_UINT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT)) -#define G_VALUE_HOLDS_LONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_LONG)) -#define G_VALUE_HOLDS_ULONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ULONG)) -#define G_VALUE_HOLDS_INT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT64)) -#define G_VALUE_HOLDS_UINT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT64)) -#define G_VALUE_HOLDS_FLOAT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLOAT)) -#define G_VALUE_HOLDS_DOUBLE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_DOUBLE)) -#define G_VALUE_HOLDS_STRING(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_STRING)) -#define G_VALUE_HOLDS_POINTER(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_POINTER)) -#define G_TYPE_GTYPE (g_gtype_get_type()) -#define G_VALUE_HOLDS_GTYPE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_GTYPE)) - - -/* --- prototypes --- */ -void g_value_set_char (GValue *value, - gchar v_char); -gchar g_value_get_char (const GValue *value); -void g_value_set_uchar (GValue *value, - guchar v_uchar); -guchar g_value_get_uchar (const GValue *value); -void g_value_set_boolean (GValue *value, - gboolean v_boolean); -gboolean g_value_get_boolean (const GValue *value); -void g_value_set_int (GValue *value, - gint v_int); -gint g_value_get_int (const GValue *value); -void g_value_set_uint (GValue *value, - guint v_uint); -guint g_value_get_uint (const GValue *value); -void g_value_set_long (GValue *value, - glong v_long); -glong g_value_get_long (const GValue *value); -void g_value_set_ulong (GValue *value, - gulong v_ulong); -gulong g_value_get_ulong (const GValue *value); -void g_value_set_int64 (GValue *value, - gint64 v_int64); -gint64 g_value_get_int64 (const GValue *value); -void g_value_set_uint64 (GValue *value, - guint64 v_uint64); -guint64 g_value_get_uint64 (const GValue *value); -void g_value_set_float (GValue *value, - gfloat v_float); -gfloat g_value_get_float (const GValue *value); -void g_value_set_double (GValue *value, - gdouble v_double); -gdouble g_value_get_double (const GValue *value); -void g_value_set_string (GValue *value, - const gchar *v_string); -void g_value_set_static_string (GValue *value, - const gchar *v_string); -G_CONST_RETURN gchar* g_value_get_string (const GValue *value); -gchar* g_value_dup_string (const GValue *value); -void g_value_set_pointer (GValue *value, - gpointer v_pointer); -gpointer g_value_get_pointer (const GValue *value); -GType g_gtype_get_type (void); -void g_value_set_gtype (GValue *value, - GType v_gtype); -GType g_value_get_gtype (const GValue *value); - - -/* Convenience for registering new pointer types */ -GType g_pointer_type_register_static (const gchar *name); - -/* debugging aid, describe value contents as string */ -gchar* g_strdup_value_contents (const GValue *value); - - -void g_value_take_string (GValue *value, - gchar *v_string); -#ifndef G_DISABLE_DEPRECATED -void g_value_set_string_take_ownership (GValue *value, - gchar *v_string); -#endif - - -/* humpf, need a C representable type name for G_TYPE_STRING */ -typedef gchar* gchararray; - - -G_END_DECLS - -#endif /* __G_VALUETYPES_H__ */ |