Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GNASH_SWF_EVENT_H
00021 #define GNASH_SWF_EVENT_H
00022
00023 #include "event_id.h"
00024
00025 namespace gnash {
00026 class action_buffer;
00027 }
00028
00029 namespace gnash {
00030
00031
00032
00033
00034
00036
00039 class swf_event
00040 {
00041 public:
00042
00043 swf_event(const event_id& ev, action_buffer& buf)
00044 :
00045 m_event(ev),
00046 m_action_buffer(buf)
00047 {
00048 }
00049
00050 swf_event(const swf_event& o)
00051 :
00052 m_event(o.m_event),
00053 m_action_buffer(o.m_action_buffer)
00054 {
00055 }
00056
00057 const action_buffer& action() const {
00058 return m_action_buffer;
00059 }
00060
00061 const event_id& event() const {
00062 return m_event;
00063 }
00064
00065 private:
00066
00068 event_id m_event;
00069
00071
00076 const action_buffer& m_action_buffer;
00077
00079 void operator=(const swf_event& );
00080 };
00081
00082
00083 }
00084
00085
00086 #endif // GNASH_SWF_EVENT_H