Refactor system page in GUI Alpha.
This commit is contained in:
16
src/utilities/InputFormatValidator.h
Normal file
16
src/utilities/InputFormatValidator.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user