50 #ifndef _PLAYERADAPTERMANAGER_H_
51 #define _PLAYERADAPTERMANAGER_H_
53 #include "util/functions.h"
54 using namespace ::br::pucrio::telemidia::util;
56 #include "system/compat/SystemCompat.h"
57 using namespace ::br::pucrio::telemidia::ginga::core::system::compat;
59 #include "system/thread/Thread.h"
60 using namespace ::br::pucrio::telemidia::ginga::core::system::thread;
62 #include "ncl/components/NodeEntity.h"
63 #include "ncl/components/ContentNode.h"
64 using namespace ::br::pucrio::telemidia::ncl::components;
66 #include "gingancl/model/CascadingDescriptor.h"
67 #include "gingancl/model/ExecutionObject.h"
68 using namespace ::br::pucrio::telemidia::ginga::ncl::model::components;
70 #include "IPlayerAdapterManager.h"
71 #include "FormatterPlayerAdapter.h"
89 map<string, IPlayerAdapter*> objectPlayers;
90 map<string, IPlayerAdapter*> deletePlayers;
91 map<IPlayerAdapter*, string> playerNames;
92 map<string, string> mimeDefaultTable;
93 map<string, string> playerTable;
94 IPlayerListener* editingCommandListener;
97 ITimeBaseProvider* timeBaseProvider;
99 pthread_mutex_t mutexPlayer;
101 string getPlayerClass(
102 CascadingDescriptor* descriptor, NodeEntity* dataObject);
111 void setTimeBaseProvider(ITimeBaseProvider* timeBaseProvider);
112 ITimeBaseProvider* getTimeBaseProvider();
117 AttributionEvent* event);
119 bool removePlayer(
void*
object);
122 bool removePlayer(
string objectId);
126 void setNclEditListener(IPlayerListener* listener);
129 void readConfigFiles();
136 string getMimeTypeFromSchema(
string url);
140 static bool isEmbeddedApp(NodeEntity* dataObject);
143 static bool isEmbeddedAppMediaType(
string mediaType);
146 void timeShift(
string direction);
149 void clearDeletePlayers();
159 #endif //_PLAYERADAPTERMANAGER_H_
Definition: IPlayerAdapterManager.h:65
Definition: PlayerAdapterManager.h:87
Definition: INCLPlayer.h:63
Definition: IPlayerAdapter.h:67
Definition: FormatterPlayerAdapter.h:105