remove all unneeded module listed from Niklas
This commit is contained in:
1 parent
be912de9d6
commit
92ad7d4686
895 files changed
-327561
No files matched your search
@@ -1,60 +0,0 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Provides structs, typedefs and an enum
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Florian Schult, SLSE, 2016-03-18
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QMap>
|
||||
|
||||
struct Mode
|
||||
{
|
||||
QString name;
|
||||
int lines = 0;
|
||||
int letters = 0;
|
||||
int height = 0;
|
||||
};
|
||||
|
||||
struct Port
|
||||
{
|
||||
int port = 0;
|
||||
QString name;
|
||||
};
|
||||
|
||||
typedef QMap<QString, Mode> ModeMap;
|
||||
typedef QMap<int, Port> PortMap;
|
||||
|
||||
enum MsgLvl
|
||||
{
|
||||
MSGLVL_TRACE = 1,
|
||||
MSGLVL_DEBUG = 2,
|
||||
MSGLVL_INFO = 3,
|
||||
MSGLVL_WARNING = 4,
|
||||
MSGLVL_ERROR = 5,
|
||||
MSGLVL_FATAL = 6
|
||||
};
|
||||
|
||||
inline static QString levelName(MsgLvl lvl)
|
||||
{
|
||||
switch (lvl)
|
||||
{
|
||||
case MSGLVL_TRACE:
|
||||
return QStringLiteral("Trace");
|
||||
case MSGLVL_DEBUG:
|
||||
return QStringLiteral("Debug");
|
||||
case MSGLVL_INFO:
|
||||
return QStringLiteral("Info");
|
||||
case MSGLVL_WARNING:
|
||||
return QStringLiteral("Warning");
|
||||
case MSGLVL_ERROR:
|
||||
return QStringLiteral("Error");
|
||||
case MSGLVL_FATAL:
|
||||
return QStringLiteral("Fatal");
|
||||
}
|
||||
return QStringLiteral("Unknown (%1)").arg(lvl);
|
||||
}
|
||||
Reference in new issue
Block a user