mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 15:30:28 +01:00
pch migration to modules [wip]
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
module;
|
||||
|
||||
module eu07.console.lpt;
|
||||
/*
|
||||
This Source Code Form is subject to the
|
||||
terms of the Mozilla Public License, v.
|
||||
@@ -7,9 +10,6 @@ obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "LPT.h"
|
||||
#include "utilities/Logs.h"
|
||||
|
||||
// LPT na USB:
|
||||
// USB\VID_067B&PID_2305&REV_0200
|
||||
|
||||
@@ -7,9 +7,12 @@ obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#ifndef LPTH
|
||||
#define LPTH
|
||||
//---------------------------------------------------------------------------
|
||||
module;
|
||||
|
||||
export module eu07.console.lpt;
|
||||
|
||||
export {
|
||||
|
||||
class TLPT
|
||||
{
|
||||
@@ -20,4 +23,5 @@ class TLPT
|
||||
bool Connect(int port);
|
||||
void Out(int x);
|
||||
};
|
||||
#endif
|
||||
|
||||
} // export
|
||||
@@ -1,3 +1,8 @@
|
||||
module;
|
||||
#include <setupapi.h>
|
||||
#include "utilities/utilities_macros.h"
|
||||
|
||||
module eu07.console.pokeys55;
|
||||
/*
|
||||
This Source Code Form is subject to the
|
||||
terms of the Mozilla Public License, v.
|
||||
@@ -7,10 +12,6 @@ obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "PoKeys55.h"
|
||||
#include <setupapi.h>
|
||||
#include "utilities/utilities.h"
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// HIDscaner: http://forum.simflight.com/topic/68257-latest-lua-package-for-fsuipc-and-wideclient/
|
||||
|
||||
@@ -6,10 +6,14 @@ distributed with this file, You can
|
||||
obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
//---------------------------------------------------------------------------
|
||||
module;
|
||||
#include <string>
|
||||
|
||||
export module eu07.console.pokeys55;
|
||||
|
||||
export {
|
||||
class TPoKeys55
|
||||
{ // komunikacja z PoKeys bez określania przeznaczenia pinów
|
||||
unsigned char cRequest; // numer żądania do sprawdzania odpowiedzi
|
||||
@@ -36,3 +40,5 @@ class TPoKeys55
|
||||
bool Update(bool pause);
|
||||
};
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
} // export
|
||||
Reference in New Issue
Block a user