]> git.tdb.fi Git - r2c2.git/blob - source/remote/connectdialog.h
Add a new remote control program with GLtk-based UI
[r2c2.git] / source / remote / connectdialog.h
1 #ifndef CONNECTDIALOG_H_
2 #define CONNECTDIALOG_H_
3
4 #include <msp/gltk/dialog.h>
5 #include <msp/gltk/entry.h>
6 #include "network/client.h"
7
8 class ConnectDialog: public Msp::GLtk::Dialog
9 {
10 private:
11         R2C2::Client &client;
12         Msp::GLtk::Entry *ent_host;
13         Msp::GLtk::Entry *ent_port;
14
15 public:
16         ConnectDialog(R2C2::Client &);
17
18 private:
19         virtual void on_response(int);
20 };
21
22 #endif