File: pluginaccessinghost.h

package info (click to toggle)
psi-plus 1.4.1456-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,188 kB
  • sloc: cpp: 211,254; ansic: 19,786; javascript: 13,687; xml: 4,056; sh: 1,610; makefile: 437; objc: 407; python: 277; ruby: 171
file content (18 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef PLUGINACCESSINGHOST_H
#define PLUGINACCESSINGHOST_H

#include <QtPlugin>

class PsiPlugin;

class PluginAccessingHost {
public:
    virtual ~PluginAccessingHost() { }

    virtual QObject *   getPlugin(const QString &name) = 0;
    virtual QVariantMap selfMetadata() const           = 0;
};

Q_DECLARE_INTERFACE(PluginAccessingHost, "org.psi-im.PluginAccessingHost/0.2");

#endif // PLUGINACCESSINGHOST_H