source: SMSSender/lib/libgateway/src/business/validation/BCStdAccountValidator.h @ 41:680c6a482e9d

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