add blend mode tests
[swfdec.git] / swfdec / swfdec_shared_object.c
blob2377bd6067d4feb40549e9d46aaf0970fa1b3d60
1 /* Swfdec
2 * Copyright (C) 2007 Pekka Lampila <pekka.lampila@iki.fi>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301 USA
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
24 #include "swfdec_as_internal.h"
25 #include "swfdec_debug.h"
27 // normal
28 SWFDEC_AS_NATIVE (2106, 0, swfdec_shared_object_connect)
29 void
30 swfdec_shared_object_connect (SwfdecAsContext *cx, SwfdecAsObject *object,
31 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
33 SWFDEC_STUB ("SharedObject.connect");
36 SWFDEC_AS_NATIVE (2106, 1, swfdec_shared_object_send)
37 void
38 swfdec_shared_object_send (SwfdecAsContext *cx, SwfdecAsObject *object,
39 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
41 SWFDEC_STUB ("SharedObject.send");
44 SWFDEC_AS_NATIVE (2106, 2, swfdec_shared_object_flush)
45 void
46 swfdec_shared_object_flush (SwfdecAsContext *cx, SwfdecAsObject *object,
47 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
49 SWFDEC_STUB ("SharedObject.flush");
52 SWFDEC_AS_NATIVE (2106, 3, swfdec_shared_object_close)
53 void
54 swfdec_shared_object_close (SwfdecAsContext *cx, SwfdecAsObject *object,
55 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
57 SWFDEC_STUB ("SharedObject.close");
60 SWFDEC_AS_NATIVE (2106, 4, swfdec_shared_object_getSize)
61 void
62 swfdec_shared_object_getSize (SwfdecAsContext *cx, SwfdecAsObject *object,
63 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
65 SWFDEC_STUB ("SharedObject.getSize");
68 SWFDEC_AS_NATIVE (2106, 5, swfdec_shared_object_setFps)
69 void
70 swfdec_shared_object_setFps (SwfdecAsContext *cx, SwfdecAsObject *object,
71 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
73 SWFDEC_STUB ("SharedObject.setFps");
76 SWFDEC_AS_NATIVE (2106, 6, swfdec_shared_object_clear)
77 void
78 swfdec_shared_object_clear (SwfdecAsContext *cx, SwfdecAsObject *object,
79 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
81 SWFDEC_STUB ("SharedObject.clear");