#ifndef APPLICATION_H
|
|
#define APPLICATION_H
|
|
|
|
#include <QCoreApplication>
|
|
#include <QObject>
|
|
#include "./interface/ipcserver.h"
|
|
#include "./torrent/torrentclient.h"
|
|
|
|
class Application : public QCoreApplication
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Application(int argc, char *argv[]);
|
|
|
|
bool boot();
|
|
virtual int exec();
|
|
|
|
private:
|
|
IpcServer *m_ipcServer;
|
|
TorrentClient *m_torrentClient;
|
|
|
|
signals:
|
|
|
|
};
|
|
|
|
#endif // APPLICATION_H
|