summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoy/ftnoir_protocol_vjoy_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-30 09:16:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-10-30 09:16:32 +0100
commit0739d5b595be9492c1e574192eba12174111e52c (patch)
tree01225d2335ff784b35b59a5438f8ea1e07535486 /proto-vjoy/ftnoir_protocol_vjoy_dialog.cpp
parent05b2f05b72c706908e961eff8c0e4aa70dcadbd3 (diff)
also rename protocol -> proto
Diffstat (limited to 'proto-vjoy/ftnoir_protocol_vjoy_dialog.cpp')
-rw-r--r--proto-vjoy/ftnoir_protocol_vjoy_dialog.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/proto-vjoy/ftnoir_protocol_vjoy_dialog.cpp b/proto-vjoy/ftnoir_protocol_vjoy_dialog.cpp
new file mode 100644
index 00000000..08c65558
--- /dev/null
+++ b/proto-vjoy/ftnoir_protocol_vjoy_dialog.cpp
@@ -0,0 +1,22 @@
+#include "ftnoir_protocol_vjoy.h"
+#include "opentrack/plugin-api.hpp"
+
+VJoyControls::VJoyControls()
+{
+ ui.setupUi( this );
+ connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
+ connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel()));
+}
+
+void VJoyControls::doOK() {
+ save();
+ this->close();
+}
+
+void VJoyControls::doCancel() {
+ this->close();
+}
+
+void VJoyControls::save() {
+}
+