1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00
transmission/qt/InteropObject.h

28 lines
564 B
C++

/*
* This file Copyright (C) 2012-2015 Mnemosyne LLC
*
* It may be used under the GNU GPL versions 2 or 3
* or any future license endorsed by Mnemosyne LLC.
*
* $Id$
*/
#ifndef QTR_INTEROP_OBJECT_H
#define QTR_INTEROP_OBJECT_H
#include <QObject>
class InteropObject: public QObject
{
Q_OBJECT
Q_CLASSINFO ("D-Bus Interface", "com.transmissionbt.Transmission")
public:
InteropObject (QObject * parent = nullptr);
public slots:
bool PresentWindow ();
bool AddMetainfo (const QString& metainfo);
};
#endif // QTR_INTEROP_OBJECT_H