source: SMSSender/lib/libdatatypes/src/interfaces/persistence/igroupmanager.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: 656 bytes
Line 
1/*
2 * igroupmanager.h
3 *
4 *  Created on: Jun 20, 2009
5 *      Author: saemy
6 */
7
8#ifndef IGROUPMANAGER_H_
9#define IGROUPMANAGER_H_
10
11#include <QObject>
12#include <QSet>
13
14#include "iinterface.h"
15#include "igroup.h"
16
17class IGroupManager: public IInterface{
18    Q_INTERFACES(IInterface)
19
20public:
21    virtual IGroup*       getGroup(int groupId)=0;
22    virtual QSet<IGroup*> getGroupList()=0;
23
24    virtual void saveGroup(IGroup* group)=0;
25    virtual void removeGroup(IGroup* group)=0;
26    virtual void removeGroup(int groupId)=0;
27};
28Q_DECLARE_INTERFACE(IGroupManager,
29                     "ch.gorrion.smssender.IGroupManager/1.0")
30
31#endif /* IGROUPMANAGER_H_ */
Note: See TracBrowser for help on using the repository browser.