OpenASIP 2.2
Loading...
Searching...
No Matches
OSEdConstants.hh
Go to the documentation of this file.
1/*
2 Copyright (c) 2002-2009 Tampere University.
3
4 This file is part of TTA-Based Codesign Environment (TCE).
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23 */
24/**
25 * @file OSEdConstants.hh
26 *
27 * Declaration of OSEdConstants class.
28 *
29 * @author Jussi Nykänen 2004 (nykanen-no.spam-cs.tut.fi)
30 * @note rating: red
31 */
32
33#ifndef OSED_CONSTANTS_HH
34#define OSED_CONSTANTS_HH
35
36#include <string>
37#include <wx/string.h>
38#include <wx/wx.h>
39#include <wx/font.h>
40#include <wx/treectrl.h>
41
42/**
43 * Holds all the constants for OSEd.
44 */
46public:
47
48 /// Quit command name.
49 static const std::string CMD_NAME_QUIT;
50 /// About command name.
51 static const std::string CMD_NAME_ABOUT;
52 /// Operation properties command name.
53 static const std::string CMD_NAME_PROPERTIES;
54 /// Add module command name.
55 static const std::string CMD_NAME_ADD_MODULE;
56 /// Add operation command name.
57 static const std::string CMD_NAME_ADD_OPERATION;
58 /// Simulate command name.
59 static const std::string CMD_NAME_SIMULATE;
60 /// Option command name.
61 static const std::string CMD_NAME_OPTIONS;
62 /// Build command name.
63 static const std::string CMD_NAME_BUILD;
64 /// Build all command name.
65 static const std::string CMD_NAME_BUILD_ALL;
66 /// User manual command name.
67 static const std::string CMD_NAME_USER_MANUAL;
68 /// Remove module command name.
69 static const std::string CMD_NAME_REMOVE_MODULE;
70 /// Modify behavior command name.
71 static const std::string CMD_NAME_MODIFY_BEHAVIOR;
72 /// Remove operation command name.
73 static const std::string CMD_NAME_REMOVE_OPERATION;
74 /// Investigate memory command name.
75 static const std::string CMD_NAME_MEMORY;
76
77 /// Configuration file name.
78 static const std::string CONF_FILE_NAME;
79 /// Name of the user manual.
80 static const std::string USER_MANUAL_NAME;
81 /// Name of the behavior template file name.
82 static const std::string BEHAVIOR_TEMPLATE_FILE_NAME;
83
84 /// Default editor name.
85 static const std::string DEFAULT_EDITOR;
86
87 /**
88 * All the command ids.
89 */
90 enum CommandID {
91 CMD_QUIT = 1, ///< Quit command id.
92 CMD_ADD_MODULE, ///< Add module command id.
93 CMD_ADD_OPERATION, ///< Add operation command id.
94 CMD_PROPERTIES, ///< Operation properties command id.
95 CMD_REMOVE_MODULE, ///< Remove module command id.
96 CMD_REMOVE_OPERATION, ///< Remove operation command id.
97 CMD_MODIFY_BEHAVIOR, ///< Modify operation behavior command id.
98 CMD_BUILD, ///< Build command id.
99 CMD_BUILD_ALL, ///< Build all command id.
100 CMD_SIMULATE, ///< Simulate command id.
101 CMD_ABOUT, ///< About command id.
102 CMD_OPTIONS, ///< Option command id.
103 CMD_USER_MANUAL, ///< User manual command id.
104 CMD_MEMORY, ///< Memory command id.
105 CMD_TREE_ITEM, ///< Id for tree events.
106 CMD_INFO_VIEW ///< Id for list events.
107 };
108
109 /// The name of the application.
110 static const wxString APPLICATION_NAME;
111
112 /// Default column width.
113 static const int DEFAULT_COLUMN_WIDTH;
114
115 /// Name of the logo.
116 static const std::string LOGO_NAME;
117
118 /// Copyright string
119 static const wxString OSED_COPYRIGHT;
120};
121
122#endif
static const std::string CMD_NAME_MEMORY
Investigate memory command name.
static const std::string CMD_NAME_REMOVE_OPERATION
Remove operation command name.
static const std::string DEFAULT_EDITOR
Default editor name.
static const int DEFAULT_COLUMN_WIDTH
Default column width.
static const std::string LOGO_NAME
Name of the logo.
static const std::string CMD_NAME_OPTIONS
Option command name.
static const std::string CMD_NAME_SIMULATE
Simulate command name.
static const std::string CMD_NAME_USER_MANUAL
User manual command name.
static const std::string CONF_FILE_NAME
Configuration file name.
static const std::string CMD_NAME_QUIT
Quit command name.
static const std::string CMD_NAME_ADD_OPERATION
Add operation command name.
static const wxString APPLICATION_NAME
The name of the application.
static const std::string CMD_NAME_ADD_MODULE
Add module command name.
static const std::string CMD_NAME_BUILD_ALL
Build all command name.
static const std::string CMD_NAME_PROPERTIES
Operation properties command name.
static const std::string CMD_NAME_BUILD
Build command name.
static const wxString OSED_COPYRIGHT
Copyright string.
static const std::string CMD_NAME_REMOVE_MODULE
Remove module command name.
static const std::string CMD_NAME_MODIFY_BEHAVIOR
Modify behavior command name.
static const std::string CMD_NAME_ABOUT
About command name.
@ CMD_MODIFY_BEHAVIOR
Modify operation behavior command id.
@ CMD_REMOVE_MODULE
Remove module command id.
@ CMD_OPTIONS
Option command id.
@ CMD_TREE_ITEM
Id for tree events.
@ CMD_PROPERTIES
Operation properties command id.
@ CMD_ADD_OPERATION
Add operation command id.
@ CMD_ABOUT
About command id.
@ CMD_BUILD_ALL
Build all command id.
@ CMD_USER_MANUAL
User manual command id.
@ CMD_MEMORY
Memory command id.
@ CMD_BUILD
Build command id.
@ CMD_SIMULATE
Simulate command id.
@ CMD_ADD_MODULE
Add module command id.
@ CMD_REMOVE_OPERATION
Remove operation command id.
@ CMD_INFO_VIEW
Id for list events.
@ CMD_QUIT
Quit command id.
static const std::string BEHAVIOR_TEMPLATE_FILE_NAME
Name of the behavior template file name.
static const std::string USER_MANUAL_NAME
Name of the user manual.