1/*
2 * This file Copyright (C) Mnemosyne LLC
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2
6 * as published by the Free Software Foundation.
7 *
8 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
9 *
10 * $Id: dbus-adaptor.h 11280 2010-10-01 13:33:39Z charles $
11 */
12
13#ifndef QTR_DBUS_ADAPTOR_H
14#define QTR_DBUS_ADAPTOR_H
15
16class MyApp;
17
18#include <QDBusAbstractAdaptor>
19
20class TrDBusAdaptor: public QDBusAbstractAdaptor
21{
22    Q_OBJECT
23    Q_CLASSINFO( "D-Bus Interface", "com.transmissionbt.Transmission" )
24
25  private:
26    MyApp * myApp;
27
28  public:
29    TrDBusAdaptor( MyApp* );
30    virtual ~TrDBusAdaptor() { }
31
32  public slots:
33    bool PresentWindow();
34    bool AddMetainfo( const QString& );
35};
36
37#endif
38