36 lines
430 B
C++
Executable File
36 lines
430 B
C++
Executable File
/**
|
|
* Settings for SerialToTcpConverter
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
#include <QString>
|
|
|
|
namespace NGL
|
|
{
|
|
class Settings;
|
|
}
|
|
|
|
namespace SerialToTcpConverter
|
|
{
|
|
namespace Settings
|
|
{
|
|
|
|
struct Config
|
|
{
|
|
QString serialPortName;
|
|
int serialBaudrate;
|
|
int tcpPort;
|
|
};
|
|
|
|
NGL::Settings *settings();
|
|
void setIniFile(const QString &ini);
|
|
|
|
QVector<Config> configs();
|
|
|
|
}
|
|
|
|
} // namespace SerialToTcpConverter
|