50 #ifndef _DESCRIPTOR_H_
51 #define _DESCRIPTOR_H_
53 #include "util/functions.h"
54 using namespace ::br::pucrio::telemidia::util;
56 #include "../Entity.h"
57 #include "../Parameter.h"
58 using namespace ::br::pucrio::telemidia::ncl;
60 #include "../layout/LayoutRegion.h"
61 using namespace ::br::pucrio::telemidia::ncl::layout;
63 #include "../navigation/FocusDecoration.h"
64 #include "../navigation/KeyNavigation.h"
65 using namespace ::br::pucrio::telemidia::ncl::navigation;
67 #include "../transition/Transition.h"
68 using namespace ::br::pucrio::telemidia::ncl::transition;
70 #include "GenericDescriptor.h"
81 namespace descriptor {
84 static const short FIT_FILL = 0;
85 static const short FIT_HIDDEN = 1;
86 static const short FIT_MEET = 2;
87 static const short FIT_MEETBEST = 3;
88 static const short FIT_SLICE = 4;
90 static const short SCROLL_NONE = 0;
91 static const short SCROLL_HORIZONTAL = 1;
92 static const short SCROLL_VERTICAL = 2;
93 static const short SCROLL_BOTH = 3;
94 static const short SCROLL_AUTOMATIC = 4;
97 double explicitDuration;
98 string presentationTool;
101 LayoutRegion* region;
102 map<string, Parameter*> parameters;
104 KeyNavigation* keyNavigation;
105 FocusDecoration* focusDecoration;
106 vector<Transition*> inputTransitions;
107 vector<Transition*> outputTransitions;
112 double getExplicitDuration();
113 string getPlayerName();
115 LayoutRegion* getRegion();
116 long getRepetitions();
118 void setFreeze(
bool freeze);
119 void setExplicitDuration(
double d);
120 void setPlayerName(
string name);
121 void setRegion(LayoutRegion* region);
122 void setRepetitions(
long r);
124 vector<Parameter*> *getParameters();
125 Parameter *getParameter(
string paramName);
126 void removeParameter(
Parameter *parameter);
127 KeyNavigation* getKeyNavigation();
128 void setKeyNavigation(KeyNavigation* keyNav);
129 FocusDecoration* getFocusDecoration();
130 void setFocusDecoration(FocusDecoration* focusDec);
131 vector<Transition*>* getInputTransitions();
132 bool addInputTransition(Transition* transition,
int pos);
133 void removeInputTransition(Transition* transition);
134 void removeAllInputTransitions();
135 vector<Transition*>* getOutputTransitions();
136 bool addOutputTransition(Transition* transition,
int pos);
137 void removeOutputTransition(Transition* transition);
138 void removeAllOutputTransitions();
146 #endif //_DESCRIPTOR_H_
Definition: Parameter.h:61
Definition: GenericDescriptor.h:65
Definition: Descriptor.h:82