File: iconfactoryaccessinghost.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 (19 lines) | stat: -rw-r--r-- 496 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
#ifndef ICONFACTORYACCESSINGHOST_H
#define ICONFACTORYACCESSINGHOST_H

#include <QtPlugin>

class QByteArray;
class QString;

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

    virtual void  addIcon(const QString &name, const QByteArray &icon) = 0;
    virtual QIcon getIcon(const QString &name)                         = 0;
};

Q_DECLARE_INTERFACE(IconFactoryAccessingHost, "org.psi-im.IconFactoryAccessingHost/0.1");

#endif // ICONFACTORYACCESSINGHOST_H