Move network classes into xmrig namespace.

This commit is contained in:
XMRig 2019-02-17 06:59:19 +07:00
parent dbdcc14672
commit ee667144e8
42 changed files with 481 additions and 332 deletions

View file

@ -4,8 +4,9 @@
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
* Copyright 2016-2017 XMRig <support@xmrig.com>
*
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -21,8 +22,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __IJOBRESULTLISTENER_H__
#define __IJOBRESULTLISTENER_H__
#ifndef XMRIG_IJOBRESULTLISTENER_H
#define XMRIG_IJOBRESULTLISTENER_H
namespace xmrig {
class Client;
@ -32,10 +36,13 @@ class JobResult;
class IJobResultListener
{
public:
virtual ~IJobResultListener() {}
virtual ~IJobResultListener() = default;
virtual void onJobResult(const JobResult &result) = 0;
};
#endif // __IJOBRESULTLISTENER_H__
} /* namespace xmrig */
#endif // XMRIG_IJOBRESULTLISTENER_H