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:
698 bytes
|
Line | |
---|
1 | /* |
---|
2 | * icontactmanager.h |
---|
3 | * |
---|
4 | * Created on: May 24, 2009 |
---|
5 | * Author: saemy |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef ICONTACTMANAGER_H_ |
---|
9 | #define ICONTACTMANAGER_H_ |
---|
10 | |
---|
11 | #include <QObject> |
---|
12 | #include <QSet> |
---|
13 | |
---|
14 | #include "iinterface.h" |
---|
15 | #include "icontact.h" |
---|
16 | |
---|
17 | class IContactManager: public IInterface{ |
---|
18 | Q_INTERFACES(IInterface) |
---|
19 | |
---|
20 | public: |
---|
21 | virtual IContact* getContact(int contactId)=0; |
---|
22 | virtual QSet<IContact*> getContactList()=0; |
---|
23 | |
---|
24 | virtual void saveContact(IContact* contact)=0; |
---|
25 | virtual void removeContact(IContact* contact)=0; |
---|
26 | virtual void removeContact(int contactId)=0; |
---|
27 | }; |
---|
28 | Q_DECLARE_INTERFACE(IContactManager, |
---|
29 | "ch.gorrion.smssender.IContactManager/1.0") |
---|
30 | |
---|
31 | #endif /* ICONTACTMANAGER_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.