50 #ifndef NclPresentationSpecConverter_H
51 #define NclPresentationSpecConverter_H
57 #include "util/Color.h"
59 #include "ncl/Parameter.h"
60 using namespace ::br::pucrio::telemidia::ncl;
62 #include "ncl/descriptor/GenericDescriptor.h"
63 #include "ncl/descriptor/Descriptor.h"
64 #include "ncl/descriptor/DescriptorBase.h"
65 using namespace ::br::pucrio::telemidia::ncl::descriptor;
67 #include "ncl/switches/Rule.h"
68 #include "ncl/switches/RuleBase.h"
69 using namespace ::br::pucrio::telemidia::ncl::switches;
71 #include "ncl/layout/LayoutRegion.h"
72 #include "ncl/layout/RegionBase.h"
73 using namespace ::br::pucrio::telemidia::ncl::layout;
75 #include "ncl/NclDocument.h"
76 using namespace ::br::pucrio::telemidia::ncl;
78 #include "ncl/navigation/FocusDecoration.h"
79 #include "ncl/navigation/KeyNavigation.h"
80 using namespace ::br::pucrio::telemidia::ncl::navigation;
82 #include "ncl/transition/Transition.h"
83 #include "ncl/transition/TransitionBase.h"
84 using namespace ::br::pucrio::telemidia::ncl::transition;
86 #include "../framework/DocumentParser.h"
87 #include "../framework/ModuleParser.h"
88 using namespace ::br::pucrio::telemidia::converter::framework;
90 #include "../framework/ncl/NclPresentationSpecificationParser.h"
91 using namespace ::br::pucrio::telemidia::converter::framework::ncl;
93 #include "NclImportConverter.h"
94 #include "NclPresentationControlConverter.h"
96 #include <xercesc/dom/DOM.hpp>
97 XERCES_CPP_NAMESPACE_USE
101 namespace telemidia {
102 namespace converter {
105 :
public NclPresentationSpecificationParser {
108 IDeviceLayout* deviceLayout;
112 DocumentParser *documentParser, IDeviceLayout* deviceLayout);
114 void addDescriptorToDescriptorBase(
115 void *parentObject,
void *childObject);
117 void addDescriptorSwitchToDescriptorBase(
118 void *parentObject,
void *childObject);
120 void addDescriptorParamToDescriptor(
121 void *parentObject,
void *childObject);
123 void addImportBaseToDescriptorBase(
124 void *parentObject,
void *childObject);
126 void *createDescriptorParam(
127 DOMElement *parentElement,
void *objGrandParent);
129 void *createDescriptorBind(
130 DOMElement *parentElement,
void *objGrandParent);
132 void *createDescriptorBase(
133 DOMElement *parentElement,
void *objGrandParent);
135 void *createDescriptor(
136 DOMElement *parentElement,
void *objGrandParent);
144 #endif //NclPresentationSpecConverter_H
Definition: NclPresentationSpecConverter.h:104