17
0
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:
maj00r
2026-09-09 20:35:26 +02:00
parent c3007e3237
commit 3f7960aad5
350 changed files with 5958 additions and 3059 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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/

View File

@@ -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