NCL Composer  0.1.5
 All Classes Functions Variables Pages
cpModelProfile.h
1 /* Copyright (c) 2011 Telemidia/PUC-Rio.
2  * All rights reserved. This program and the accompanying materials
3  * are made available under the terms of the Eclipse Public License v1.0
4  * which accompanies this distribution, and is available at
5  * http://www.eclipse.org/legal/epl-v10.html
6  *
7  * Contributors:
8  * Telemidia/PUC-Rio - initial API and implementation
9  */
10 #ifndef CPMODELPROFILE_H
11 #define CPMODELPROFILE_H
12 
13 #include <core/extensions/ILanguageProfile.h>
14 using namespace composer::core::extension;
15 
16 class cpModelProfile : public QObject,
17  public ILanguageProfile
18 {
19  Q_OBJECT
20  Q_INTERFACES(ILanguageProfile);
21 public:
23  ~cpModelProfile();
24  LanguageType
25  getLanguageType();
26  QList<QString>
27  getOutputDocumentTypes();
28  IDocumentParser*
29  createDocumentParser(Document *doc);
30  void releaseDocumentParser
31  (IDocumentParser *parser);
32  QString getProfileName();
33 };
34 
35 #endif // CPMODELPROFILE_H