|
Packit Service |
b98cfc |
/*
|
|
Packit Service |
b98cfc |
* qlo10k1 - GUI frontend for ld10k1
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
* Copyright (c) 2004 by Peter Zubaj
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
* This program is free software; you can redistribute it and/or modify
|
|
Packit Service |
b98cfc |
* it under the terms of the GNU General Public License as published by
|
|
Packit Service |
b98cfc |
* the Free Software Foundation; either version 2 of the License, or
|
|
Packit Service |
b98cfc |
* (at your option) any later version.
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
b98cfc |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
b98cfc |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
b98cfc |
* GNU General Public License for more details.
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
b98cfc |
* along with this program; if not, write to the Free Software
|
|
Packit Service |
b98cfc |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit Service |
b98cfc |
*
|
|
Packit Service |
b98cfc |
*/
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
#ifndef PATCHDIALOG_H
|
|
Packit Service |
b98cfc |
#define PATCHDIALOG_H
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
#include "dlgs/patchdialogbase.h"
|
|
Packit Service |
b98cfc |
#include "strglobal.h"
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
class PatchDlg : public PatchDialogBase
|
|
Packit Service |
b98cfc |
{
|
|
Packit Service |
b98cfc |
Q_OBJECT
|
|
Packit Service |
b98cfc |
StrGlobal *global;
|
|
Packit Service |
b98cfc |
/*EMU10k1File *file;
|
|
Packit Service |
b98cfc |
QString fileName;*/
|
|
Packit Service |
b98cfc |
QStringList inputNames;
|
|
Packit Service |
b98cfc |
QStringList outputNames;
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
/*QValueList <int> ctrlFileList;
|
|
Packit Service |
b98cfc |
QValueList <TranslatedCtrl> translatedList;
|
|
Packit Service |
b98cfc |
QValueList <RouteInfo> inRoutes;
|
|
Packit Service |
b98cfc |
QValueList <RouteInfo> outRoutes;*/
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
//LD10k1Route getRoute(bool out, int idx);
|
|
Packit Service |
b98cfc |
StrPatch *patch;
|
|
Packit Service |
b98cfc |
public:
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
PatchDlg(StrGlobal *glob, StrPatch *p);
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
QString getName(int i);
|
|
Packit Service |
b98cfc |
QString getRouteName(bool output, int i);
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
/*void enableSBLive(bool en);
|
|
Packit Service |
b98cfc |
void enableAudigy(bool en);
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void transformFile(LD10k1File **outFile, QValueList <LD10k1Route> *routes);*/
|
|
Packit Service |
b98cfc |
public slots:
|
|
Packit Service |
b98cfc |
void okClicked();
|
|
Packit Service |
b98cfc |
void cancelClicked();
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void inputsDoubleClicked(QListBoxItem *item);
|
|
Packit Service |
b98cfc |
void outputsDoubleClicked(QListBoxItem *item);
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
/*void ctrlAddClicked();
|
|
Packit Service |
b98cfc |
void ctrlDelClicked();
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void loadedDoubleClicked(QListBoxItem *item);
|
|
Packit Service |
b98cfc |
void fileDoubleClicked(QListBoxItem *item);*/
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void connInputsDoubleClicked(QListBoxItem *item);
|
|
Packit Service |
b98cfc |
void connOutputsDoubleClicked(QListBoxItem *item);
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
/*void insertInRepStateChanged(int state);
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
void archBothClicked();
|
|
Packit Service |
b98cfc |
void archEmu10k1Clicked();
|
|
Packit Service |
b98cfc |
void archEmu10k2Clicked();*/
|
|
Packit Service |
b98cfc |
};
|
|
Packit Service |
b98cfc |
|
|
Packit Service |
b98cfc |
#endif // PATCHDIALOG_H
|
|
Packit Service |
b98cfc |
|