
2 changed files with 46 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
#include "PityPerspective.hh" |
|||
|
|||
namespace pEp { |
|||
namespace PityTest11 { |
|||
bool PityPerspective::debug_log_enabled = false; |
|||
|
|||
PityPerspective::PityPerspective() |
|||
{ |
|||
pEpLogClass("called"); |
|||
|
|||
|
|||
} |
|||
} // namespace PityTest11
|
|||
} // namespace pEp
|
@ -0,0 +1,32 @@ |
|||
// This file is under GNU General Public License 3.0
|
|||
// see LICENSE.txt
|
|||
|
|||
#ifndef PITYTEST_PITYPERSPECTIVE_HH |
|||
#define PITYTEST_PITYPERSPECTIVE_HH |
|||
|
|||
#include "../../../src/pEpLog.hh" |
|||
|
|||
namespace pEp { |
|||
namespace PityTest11 { |
|||
class PityPerspective { |
|||
public: |
|||
// Constructors
|
|||
PityPerspective(); |
|||
|
|||
// Perspective
|
|||
std::string name; |
|||
std::string partner; |
|||
std::vector<std::string> peers; |
|||
|
|||
//internal logging
|
|||
static bool debug_log_enabled; |
|||
Adapter::pEpLog::pEpLogger logger_debug{ "PityNode", debug_log_enabled }; |
|||
|
|||
private: |
|||
//internal logging
|
|||
Adapter::pEpLog::pEpLogger& m4gic_logger_n4me = logger_debug; |
|||
}; |
|||
}; // namespace PityTest11
|
|||
}; // namespace pEp
|
|||
|
|||
#endif // PITYTEST_PITYPERSPECTIVE_HH
|
Loading…
Reference in new issue