mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-24 05:37:14 +01:00
41 lines
475 B
C++
41 lines
475 B
C++
|
//
|
||
|
// TestChannel.cpp
|
||
|
//
|
||
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
||
|
// and Contributors.
|
||
|
//
|
||
|
// SPDX-License-Identifier: BSL-1.0
|
||
|
//
|
||
|
|
||
|
|
||
|
#include "TestChannel.h"
|
||
|
|
||
|
|
||
|
TestChannel::TestChannel()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
TestChannel::~TestChannel()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
void TestChannel::log(const Poco::Message& msg)
|
||
|
{
|
||
|
_msgList.push_back(msg);
|
||
|
_lastMessage = msg;
|
||
|
}
|
||
|
|
||
|
|
||
|
TestChannel::MsgList& TestChannel::list()
|
||
|
{
|
||
|
return _msgList;
|
||
|
}
|
||
|
|
||
|
|
||
|
void TestChannel::clear()
|
||
|
{
|
||
|
_msgList.clear();
|
||
|
}
|