00001
00002
00003
00004
00005
00006
00007
00008
00009
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00028
00029 #define YASA_GUI_CUSTOMIZE_INCLUDE
00030
00031 #include <yasa/yasa_types.h>
00032
00034 #define YASAGUI_VERSION 2
00035 #define ABOUT_PATH "doc/about_"
00036 #define DEFAULT_LANGUAGE "de"
00037 #define LANGUAGE_USED "de" // set to "" if you want to use operating system language
00038 #define LANGUAGE_YASA_PREFIX "yasagui_" // prefix of filename used as catalog file
00039 #define LANGUAGE_QT_PREFIX "qt_"
00040 #define EXECUTIVES_DIR "executives"
00041 #define SCHEDULERS_DIR "schedulers"
00042 #define HTML_POSTFIX ".html"
00043 #define YASA_POSTFIX ".yasa"
00044 #define YASA_WORKSPACE_FILTER "*.yasa"
00045 #define SOURCE_FILE_FILTER "*.c *.cc *.cpp"
00046 #define HEADER_FILE_FILTER "*.h"
00047 #define PARENTDIR_PREFIX ".."
00048 #define CURRENTDIR_PREFIX "."
00049 #define NUMBER_SEPARATOR "." // used to represent float values
00050 #define EXTENSION_SEPARATOR '.' // used to set a file extension "hello.c"
00051 #define LOWEST_STRING " " // this should be the lowest (used for sorting) possible string
00052 #define DIR_SEPARATOR "/"
00053 #define MAINWINDOW_OPEN_MAXIMIZED true // true=main window will be opened in maximized mode
00054
00055 #define MDI_OPEN_MAXIMIZED 1 // true=window is maximized by default
00056 #define MDI_WIDTH 640 // 640 pixel
00057 #define MDI_HEIGHT 480 // 480 pixel
00058 #define MDI_SCROLLVIEW_BORDER 8 // border width of mdi windows between slider and contents
00059 #define TABSIZE 4
00060
00061 #define PROJECT_WIDTH 300 // thousanth part of the whole size (German: Promille)
00062 #define OUTPUT_HEIGHT 200 // thousanth part of the whole size (German: Promille)
00063 #define PROJECT_DEFAULT_MAXCPU 1 // Default: one cpu is used
00064 #define PROJECT_TIMER_TICK 100000 // tick value
00065 #define SUPPORT_CALC_PREEMPTIONTIME 0 // do not calculate preemption time by default
00066 #define SUPPORT_TIMERTICK 0 // usually components does not support timer tick
00067 #define YASATIME_JUSTIFYNUMBER 16 // is used in QListViewItems to justify the string to the right
00068 #define YASATIME_JUSTIFYFILL '0' // -++- with this fill character
00069 #define EXECUTIVE_DEFAULT_MAXCPU 1 // Default: one cpu is used
00070 #define FIGURE_ICON_APPLICATION "yasagui/figures/icon_application.xpm"
00071 #define FIGURE_ICON_MDIWINDOW "yasagui/figures/icon_mdiwindow.xpm"
00072 #define FIGURE_WORKSPACE_NEW "yasagui/figures/workspace_new.xpm"
00073 #define FIGURE_WORKSPACE_OPEN "yasagui/figures/workspace_open.xpm"
00074 #define FIGURE_WORKSPACE_SAVE "yasagui/figures/workspace_save.xpm"
00075 #define FIGURE_EXECUTE "yasagui/figures/execute.xpm"
00076 #define FIGURE_ZOOM_IN "yasagui/figures/zoom_in.xpm"
00077 #define FIGURE_ZOOM_OUT "yasagui/figures/zoom_out.xpm"
00078 #define FIGURE_POINTER_HAND "yasagui/figures/pointer_hand.xpm"
00079 #define FIGURE_POINTER_HAND_PUSHED "yasagui/figures/pointer_hand_pushed.xpm"
00080
00081 #define FIGURE_BACKGROUND_OUTPUT "yasagui/figures/background_output.xpm"
00082 #define FIGURE_BACKGROUND_HELP "yasagui/figures/background_help.xpm"
00083 #define FIGURE_BACKGROUND_SOURCES "yasagui/figures/background_sources.xpm"
00084 #define FIGURE_BACKGROUND_LOGFILE "yasagui/figures/background_logfile.xpm"
00085 #define FIGURE_BACKGROUND_WORKSPACE_TREE "" //yasagui/figures/background_workspace.xpm"
00086 #define FIGURE_BACKGROUND_TIMINGWINDOWS "yasagui/figures/background_timingwindows.xpm"
00087 #define FIGURE_BACKGROUND_WINDOWS "yasagui/figures/background_windows.xpm"
00088
00089 #define FIGURE_THREAD_CREATED "yasagui/figures/logfile/thread_created.xpm"
00090 #define FIGURE_THREAD_ACTIVATE "yasagui/figures/logfile/thread_activate.xpm"
00091 #define FIGURE_THREAD_EXIT "yasagui/figures/logfile/thread_exit.xpm"
00092 #define FIGURE_THREAD_START "yasagui/figures/logfile/thread_start.xpm"
00093 #define FIGURE_THREAD_CONT "yasagui/figures/logfile/thread_cont.xpm"
00094 #define FIGURE_THREAD_SUSPEND "yasagui/figures/logfile/thread_suspend.xpm"
00095 #define FIGURE_THREAD_TOLERANCE_START "yasagui/figures/logfile/thread_tolerance_start.xpm"
00096 #define FIGURE_THREAD_TOLERANCE_CONT "yasagui/figures/logfile/thread_tolerance_cont.xpm"
00097 #define FIGURE_THREAD_TOLERANCE_SUSPEND "yasagui/figures/logfile/thread_tolerance_suspend.xpm"
00098 #define FIGURE_THREAD_SKIPPED "yasagui/figures/logfile/thread_skipped.xpm"
00099 #define FIGURE_THREAD_TYPE "yasagui/figures/logfile/thread_type.xpm"
00100 #define FIGURE_THREAD_EXCLUDED "yasagui/figures/logfile/thread_excluded.xpm"
00101 #define FIGURE_DEADLINE_MATCH "yasagui/figures/logfile/deadline_match.xpm"
00102 #define FIGURE_DEADLINE_MISS "yasagui/figures/logfile/deadline_miss.xpm"
00103 #define FIGURE_DEADLINE_MISS_DETECTED "yasagui/figures/logfile/deadline_miss_detected.xpm"
00104 #define FIGURE_DEADLINE_TOLERANCE_MISS "yasagui/figures/logfile/deadline_tolerance_miss.xpm"
00105 #define FIGURE_TIME_TO_COMPUTE "yasagui/figures/logfile/time_to_compute.xpm"
00106 #define FIGURE_MUTEX_CREATED "yasagui/figures/logfile/mutex_created.xpm"
00107 #define FIGURE_MUTEX_DESTROYED "yasagui/figures/logfile/mutex_destroyed.xpm"
00108 #define FIGURE_MUTEX_LOCKED "yasagui/figures/logfile/mutex_locked.xpm"
00109 #define FIGURE_MUTEX_TRY_N_BLOCKED "yasagui/figures/logfile/mutex_try_n_blocked.xpm"
00110 #define FIGURE_MUTEX_UNLOCKED "yasagui/figures/logfile/mutex_unlocked.xpm"
00111 #define FIGURE_MUTEX_RELOCKED "yasagui/figures/logfile/mutex_relocked.xpm"
00112 #define FIGURE_MUTEX_NOT_LOCKED "yasagui/figures/logfile/mutex_not_locked.xpm"
00113 #define FIGURE_PRIORITY_CHANGED "yasagui/figures/logfile/priority_changed.xpm"
00114 #define FIGURE_SYSTEM_CEILING_CHANGED "yasagui/figures/logfile/system_ceiling_changed.xpm"
00115 #define FIGURE_MESSAGE "yasagui/figures/logfile/message.xpm"
00116 #define FIGURE_EMERGENCY_THREAD "yasagui/figures/logfile/emergency_thread.xpm"
00117 #define FIGURE_SCHEDULER_CHANGED "yasagui/figures/logfile/scheduler_changed.xpm"
00118 #define FIGURE_SCHEDULER_CALLED "yasagui/figures/logfile/scheduler_called.xpm"
00119 #define FIGURE_SCHEDULER_FINISHED "yasagui/figures/logfile/scheduler_finished.xpm"
00120 #define FIGURE_SCHEDULER_SWITCH "yasagui/figures/logfile/scheduler_switch.xpm"
00121 #define FIGURE_SCHEDULER_SYNCHRONIZED_START "yasagui/figures/logfile/scheduler_synchronized_start.xpm"
00122 #define FIGURE_IDLE_THREAD "yasagui/figures/logfile/thread_idle.xpm"
00123 #define FIGURE_JITTER "yasagui/figures/logfile/jitter.xpm"
00124 #if YASAL_MAX!=35
00125 #error There are inconsistences within the logging types!
00126 #endif
00127
00128
00129 #define CONFIG_SPACE ' ' // space
00130 #define CONFIG_TAB '\t' // tab
00131 #define CONFIG_NEWLINE '\n' // new line
00132 #define CONFIG_RETURN '\r' // new line
00133 #define CONFIG_COMMENT '#' // comment with '#'
00134 #define CONFIG_COMMENT_2 '/' // comment with '/'
00135 #define CONFIG_MARKS '"' // string are enclosed with
00136 #define CONFIG_NUMBER_BASE 10 // numbers are decimal
00137 #define CONFIG_KEY_OPEN '<'
00138 #define CONFIG_KEY_CLOSE '>'
00139 #define CONFIG_KEY_END '/'
00140
00141 #define CYGWINPATH_EXTENSION "/cygdrive/"
00142 #define BASH_STARTUP "bash -c \"%1\""
00143 #define BASH_SCRIPT_STARTUP "bash -c \". %1\""
00144 #define SG_NEW_LINE "\n"
00145
00146
00147 #define Q_CONSTUNUSED(x) (const void )x
00148 #endif // ifndef YASA_GUI_CUSTOMIZE_INCLUDE