File: dummyplugin.h

package info (click to toggle)
maliit-framework 2.3.0-3.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,488 kB
  • sloc: cpp: 13,098; ansic: 2,506; xml: 299; sh: 34; makefile: 23; sed: 4
file content (29 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (2)
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
29
#ifndef DUMMYPLUGIN_H
#define DUMMYPLUGIN_H

#include <QObject>

class DummyPluginInterface
{
public:
    virtual QString name() = 0;
};

Q_DECLARE_INTERFACE(DummyPluginInterface,
                    "DummyPluginInterface/1.0")


//! Dummy plugin class for ut_mimpluginloader
class DummyPlugin: public QObject,
    public DummyPluginInterface
{
    Q_OBJECT
    Q_INTERFACES(DummyPluginInterface)
    Q_PLUGIN_METADATA(IID  "org.maliit.tests.dummyplugin"
                      FILE "dummyplugin.json")

public:
    virtual QString name();
};

#endif