OSDN Git Service

add bitmap_id parameter into apply factor method.
[swfed/swfed.git] / src / swf_tag_action.h
1 /*
2   +----------------------------------------------------------------------+
3   | Author: yoya@awm.jp                                                  |
4   +----------------------------------------------------------------------+
5 */
6
7 #ifndef __SWF_TAG_ACTION__H__
8 #define __SWF_TAG_ACTION__H__
9
10 #include "swf_tag.h"
11 #include "swf_action.h"
12
13 typedef struct swf_tag_action_detail_ {
14     unsigned short  action_sprite;
15     swf_action_list_t *action_list;
16 } swf_tag_action_detail_t;
17
18 extern swf_tag_detail_handler_t *swf_tag_action_detail_handler(void);
19
20 extern void *swf_tag_action_create_detail(void);
21 extern int swf_tag_action_input_detail(swf_tag_t *tag,
22                                        struct swf_object_ *swf);
23 extern int swf_tag_action_get_cid_detail(swf_tag_t *tag);
24 extern int swf_tag_action_replace_cid_detail(swf_tag_t *tag, int id);
25 extern unsigned char *swf_tag_action_output_detail(swf_tag_t *tag,
26                                                    unsigned long *length,
27                                                    struct swf_object_ *swf);
28 extern void swf_tag_action_print_detail(swf_tag_t *tag,
29                                         struct swf_object_ *swf,
30                                         int indent_depth);
31 extern void swf_tag_action_destroy_detail(swf_tag_t *tag);
32
33 extern int swf_tag_action_top_append_varibles(swf_tag_t *tag, y_keyvalue_t *kv);
34 extern int swf_tag_action_replace_strings(swf_tag_t *tag, y_keyvalue_t *kv,
35                                           int *modified);
36
37 #endif /* __SWF_TAG_ACTION__H__ */