Add optional names for each network for use in the log,

This commit is contained in:
Jonathan Naylor
2017-08-01 21:51:22 +01:00
parent 49254bc7c9
commit 367116bdf4
19 changed files with 175 additions and 89 deletions

View File

@@ -22,15 +22,17 @@
#include "Rewrite.h"
#include "DMRData.h"
#include <string>
class CPassAllPC : public IRewrite {
public:
CPassAllPC(const char* name, unsigned int slot);
CPassAllPC(const std::string& name, unsigned int slot);
virtual ~CPassAllPC();
virtual bool process(CDMRData& data, bool trace);
private:
const char* m_name;
std::string m_name;
unsigned int m_slot;
};