50 #ifndef _INCLPlayer_H_
51 #define _INCLPlayer_H_
53 #include "system/time/ITimeBaseProvider.h"
54 using namespace ::br::pucrio::telemidia::ginga::core::system::time;
56 #include "mb/IMBDefs.h"
59 #include "IPlayerListener.h"
67 GingaScreenID screenId;
78 void* privateBaseManager;
91 static const int DEEPEST_LEVEL = -1;
95 virtual void printGingaWindows()=0;
96 virtual set<string>* createPortIdList()=0;
97 virtual short getMappedInterfaceType(
string portId)=0;
99 virtual void setMrl(
string mrl,
bool visible=
true)=0;
100 virtual void reset()=0;
101 virtual void rebase()=0;
103 virtual void setTimeBaseProvider(
104 ITimeBaseProvider* timeBaseProvider)=0;
106 virtual void setBackgroundImage(
string uri)=0;
107 virtual void setParentLayout(
void* layout)=0;
108 virtual string getScreenShot()=0;
109 virtual void* setCurrentDocument(
string fName)=0;
110 virtual void setDepthLevel(
int level)=0;
111 virtual int getDepthLevel()=0;
112 virtual bool editingCommand(
113 string commandTag,
string editingCommand)=0;
115 virtual void setNotifyContentUpdate(
bool notify)=0;
118 virtual void notifyPlayerListeners(
119 short code,
string paremeter,
short type,
string value)=0;
121 virtual void setSurface(ISurface* surface)=0;
122 virtual ISurface* getSurface()=0;
123 virtual int64_t getVPts(){
return 0;};
124 virtual double getMediaTime()=0;
125 virtual double getTotalMediaTime()=0;
126 virtual void setMediaTime(
double newTime)=0;
127 virtual bool setKeyHandler(
bool isHandler)=0;
128 virtual void setScope(
131 double begin=-1,
double end=-1,
double outTransDur=-1)=0;
133 virtual bool play()=0;
134 virtual void stop()=0;
135 virtual void abort()=0;
136 virtual void pause()=0;
137 virtual void resume()=0;
139 virtual string getPropertyValue(
string name)=0;
140 virtual void setPropertyValue(
string name,
string value)=0;
142 virtual void setReferenceTimePlayer(
IPlayer* player)=0;
143 virtual void addTimeReferPlayer(
IPlayer* referPlayer)=0;
144 virtual void removeTimeReferPlayer(
IPlayer* referPlayer)=0;
145 virtual void notifyReferPlayers(
int transition)=0;
146 virtual void timebaseObjectTransitionCallback(
int transition)=0;
147 virtual void setTimeBasePlayer(
IPlayer* timeBasePlayer)=0;
148 virtual bool hasPresented()=0;
149 virtual void setPresented(
bool presented)=0;
150 virtual bool isVisible()=0;
151 virtual void setVisible(
bool visible)=0;
152 virtual bool immediatelyStart()=0;
153 virtual void setImmediatelyStart(
bool immediatelyStartVal)=0;
154 virtual void forceNaturalEnd(
bool forceIt)=0;
155 virtual bool isForcedNaturalEnd()=0;
156 virtual bool setOutWindow(GingaWindowID windowId)=0;
159 virtual IPlayer* getSelectedPlayer()=0;
160 virtual void setPlayerMap(map<string, IPlayer*>* objs)=0;
161 virtual map<string, IPlayer*>* getPlayerMap()=0;
162 virtual IPlayer* getPlayer(
string objectId)=0;
163 virtual void select(
IPlayer* selObject)=0;
166 virtual void setCurrentScope(
string scopeId)=0;
167 virtual void flip()=0;
169 virtual string getDepUris(vector<string>* uris,
int targetDev=0)=0;
171 virtual void timeShift(
string direction)=0;
180 typedef ::br::pucrio::telemidia::ginga::core::player::INCLPlayer*
183 typedef void NCLPlayerDescroyer(
186 #endif //_INCLPlayer_H_
Definition: IPlayerListener.h:62
Definition: INCLPlayer.h:89
Definition: INCLPlayer.h:63