mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2024-09-29 00:55:32 +00:00
3fd01f77d8
The PC build now brings up an empty Qt window. It also runs the programmer firmware in the background in another thread. This also adds a shell script you can use to create the USB gadget.
41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
/*
|
|
* usbsimulationmanager.h
|
|
*
|
|
* Created on: Jul 25, 2021
|
|
* Author: Doug
|
|
*
|
|
* Copyright (C) 2011-2021 Doug Brown
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef USBSIMULATIONMANAGER_H
|
|
#define USBSIMULATIONMANAGER_H
|
|
|
|
#include <QString>
|
|
|
|
class USBSimulationManager
|
|
{
|
|
public:
|
|
static QString configFSPath();
|
|
static QString localGadgetDir();
|
|
static QString localGadgetPortDevice();
|
|
static bool connectGadget();
|
|
static bool disconnectGadget();
|
|
};
|
|
|
|
#endif // USBSIMULATIONMANAGER_H
|