search for: g_begin_decls

Displaying 20 results from an estimated 105 matches for "g_begin_decls".

2006 Jun 12
1
Ruuid had non-zero exit status (PR#8965)
...es.h:41: error: syntax error before "typedef" In file included from /usr/local/include/glib-2.0/glib.h:31, from uuidP.h:33, from Ruuid.h:5, from Rinit.c:1: /usr/local/include/glib-2.0/glib/garray.h:32: error: parse error before "G_BEGIN_DECLS" /usr/local/include/glib-2.0/glib/garray.h:34: error: syntax error before "typedef" In file included from /usr/local/include/glib-2.0/glib/gerror.h:24, from /usr/local/include/glib-2.0/glib/gthread.h:30, from /usr/local/include/glib-2.0/glib/gasyn...
2008 Jul 04
2
swfdec and clutter
...n a big media application which uses curl for http connection. But swfdec uses only libsoup, Because of dependency issues i think that it is not a bad idea to add a curl loader and select it at configure time (something like --with-http=<curl/libsoup>) 4- swfdec_regtangle.h does not contain G_BEGIN_DECLS and G_END_DECLS macros. i realized it when included to a c++ code. and solved by G_BEGIN_DECLS #include <swfdec/swfdec.h> G_END_DECLS but its better to solve it in source code thank you and see you at guadec 2008 Uygar GUMUS VESTEK Elektronik Arastirma Gelistirme A.S. Adres...
2007 Aug 09
0
Branch 'vivi' - 12 commits - libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec/Makefile.am libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_debugger.c
...rgs); + g_signal_emit (app, signals[MESSAGE], 0, (guint) type, msg); + g_free (msg); +} + diff --git a/vivified/core/vivi_application.h b/vivified/core/vivi_application.h index 8a21410..40bdc64 100644 --- a/vivified/core/vivi_application.h +++ b/vivified/core/vivi_application.h @@ -28,6 +28,12 @@ G_BEGIN_DECLS typedef struct _ViviApplication ViviApplication; typedef struct _ViviApplicationClass ViviApplicationClass; +typedef enum { + VIVI_MESSAGE_INPUT, + VIVI_MESSAGE_OUTPUT, + VIVI_MESSAGE_ERROR +} ViviMessageType; + #define VIVI_TYPE_APPLICATION (vivi_application_get_type())...
2007 Dec 13
0
2 commits - libswfdec/swfdec_flash_security.c libswfdec/swfdec_flash_security.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_resource_request.c libswfdec/swfdec_resource_request.h libswfdec/swfdec_security.h
...swfdec_request_resource_perform_load_abort_callback, request); } static void diff --git a/libswfdec/swfdec_resource_request.h b/libswfdec/swfdec_resource_request.h index dffa2b4..af9c7c7 100644 --- a/libswfdec/swfdec_resource_request.h +++ b/libswfdec/swfdec_resource_request.h @@ -27,6 +27,7 @@ G_BEGIN_DECLS typedef struct _SwfdecResourceRequest SwfdecResourceRequest; typedef void (* SwfdecResourceFunc) (SwfdecPlayer *player, SwfdecLoader *loader, gpointer data); +typedef void (* SwfdecResourceAbortFunc) (SwfdecPlayer *player, gpointer data); typedef void (* SwfdecResourceUnloadFunc) (SwfdecPlayer...
2007 Aug 09
0
Branch 'vivi' - 6 commits - configure.ac vivified/core vivified/dock vivified/Makefile.am vivified/ui
...brary; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef _VIVI_COMMAND_LINE_H_ +#define _VIVI_COMMAND_LINE_H_ + +#include <vivified/core/vivified-core.h> +#include <vivified/dock/vivified-dock.h> + +G_BEGIN_DECLS + + +typedef struct _ViviCommandLine ViviCommandLine; +typedef struct _ViviCommandLineClass ViviCommandLineClass; + +#define VIVI_TYPE_COMMAND_LINE (vivi_command_line_get_type()) +#define VIVI_IS_COMMAND_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIVI_TYPE_COMM...
2007 Aug 02
0
libswfdec/swfdec_file_loader.h
...73a13 100644 --- a/libswfdec/swfdec_file_loader.h +++ b/libswfdec/swfdec_file_loader.h @@ -20,8 +20,7 @@ #ifndef _SWFDEC_FILE_LOADER_H_ #define _SWFDEC_FILE_LOADER_H_ -#include "swfdec_loader.h" -#include "swfdec_loadertarget.h" +#include <libswfdec/swfdec_loader.h> G_BEGIN_DECLS
2007 Aug 18
0
8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object_as.h libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
...th this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef _SWFDEC_LOAD_OBJECT_H_ +#define _SWFDEC_LOAD_OBJECT_H_ + +#include <libswfdec/swfdec.h> +#include <libswfdec/swfdec_as_object.h> + +G_BEGIN_DECLS + + +typedef struct _SwfdecLoadObject SwfdecLoadObject; +typedef struct _SwfdecLoadObjectClass SwfdecLoadObjectClass; + +#define SWFDEC_TYPE_LOAD_OBJECT (swfdec_load_object_get_type()) +#define SWFDEC_IS_LOAD_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWFDEC_...
2007 Jul 13
0
4 commits - configure.ac libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.h libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h NEWS
...wfdec/swfdec_as_object.h b/libswfdec/swfdec_as_object.h index d109a72..d796518 100644 --- a/libswfdec/swfdec_as_object.h +++ b/libswfdec/swfdec_as_object.h @@ -22,7 +22,6 @@ #include <glib-object.h> #include <libswfdec/swfdec_as_types.h> -#include <libswfdec/swfdec_types.h> G_BEGIN_DECLS @@ -143,8 +142,6 @@ SwfdecAsFunction *swfdec_as_object_add_f SwfdecAsNative native, guint min_args); -void swfdec_as_object_run (SwfdecAsObject * object, - SwfdecScript * script); gboolean swfdec_as_object_has_function (SwfdecAsObject * object, c...
2007 Jun 06
0
Branch 'as' - libswfdec/Makefile.am libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_root_sprite.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h libswfdec/swfdec_tag.c
...sser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301 USA - */ - -#ifndef _SWFDEC_ROOT_SPRITE_H_ -#define _SWFDEC_ROOT_SPRITE_H_ - -#include <libswfdec/swfdec_sprite.h> - -G_BEGIN_DECLS - -typedef struct _SwfdecRootSpriteClass SwfdecRootSpriteClass; -typedef struct _SwfdecRootExportData SwfdecRootExportData; - -typedef enum { - SWFDEC_ROOT_ACTION_EXPORT, /* contains a SwfdecExportData */ - SWFDEC_ROOT_ACTION_INIT_SCRIPT, /* contains a SwfdecScript */ -} SwfdecRootActionType; -...
2007 Aug 14
0
Branch 'vivi' - 11 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am libswfdec/swfdec.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h vivified/core
...with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef _VIVI_BREAKPOINT_H_ +#define _VIVI_BREAKPOINT_H_ + +#include <libswfdec/swfdec.h> +#include <vivified/core/vivi_application.h> + +G_BEGIN_DECLS + + +typedef struct _ViviBreakpoint ViviBreakpoint; +typedef struct _ViviBreakpointClass ViviBreakpointClass; + +#define VIVI_TYPE_BREAKPOINT (vivi_breakpoint_get_type()) +#define VIVI_IS_BREAKPOINT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIVI_TYPE_BREAKPOINT)) +...
2007 Aug 05
0
7 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec.h libswfdec/swfdec_key.h libswfdec/swfdec_marshal.list libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
...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 Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef _SWFDEC_KEY_H_ +#define _SWFDEC_KEY_H_ + +#include <glib.h> + +G_BEGIN_DECLS + +/* can't make this a guint8 because of signal handlers, but it should be a guint8 */ +typedef guint SwfdecKey; + + +G_END_DECLS +#endif diff-tree d19ac4b569501dae4eb5e40a6ebaadd9e6c9d318 (from fafe076b291915253f1434b59979061a28811e5f) Author: Benjamin Otte <otte at gnome.org> Dat...
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...he GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef _SWFDEC_GTK_PLAYER_H_ +#define _SWFDEC_GTK_PLAYER_H_ + +#include <libswfdec/swfdec.h> + +G_BEGIN_DECLS + +typedef struct _SwfdecGtkPlayer SwfdecGtkPlayer; +typedef struct _SwfdecGtkPlayerClass SwfdecGtkPlayerClass; + +#define SWFDEC_TYPE_GTK_PLAYER (swfdec_gtk_player_get_type()) +#define SWFDEC_IS_GTK_PLAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWFDEC_TYPE_GTK_...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...yer_internal.h +++ b/libswfdec/swfdec_player_internal.h @@ -25,6 +25,7 @@ #include <libswfdec/swfdec_audio.h> #include <libswfdec/swfdec_rect.h> #include <libswfdec/swfdec_ringbuffer.h> +#include <libswfdec/swfdec_security.h> #include <libswfdec/swfdec_system.h> G_BEGIN_DECLS @@ -62,6 +63,7 @@ struct _SwfdecPlayer gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor; /* background color */ SwfdecLoader * loader; /* initial loader */ + SwfdecSecurity * security; /* the default security */ /* stage properties */...
2007 Sep 04
0
5 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.c libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_native_function.h
...yer_internal.h" G_DEFINE_TYPE (SwfdecAsBoolean, swfdec_as_boolean, SWFDEC_TYPE_AS_OBJECT) diff --git a/libswfdec/swfdec_as_internal.h b/libswfdec/swfdec_as_internal.h index e64bc44..558696c 100644 --- a/libswfdec/swfdec_as_internal.h +++ b/libswfdec/swfdec_as_internal.h @@ -28,6 +28,10 @@ G_BEGIN_DECLS /* This header contains all the non-exported symbols that can't go into * exported headers */ +#define SWFDEC_AS_NATIVE(x, y, func) SWFDEC_AS_CONSTRUCTOR (x, y, func, NULL) +#define SWFDEC_AS_CONSTRUCTOR(x, y, func, type) void func (SwfdecAsContext *cx, \ + SwfdecAsObject *object, gui...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...ware + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef _SWFDEC_AS_ARRAY_H_ +#define _SWFDEC_AS_ARRAY_H_ + +#include <libswfdec/swfdec_as_object.h> +#include <libswfdec/swfdec_as_types.h> +#include <libswfdec/swfdec_script.h> + +G_BEGIN_DECLS + +typedef struct _SwfdecAsArrayClass SwfdecAsArrayClass; + +#define SWFDEC_TYPE_AS_ARRAY (swfdec_as_array_get_type()) +#define SWFDEC_IS_AS_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWFDEC_TYPE_AS_ARRAY)) +#define SWFDEC_IS_AS_ARRAY_CLASS(klass) (G_T...
2007 Jan 16
0
9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_cache.c libswfdec/swfdec_cached.c libswfdec/swfdec_cached.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_image.c
...stream.h b/libswfdec/swfdec_audio_stream.h index af2a0ba..8758462 100644 --- a/libswfdec/swfdec_audio_stream.h +++ b/libswfdec/swfdec_audio_stream.h @@ -23,6 +23,7 @@ #define _SWFDEC_AUDIO_STREAM_H_ #include <libswfdec/swfdec_audio_internal.h> +#include <libswfdec/swfdec_codec.h> G_BEGIN_DECLS @@ -42,6 +43,7 @@ struct _SwfdecAudioStream SwfdecSprite * sprite; /* sprite we're playing back */ SwfdecSound * sound; /* sound we're playing */ + const SwfdecAudioCodec *codec; /* codec used by this stream */ gpointer decoder; /* decoder used for this frame */ S...
2007 Jan 14
0
Changes to 'refs/tags/0.4.1'
...FbLefPT+DDPK0UpgU= =2Uj1 -----END PGP SIGNATURE----- Changes since 0.4.0: Benjamin Otte: back to cvs generate enums, too Change mouse-visible signal to mouse-cursor and support more cursors clarify comment update gitignore files THis is a void function add G_BEGIN_DECLS / G_END_DECLS document swfdec_buffer_queue_peek Fix up SwfdecBits for the big endian versions needed for FLV catch a case with setting the debug level wrong make swfdec_buffer_get_bits return NULL if no more data available add Nellymoser 8kHz codec Invent a Swfde...
2007 Mar 09
0
libswfdec/swfdec_root_sprite.c libswfdec/swfdec_root_sprite.h
...sser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef _SWFDEC_ROOT_SPRITE_H_ +#define _SWFDEC_ROOT_SPRITE_H_ + +#include <libswfdec/swfdec_sprite.h> + +G_BEGIN_DECLS + +typedef struct _SwfdecRootSpriteClass SwfdecRootSpriteClass; +typedef struct _SwfdecRootExportData SwfdecRootExportData; + +typedef enum { + SWFDEC_ROOT_ACTION_EXPORT, /* contains a SwfdecExportData */ + SWFDEC_ROOT_ACTION_INIT_SCRIPT, /* contains a SwfdecScript */ +} SwfdecRootActionType; +...
2007 Jan 22
0
Branch 'interpreter' - 3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_swf_decoder.c test/Makefile.am test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_tag.c test/swfedit_tag.h test/swfedit_token.c test/swfedit_token.h
...nse along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef __SWFEDIT_FILE_H__ +#define __SWFEDIT_FILE_H__ + +#include <libswfdec/swfdec_rect.h> +#include "swfedit_token.h" + +G_BEGIN_DECLS + +typedef struct _SwfeditFile SwfeditFile; +typedef struct _SwfeditFileClass SwfeditFileClass; + +#define SWFEDIT_TYPE_FILE (swfedit_file_get_type()) +#define SWFEDIT_IS_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWFEDIT_TYPE_FILE)) +#define SWFEDIT_IS_FILE_CL...
2007 Sep 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_scope.c libswfdec/swfdec_as_scope.h libswfdec/swfdec_as_script_function.c
...internal.h +++ b/libswfdec/swfdec_as_frame_internal.h @@ -20,14 +20,15 @@ #ifndef _SWFDEC_AS_FRAME_INTERNAL_H_ #define _SWFDEC_AS_FRAME_INTERNAL_H_ -#include <libswfdec/swfdec_as_scope.h> #include <libswfdec/swfdec_as_types.h> #include <libswfdec/swfdec_script_internal.h> G_BEGIN_DECLS +typedef void (* SwfdecAsFrameBlockFunc) (SwfdecAsFrame *frame, gpointer data); + struct _SwfdecAsFrame { - SwfdecAsScope scope_object; + SwfdecAsObject object; SwfdecAsFrame * next; /* next frame (FIXME: keep a list in the context instead?) */ SwfdecAsFunction * function; /* functio...