X-Git-Url: http://git.tdb.fi/?p=r2c2.git;a=blobdiff_plain;f=source%2Fremote%2Fconnectdialog.h;fp=source%2Fremote%2Fconnectdialog.h;h=68ae64b065fce5653404caff8f94eca46682f12a;hp=0000000000000000000000000000000000000000;hb=f8873062b146028c07f55ad625d2767e45133c27;hpb=a9bbf8d37a2f94a720897fe4f0ab06a016779c69 diff --git a/source/remote/connectdialog.h b/source/remote/connectdialog.h new file mode 100644 index 0000000..68ae64b --- /dev/null +++ b/source/remote/connectdialog.h @@ -0,0 +1,22 @@ +#ifndef CONNECTDIALOG_H_ +#define CONNECTDIALOG_H_ + +#include +#include +#include "network/client.h" + +class ConnectDialog: public Msp::GLtk::Dialog +{ +private: + R2C2::Client &client; + Msp::GLtk::Entry *ent_host; + Msp::GLtk::Entry *ent_port; + +public: + ConnectDialog(R2C2::Client &); + +private: + virtual void on_response(int); +}; + +#endif