summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_wine/ftnoir_protocol_wine_dialog.cpp
blob: a6fae479f9e858f7d7e312278f94a33cc82810cd (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" FTNOIR_PROTOCOL_BASE_EXPORT void* CALLING_CONVENTION GetDialog( )
{
    return (IProtocolDialog*) new FTControls;
}