62 #include "util/functions.h"
63 #include "mb/interface/IWindow.h"
64 #include "mb/interface/IFontProvider.h"
65 #include "mb/IInputManager.h"
66 using namespace::br::pucrio::telemidia::ginga::core::mb;
68 #include "system/compat/SystemCompat.h"
69 using namespace::br::pucrio::telemidia::ginga::core::system::compat;
71 #define LUAPLAYER_BEGIN_DECLS NAMESPACE_GINGA_CORE_PLAYER_BEGIN
72 #define LUAPLAYER_END_DECLS NAMESPACE_GINGA_CORE_PLAYER_END
76 class LuaPlayer :
public Player,
public IInputEventListener
84 pthread_mutex_t mutex;
88 static list <LuaPlayer *> *nw_update_list;
89 static pthread_mutex_t nw_update_mutex;
90 static pthread_t nw_update_tid;
91 static void *nw_update_thread (
void *data);
92 static void nw_update_insert (
LuaPlayer *player);
95 static void nw_update_remove (
LuaPlayer *player);
98 LuaPlayer (GingaScreenID screenId,
string mrl);
113 virtual bool hasPresented (
void);
114 void setCurrentScope (
string scopeId);
115 bool setKeyHandler (
bool isHandler);
116 virtual void setPropertyValue (
string name,
string value);
119 bool userEventReceived (IInputEvent * evt);
122 GingaScreenID getScreenId (
void);
123 ILocalScreenManager *getScreenManager (
void);
124 void refreshContent (
void);
129 #endif // LUAPLAYER_H
Definition: LuaPlayer.h:76