Ajout du support pour les fichiers CAN database .dbc

Ajout shortcut pour RDP vers le PC dans le champs
This commit is contained in:
2023-01-09 16:45:23 -05:00
parent c888a889f2
commit 087245571a
47 changed files with 7885 additions and 692 deletions
@@ -4,12 +4,24 @@
#include <QString>
#include "defines.h"
#include "GeneralStatusPage.h"
#include <QFile>
#include <QStringList>
class CGeneralMessagesLogDispatcher
{
public:
enum eGenMsgTextErrorStatus
{
GEN_MSG_TXT_NO_ERROR_STATUS = 0,
GEN_MSG_TXT_WARNING_STATUS,
GEN_MSG_TXT_ERROR_STATUS,
GEN_MSG_TXT_MAX_STATUS
};
//CGeneralMessagesLogDispatcher is a singleton class
static CGeneralMessagesLogDispatcher* instance(){return &mSingleton;}
static CGeneralMessagesLogDispatcher mSingleton;
@@ -17,13 +29,14 @@ public:
CGeneralMessagesLogDispatcher();
virtual ~CGeneralMessagesLogDispatcher();
int AddLogMessage(QString LogLine, bool AddToGUILogPanel = true);
int AddLogMessage(QString LogLine, bool AddToGUILogPanel = true, eGenMsgTextErrorStatus TxtErrStatus = GEN_MSG_TXT_NO_ERROR_STATUS);
CGeneralStatusPage *mGeneralStatusPageHandle;
int BindGuiPageHandle(CGeneralStatusPage *Handle);
int Init();
private:
QString mGeneralMsgGUILog;
unsigned int mNbLinesInGUILog; //Keep the count of lines displayed in the GUI so we don't EVER buffer overrun
QStringList mGeneralMsgGUILog;
QFile *mSystemLogFile;
};