17 lines
322 B
C
17 lines
322 B
C
|
|
#ifndef INPUTFORMATVALIDATOR_H
|
||
|
|
#define INPUTFORMATVALIDATOR_H
|
||
|
|
|
||
|
|
|
||
|
|
#include <QString>
|
||
|
|
|
||
|
|
class InputFormatValidator
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
InputFormatValidator() = delete;
|
||
|
|
|
||
|
|
static bool ValidateIpAddressFormat(const QString& aIpAddress);
|
||
|
|
static bool ValidatePortFormat(const QString& aPort);
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // INPUTFORMATVALIDATOR_H
|