50 #ifndef _IFormatterMultiDevice_H_
51 #define _IFormatterMultiDevice_H_
53 #include "ncl/layout/IDeviceLayout.h"
54 using namespace ::br::pucrio::telemidia::ncl::layout;
56 #include "player/IPlayer.h"
57 #include "player/IPlayerListener.h"
58 using namespace ::br::pucrio::telemidia::ginga::core::player;
60 #include "gingancl/adaptation/context/IPresentationContext.h"
61 using namespace ::br::pucrio::telemidia::ginga::ncl::adaptation::context;
63 #include "gingancl/focus/IFormatterFocusManager.h"
64 using namespace ::br::pucrio::telemidia::ginga::ncl::focus;
74 namespace multidevice {
79 virtual void printGingaWindows()=0;
80 virtual void listenPlayer(IPlayer* player)=0;
81 virtual void stopListenPlayer(IPlayer* player)=0;
83 virtual void setPresentationContex(
84 IPresentationContext* presContext)=0;
86 virtual void setFocusManager(
87 IFormatterFocusManager* focusManager)=0;
90 virtual void setBackgroundImage(
string uri)=0;
91 virtual void* getMainLayout()=0;
92 virtual void* getFormatterLayout(
int devClass)=0;
93 virtual string getScreenShot()=0;
94 virtual string serializeScreen(
int devClass, IWindow* mapWindow)=0;
97 virtual bool newDeviceConnected(
int newDevClass,
int w,
int h)=0;
98 virtual void connectedToBaseDevice(
unsigned int domainAddr)=0;
100 virtual bool receiveRemoteEvent(
103 string eventContent)=0;
105 virtual bool receiveRemoteContent(
107 char *stream,
int streamSize)=0;
109 virtual bool receiveRemoteContent(
111 string contentUri)=0;
114 virtual void addActiveUris(
string baseUri, vector<string>* uris)=0;
115 virtual void updatePassiveDevices()=0;
118 virtual void updateStatus(
131 typedef ::br::pucrio::telemidia::ginga::ncl::multidevice::
132 IFormatterMultiDevice* FormatterMultiDeviceCreator(
133 GingaScreenID screenId,
134 IDeviceLayout* deviceLayout,
141 bool deviceSearch,
int srvPort);
143 typedef void FormatterMultiDeviceDescroyer(
144 ::br::pucrio::telemidia::ginga::ncl::multidevice::
145 IFormatterMultiDevice* fmd);
Definition: IFormatterMultiDevice.h:75