get rid of status globals, global enum

This commit is contained in:
Matej Sekoranja
2011-01-31 22:08:25 +01:00
parent 0afa2a6aa7
commit db1a880c68
6 changed files with 366 additions and 347 deletions
+2 -2
View File
@@ -717,9 +717,9 @@ class ChannelRequesterImpl : public ChannelRequester
<< (channel ? channel->getChannelName() : "(null)") << ")" << std::endl;
}
virtual void channelStateChange(Channel *c, ConnectionState connectionState)
virtual void channelStateChange(Channel *c, Channel::ConnectionState connectionState)
{
std::cout << "channelStateChange(" << c->getChannelName() << ", " << ConnectionStateNames[connectionState] << ")" << std::endl;
std::cout << "channelStateChange(" << c->getChannelName() << ", " << Channel::ConnectionStateNames[connectionState] << ")" << std::endl;
}
};