commandhandler.h
musicmud-2.1.6/include/commandhandler.h · 400 B
From the archive musicmud2.1.6.tar.gz
Download the archive « Back to the archive contents
#ifndef COMMANDHANDLER_H
#define COMMANDHANDLER_H
//! abstract class representing something that the telnet stack feeds data to
class commandhandler {
public:
//! deal with given user-input
virtual void input(const char *str)=0;
//! deal with a size change
virtual void size_changed()=0;
//! deal with username sent asynchronously.
virtual void username(const char *str)=0;
};
#endif