mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Change all of the enums to the modern format.
This commit is contained in:
11
LCDproc.h
11
LCDproc.h
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2016,2017 by Tony Corbett G0WFV
|
||||
* Copyright (C) 2018,2020 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2018,2020,2025 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* 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
|
||||
@@ -25,6 +25,11 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#include <ws2tcpip.h>
|
||||
#include <Winsock2.h>
|
||||
#endif
|
||||
|
||||
class CLCDproc : public CDisplay
|
||||
{
|
||||
public:
|
||||
@@ -89,7 +94,11 @@ private:
|
||||
unsigned int m_rssiCount1;
|
||||
unsigned int m_rssiCount2;
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
int socketPrintf(SOCKET fd, const char* format, ...);
|
||||
#else
|
||||
int socketPrintf(int fd, const char *format, ...);
|
||||
#endif
|
||||
void defineScreens();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user