Show config.cpp syntax highlighted
/* Copyright (c) 2007, Stefan Eilemann <eile@equalizergraphics.com>
All rights reserved. */
#include "config.h"
#include "configEvent.h"
using namespace std;
Config::Config()
{
}
Config::~Config()
{
}
bool Config::handleEvent( const eq::ConfigEvent* event )
{
switch( event->type )
{
case ConfigEvent::READBACK:
case ConfigEvent::ASSEMBLE:
cout << static_cast< const ConfigEvent* >( event ) << endl;
return true;
default:
return eq::Config::handleEvent( event );
}
}
See more files for this project here