summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_wine/ftnoir_protocol_wine_dialog.cpp
blob: 81fc9560e206c96056913c4dd6ee674d131aca5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "ftnoir_protocol_wine.h"
#include <QDebug>
#include "opentrack/plugin-api.hpp"

FTControls::FTControls()
{
    ui.setupUi( this );
    connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
    connect(ui.btnCancel, SIGNAL(clicked()), this, SLOT(doCancel()));
}

void FTControls::doOK() {
    this->close();
}

void FTControls::doCancel() {
    this->close();
}

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