aboutsummaryrefslogtreecommitdiff
path: root/launcher/net/Validator.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/net/Validator.h')
-rw-r--r--launcher/net/Validator.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/launcher/net/Validator.h b/launcher/net/Validator.h
index 6b3d4635..105a233c 100644
--- a/launcher/net/Validator.h
+++ b/launcher/net/Validator.h
@@ -37,16 +37,15 @@
#include "net/NetAction.h"
namespace Net {
-class Validator
-{
-public: /* con/des */
- Validator() {};
- virtual ~Validator() {};
+class Validator {
+ public: /* con/des */
+ Validator(){};
+ virtual ~Validator(){};
-public: /* methods */
- virtual bool init(QNetworkRequest & request) = 0;
- virtual bool write(QByteArray & data) = 0;
+ public: /* methods */
+ virtual bool init(QNetworkRequest& request) = 0;
+ virtual bool write(QByteArray& data) = 0;
virtual bool abort() = 0;
- virtual bool validate(QNetworkReply & reply) = 0;
+ virtual bool validate(QNetworkReply& reply) = 0;
};
-}
+} // namespace Net