2 * Copyright (C) 2003-2006 David Schleef <ds@schleef.org>
3 * 2005-2006 Eric Anholt <eric@anholt.net>
4 * 2006-2008 Benjamin Otte <otte@gnome.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301 USA
22 #ifndef _SWFDEC_INTERNAL_H_
23 #define _SWFDEC_INTERNAL_H_
25 #include <swfdec/swfdec_buffer.h>
26 #include <swfdec/swfdec_player.h>
27 #include <swfdec/swfdec_types.h>
32 /* AS engine setup code */
34 void swfdec_player_preinit_global (SwfdecAsContext
* context
);
35 void swfdec_net_stream_init_context (SwfdecPlayer
* player
);
37 /* functions that shouldn't go into public headers */
39 char * swfdec_buffer_queue_pull_text (SwfdecBufferQueue
* queue
,
42 gboolean
swfdec_as_value_to_twips (SwfdecAsContext
* context
,
43 const SwfdecAsValue
* val
,
45 SwfdecTwips
* result
);