Ginga  0.13.6
 All Classes Namespaces Functions Variables
IApplicationPlayer.h
1 /******************************************************************************
2 Este arquivo eh parte da implementacao do ambiente declarativo do middleware
3 Ginga (Ginga-NCL).
4 
5 Direitos Autorais Reservados (c) 1989-2007 PUC-Rio/Laboratorio TeleMidia
6 
7 Este programa eh software livre; voce pode redistribui-lo e/ou modificah-lo sob
8 os termos da Licenca Publica Geral GNU versao 2 conforme publicada pela Free
9 Software Foundation.
10 
11 Este programa eh distribuido na expectativa de que seja util, porem, SEM
12 NENHUMA GARANTIA; nem mesmo a garantia implicita de COMERCIABILIDADE OU
13 ADEQUACAO A UMA FINALIDADE ESPECIFICA. Consulte a Licenca Publica Geral do
14 GNU versao 2 para mais detalhes.
15 
16 Voce deve ter recebido uma copia da Licenca Publica Geral do GNU versao 2 junto
17 com este programa; se nao, escreva para a Free Software Foundation, Inc., no
18 endereco 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.
19 
20 Para maiores informacoes:
21 ncl @ telemidia.puc-rio.br
22 http://www.ncl.org.br
23 http://www.ginga.org.br
24 http://www.telemidia.puc-rio.br
25 ******************************************************************************
26 This file is part of the declarative environment of middleware Ginga (Ginga-NCL)
27 
28 Copyright: 1989-2007 PUC-RIO/LABORATORIO TELEMIDIA, All Rights Reserved.
29 
30 This program is free software; you can redistribute it and/or modify it under
31 the terms of the GNU General Public License version 2 as published by
32 the Free Software Foundation.
33 
34 This program is distributed in the hope that it will be useful, but WITHOUT ANY
35 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
36 PARTICULAR PURPOSE. See the GNU General Public License version 2 for more
37 details.
38 
39 You should have received a copy of the GNU General Public License version 2
40 along with this program; if not, write to the Free Software
41 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
42 
43 For further information contact:
44 ncl @ telemidia.puc-rio.br
45 http://www.ncl.org.br
46 http://www.ginga.org.br
47 http://www.telemidia.puc-rio.br
48 *******************************************************************************/
49 
50 #ifndef IAPPLICATIONPLAYER_H_
51 #define IAPPLICATIONPLAYER_H_
52 
53 #include <string>
54 using namespace std;
55 
56 namespace br {
57 namespace pucrio {
58 namespace telemidia {
59 namespace ginga {
60 namespace core {
61 namespace player {
62  //nclEdit base
63  static const string EC_OPEN_BASE = "0x00";
64  static const string EC_ACTIVATE_BASE = "0x01";
65  static const string EC_DEACTIVATE_BASE = "0x02";
66  static const string EC_SAVE_BASE = "0x03";
67  static const string EC_CLOSE_BASE = "0x04";
68 
69  //nclEdit document
70  static const string EC_ADD_DOCUMENT = "0x05";
71  static const string EC_REMOVE_DOCUMENT = "0x06";
72  static const string EC_START_DOCUMENT = "0x07";
73  static const string EC_STOP_DOCUMENT = "0x08";
74  static const string EC_PAUSE_DOCUMENT = "0x09";
75  static const string EC_RESUME_DOCUMENT = "0x0A";
76 
77  //nclEdit region
78  static const string EC_ADD_REGION = "0x0B";
79  static const string EC_REMOVE_REGION = "0x0C";
80  static const string EC_ADD_REGION_BASE = "0x0D";
81  static const string EC_REMOVE_REGION_BASE = "0x0E";
82 
83  //nclEdit rule
84  static const string EC_ADD_RULE = "0x0F";
85  static const string EC_REMOVE_RULE = "0x10";
86  static const string EC_ADD_RULE_BASE = "0x11";
87  static const string EC_REMOVE_RULE_BASE = "0x12";
88 
89  //nclEdit connector
90  static const string EC_ADD_CONNECTOR = "0x13";
91  static const string EC_REMOVE_CONNECTOR = "0x14";
92  static const string EC_ADD_CONNECTOR_BASE = "0x15";
93  static const string EC_REMOVE_CONNECTOR_BASE = "0x16";
94 
95  //nclEdit descriptor
96  static const string EC_ADD_DESCRIPTOR = "0x17";
97  static const string EC_REMOVE_DESCRIPTOR = "0x18";
98  static const string EC_ADD_DESCRIPTOR_SWITCH = "0x19";
99  static const string EC_REMOVE_DESCRIPTOR_SWITCH = "0x1A";
100  static const string EC_ADD_DESCRIPTOR_BASE = "0x1B";
101  static const string EC_REMOVE_DESCRIPTOR_BASE = "0x1C";
102 
103  //nclEdit transition
104  static const string EC_ADD_TRANSITION = "0x1D";
105  static const string EC_REMOVE_TRANSITION = "0x1E";
106  static const string EC_ADD_TRANSITION_BASE = "0x1F";
107  static const string EC_REMOVE_TRANSITION_BASE = "0x20";
108 
109  //nclEdit reuse
110  static const string EC_ADD_IMPORT_BASE = "0x21";
111  static const string EC_REMOVE_IMPORT_BASE = "0x22";
112  static const string EC_ADD_IMPORTED_DOCUMENT_BASE = "0x23";
113  static const string EC_REMOVE_IMPORTED_DOCUMENT_BASE = "0x24";
114  static const string EC_ADD_IMPORT_NCL = "0x25";
115  static const string EC_REMOVE_IMPORT_NCL = "0x26";
116 
117  //nclEdit components
118  static const string EC_ADD_NODE = "0x27";
119  static const string EC_REMOVE_NODE = "0x28";
120 
121  //nclEdit interface
122  static const string EC_ADD_INTERFACE = "0x29";
123  static const string EC_REMOVE_INTERFACE = "0x2A";
124 
125  //nclEdit link
126  static const string EC_ADD_LINK = "0x2B";
127  static const string EC_REMOVE_LINK = "0x2C";
128 
129  static const string EC_SET_PROPERTY_VALUE = "0x2D";
130 }
131 }
132 }
133 }
134 }
135 }
136 
137 #endif /*IAPPLICATIONPLAYER_H_*/