source: SMSSender/lib/libdatatypes/src/interfaces/ilibraryloader.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: 760 bytes
Line 
1/*
2 * ilibraryloader.h
3 *
4 *  Created on: Jul 10, 2009
5 *      Author: saemy
6 */
7
8#ifndef ILIBRARYLOADER_H_
9#define ILIBRARYLOADER_H_
10
11#include <QDir>
12#include <QList>
13#include <QString>
14
15#include "iinterface.h"
16#include "igateway.h"
17#include "ilibrary.h"
18
19class ILibraryLoader: public IInterface {
20    Q_INTERFACES(IInterface)
21
22public:
23    virtual bool      isLibrary(const QString& filename) =0;
24    virtual ILibrary* loadLibrary(const QString& filename) =0;
25
26    virtual void loadLibraries(const QDir& libraryPath) =0;
27
28    virtual QList<ILibrary*> libraries() const =0;
29    virtual QList<IGateway*> gateways() const =0;
30};
31
32Q_DECLARE_INTERFACE(ILibraryLoader,
33                     "ch.gorrion.smssender.ILibraryLoader/1.0")
34
35#endif /* ILIBRARYLOADER_H_ */
Note: See TracBrowser for help on using the repository browser.