source: SMSSender/lib/libdatatypes/src/validation/sstdaccountvalidator.h @ 71:415b45c71663

3.0
Last change on this file since 71:415b45c71663 was 71:415b45c71663, checked in by Sämy Zehnder <saemy.zehnder@…>, 12 years ago
  • Reorganized all the libraries. libinterfaces and libgateways are removed now and libdatatypes contains now all these files.
File size: 598 bytes
Line 
1/*
2 * BCStdAccountValidator.h
3 *
4 *  Created on: Dec 18, 2009
5 *      Author: saemy
6 */
7
8#ifndef SSTDACCOUNTVALIDATOR_H_
9#define SSTDACCOUNTVALIDATOR_H_
10
11#include <iaccount.h>
12#include <ivalidator.h>
13
14class SStdAccountValidator: public QObject, public IValidator {
15    Q_OBJECT
16    Q_INTERFACES(IValidator)
17
18public:
19    explicit SStdAccountValidator(IAccount* account)
20        : account_(account)
21    {};
22    ~SStdAccountValidator() {};
23
24
25    IValidationResult* validate() const;
26
27protected:
28    IAccount* account() const;
29
30private:
31    IAccount* account_;
32};
33
34#endif /* SSTDACCOUNTVALIDATOR_H_ */
Note: See TracBrowser for help on using the repository browser.