summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CommLayerServerDBus.h
blob: e1185c5c36231cddaad992acd9ff56b5b32a8aae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef COMMLAYERSERVERDBUS_H_
#define COMMLAYERSERVERDBUS_H_

#include "CommLayerServer.h"

class CCommLayerServerDBus
: public CCommLayerServer
{
    public:
        CCommLayerServerDBus();
        virtual ~CCommLayerServerDBus();

        /* DBus signal senders */
        virtual void Crash(const std::string& progname, const std::string& uid);
        virtual void JobStarted(const char* pDest);
        virtual void JobDone(const char* pDest, const char* pUUID);

        virtual void Update(const std::string& pMessage, const char* peer, uint64_t pJobID);
        virtual void Warning(const std::string& pMessage, const char* peer, uint64_t pJobID);
};

#endif