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:
626 bytes
|
Line | |
---|
1 | /* |
---|
2 | * istorable.h |
---|
3 | * |
---|
4 | * Created on: Jul 13, 2009 |
---|
5 | * Author: saemy |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef ISTOREOFFICER_H_ |
---|
9 | #define ISTOREOFFICER_H_ |
---|
10 | |
---|
11 | #include <QObject> |
---|
12 | |
---|
13 | #include <iinterface.h> |
---|
14 | #include "istorage.h" |
---|
15 | |
---|
16 | class IStorageOfficer: public IInterface { |
---|
17 | Q_INTERFACES(IInterface) |
---|
18 | |
---|
19 | public: |
---|
20 | virtual void readFromStorage() =0; |
---|
21 | virtual void writeToStorage() const =0; |
---|
22 | virtual void removeFromStorage() =0; |
---|
23 | |
---|
24 | virtual IStorage* storage() const =0; |
---|
25 | virtual QString getNamespace() const =0; |
---|
26 | }; |
---|
27 | Q_DECLARE_INTERFACE(IStorageOfficer, |
---|
28 | "ch.gorrion.smssender.IStorageOfficer/1.0") |
---|
29 | |
---|
30 | #endif /* ISTOREOFFICER_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.