50 #ifndef _PRESENTATIONCONTEXT_H_
51 #define _PRESENTATIONCONTEXT_H_
53 #include "util/Observable.h"
55 #include "util/functions.h"
56 using namespace ::br::pucrio::telemidia::util;
58 #include "contextmanager/IContextManager.h"
59 #include "contextmanager/system/ISystemInfo.h"
60 using namespace ::br::pucrio::telemidia::ginga::core::contextmanager;
65 #include "multidevice/services/IDeviceDomain.h"
66 using namespace ::br::pucrio::telemidia::ginga::core::multidevice;
67 #endif //HAVE_MULTIDEVICE
69 #include "system/thread/Thread.h"
70 using namespace ::br::pucrio::telemidia::ginga::core::system::thread;
72 #include "ContextBase.h"
73 #include "IPresentationContext.h"
89 namespace adaptation {
95 GingaScreenID myScreen;
96 map<string, string> contextTable;
97 static IContextManager* contextManager;
98 IContextListener* globalVarListener;
99 pthread_mutex_t attrMutex;
102 IRemoteDeviceListener* devListener;
105 #endif //HAVE_MULTIDEVICE
111 void setPropertyValue(
string propertyName,
string value);
112 void incPropertyValue(
string propertyName);
113 void decPropertyValue(
string propertyName);
114 set<string>* getPropertyNames();
115 string getPropertyValue(
string attributeId);
118 void initializeUserContext();
119 void initializeUserInfo(
int currentUserId);
120 void initializeSystemValues();
124 void setGlobalVarListener(IContextListener* listener);
125 void receiveGlobalAttribution(
string propertyName,
string value);
128 void setRemoteDeviceListener(IRemoteDeviceListener* rdl);
129 #endif //HAVE_MULTIDEVICE
139 #endif //_PRESENTATIONCONTEXT_H_
Definition: IPresentationContext.h:72
Definition: PresentationContext.h:91
Definition: Observable.h:59