ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/deliantra/dclient/src/frontend/tclient/tquery_handler.h
Revision: 1.1
Committed: Sun Oct 24 22:24:50 2010 UTC (16 years ago) by sf-pippijn
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
added a command line client (no curses)

File Contents

# Content
1 #pragma once
2
3 #include "deliantra/interface/command_handler.h"
4 #include "deliantra/sender.h"
5
6 struct widgets;
7
8 struct query_handler
9 : interface::command_handler
10 , sender
11 {
12 query_handler ( communicator &comm
13 , std::string const &username
14 , std::string const &password
15 );
16
17 private:
18 virtual void query (int flags, std::string const &prompt);
19
20 std::string const username;
21 std::string const password;
22 };