/* mini * * This program is distributed under the GNU General Public License, version 2. * A copy of this license is included with this source. * * Copyright 2004-2006, Toni Thomsson */ // Implementation of class CTestListener #include "test_listener.h" #include #include // Construction CTestListener::CTestListener( void ) { } // Destruction CTestListener::~CTestListener() { } void CTestListener::onMessage( CzzMessage* msg ) { CzzLog log; log.Print( _INFOPARAMS, "Received message %s", msg->getId().c_str() ); throw CzzException( _LAF, 4711, "Application error" ); } int CTestListener::size() { return sizeof(CTestListener); }