1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
/**
* @licence app begin@
* Copyright (C) 2015 Advanced Driver Information Technology
*
* This code is developed by Advanced Driver Information Technology.
* Copyright of Advanced Driver Information Technology, Bosch and DENSO.
*
* This file is part of COVESA Project Dlt Viewer.
*
*
* \copyright
* This Source Code Form is subject to the terms of the
* Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
* this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* \author Christoph Lipka <clipka@jp.adit-jv.com> ADIT 2015
*
* \file dltlogstorageconfigcreatorplugin.cpp
* For further information see http://www.covesa.global/.
* @licence end@
*/
#include <QtGui>
#include "dltlogstorageconfigcreatorplugin.h"
DltLogstorageConfigCreatorPlugin::DltLogstorageConfigCreatorPlugin() {
}
DltLogstorageConfigCreatorPlugin::~DltLogstorageConfigCreatorPlugin() {
}
/* Dlt Viewer plugin interface */
QString DltLogstorageConfigCreatorPlugin::name() {
return QString("DLT Logstorage Config Creator Plugin");
}
QString DltLogstorageConfigCreatorPlugin::pluginVersion(){
return DLT_LOGSTORAGE_CONFIG_CREATOR_PLUGIN_VERSION;
}
QString DltLogstorageConfigCreatorPlugin::pluginInterfaceVersion() {
return PLUGIN_INTERFACE_VERSION;
}
QString DltLogstorageConfigCreatorPlugin::description() {
return QString("DLT Viewer plugin to create and modify DLT Offline Logstorage configuration files");
}
QString DltLogstorageConfigCreatorPlugin::error() {
return QString();
}
bool DltLogstorageConfigCreatorPlugin::loadConfig(QString /*filename*/) {
return true;
}
bool DltLogstorageConfigCreatorPlugin::saveConfig(QString /*filename*/) {
return true;
}
QStringList DltLogstorageConfigCreatorPlugin::infoConfig() {
return QStringList();
}
QWidget* DltLogstorageConfigCreatorPlugin::initViewer() {
ui = new LogstorageConfigCreatorForm();
return ui;
}
void DltLogstorageConfigCreatorPlugin::initFileStart(QDltFile *file) {
(void) file;
}
void DltLogstorageConfigCreatorPlugin::initFileFinish() {
}
void DltLogstorageConfigCreatorPlugin::initMsg(int index, QDltMsg &msg) {
(void) index; /* not used */
(void) msg; /* not used */
}
void DltLogstorageConfigCreatorPlugin::initMsgDecoded(int index, QDltMsg &msg) {
(void) index; /* not used */
(void) msg; /* not used */
}
void DltLogstorageConfigCreatorPlugin::updateFileStart() {
}
void DltLogstorageConfigCreatorPlugin::updateMsg(int index, QDltMsg &msg) {
(void) index; /* not used */
(void) msg; /* not used */
}
void DltLogstorageConfigCreatorPlugin::updateMsgDecoded(int index, QDltMsg &msg) {
(void) index; /* not used */
(void) msg; /* not used */
}
void DltLogstorageConfigCreatorPlugin::updateFileFinish() {
}
void DltLogstorageConfigCreatorPlugin::selectedIdxMsg(int index, QDltMsg &msg) {
(void) index; /* not used */
(void) msg; /* not used */
}
void DltLogstorageConfigCreatorPlugin::selectedIdxMsgDecoded(int index, QDltMsg &msg) {
(void) index; /* not used */
(void) msg; /* not used */
}
#ifndef QT5
Q_EXPORT_PLUGIN2(dltlogstorageconfigcreatorplugin, DltLogstorageConfigCreatorPlugin);
#endif // DLTLOGSTORAGECONFIGCREATORPLUGIN_H
|