summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy_dialog.cpp
blob: 34ee29e944d896390db4419a2824a1733d9358ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "ftnoir_protocol_vjoy.h"
#include "facetracknoir/plugin-support.h"

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() {
}

extern "C" OPENTRACK_EXPORT IProtocolDialog* GetDialog( )
{
    return new VJoyControls;
}