summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_wine/ftnoir_protocol_wine_dialog.cpp
blob: bcd3df458366caaf0e6ce7909c6be5cf282a52b6 (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 "facetracknoir/plugin-support.h"

FTControls::FTControls() : QWidget()
{
    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* CALLING_CONVENTION GetDialog( )
{
    return (IProtocolDialog*) new FTControls;
}