source: SMSSender/lib/libdatatypes/src/interfaces/persistence/iaccountmanager.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: 649 bytes
Line 
1/*
2 * iaccountmanager.h
3 *
4 *  Created on: Aug 30, 2009
5 *      Author: saemy
6 */
7
8#ifndef IACCOUNTMANAGER_H_
9#define IACCOUNTMANAGER_H_
10
11#include <QObject>
12#include <QSet>
13
14#include "iinterface.h"
15#include "iaccount.h"
16
17class IAccountManager: public IInterface{
18    Q_INTERFACES(IInterface)
19
20public:
21    virtual IAccount*       getAccount(int accountId)=0;
22    virtual QSet<IAccount*> getAccountList()=0;
23
24    virtual void saveAccount(IAccount* account)=0;
25    virtual void removeAccount(IAccount* account)=0;
26};
27Q_DECLARE_INTERFACE(IAccountManager,
28                     "ch.gorrion.smssender.IAccountManager/1.0")
29
30#endif /* IACCOUNTMANAGER_H_ */
Note: See TracBrowser for help on using the repository browser.