summaryrefslogtreecommitdiff
path: root/src/core/qtiviserviceinterface.h
blob: bf0a8075ef5f7eb388ed50d2791b62fbf95ee669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/************************************************************************************************
 * Copyright (c) 2012-2015 Pelagicore AG. All rights reserved.
 *
 * This software, including documentation, is protected by copyright controlled by Pelagicore AG.
 * All rights reserved. Copying, including reproducing, storing, adapting or translating, any or
 * all of this material requires prior written consent of Pelagicore AG Corporation. This material
 * also contains confidential information which may not be disclosed to others without the prior
 * written consent of Pelagicore AG.
 ************************************************************************************************/

#ifndef QTIVISERVICEINTERFACE_H
#define QTIVISERVICEINTERFACE_H

#include <QtPlugin>

class QtIVIServiceInterface {

public:

    virtual QStringList interfaces() const = 0;
    virtual QObject* interfaceInstance(const QString& interface) const = 0;
};

Q_DECLARE_INTERFACE(QtIVIServiceInterface, "com.pelagicore.QtIVIServiceInterface")
Q_DECLARE_METATYPE(QtIVIServiceInterface*)

#endif // QTIVISERVICEINTERFACE_H