ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/src/frontend/tclient/tinput_handler.h
Revision: 1.2
Committed: Mon Oct 25 01:18:05 2010 UTC (15 years, 11 months ago) by sf-pippijn
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -0 lines
Log Message:
do not crash if inventory manager has no views attached

File Contents

# User Rev Content
1 sf-pippijn 1.1 #include "deliantra/sender.h"
2    
3     #include <ev++.h>
4    
5 sf-pippijn 1.2 struct renderer;
6    
7 sf-pippijn 1.1 struct input_handler
8     : sender
9     {
10     input_handler (communicator &comm);
11     ~input_handler ();
12    
13 sf-pippijn 1.2 renderer *rend;
14    
15 sf-pippijn 1.1 private:
16     void stdin_read_cb (ev::io &w, int revents);
17    
18     ev::io stdin_watcher;
19     };