oprava #define direktiv

This commit is contained in:
2024-10-03 11:44:03 +02:00
parent a4e66ddaaf
commit 4dcd40aadf
64 changed files with 268 additions and 114 deletions

View File

@@ -1,8 +1,9 @@
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#ifndef SDCARD_H_
#define SDCARD_H_
#include "utils.h"
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#define CID_LENGTH 32
#define CSD_LENGTH 32

View File

@@ -0,0 +1,10 @@
#ifndef LICCONNECTOR_H_INCLUDED
#define LICCONNECTOR_H_INCLUDED
#include "lic_config.h"
//#include "../../_src/_main/Ez_automaincfg.h"
//#define EZ_APPLICATION_LICENCE_DISABLE
#endif // LICCONNECTOR_H_INCLUDED

View File

@@ -0,0 +1,7 @@
#ifndef LIC_CONFIG_H_INCLUDED
#define LIC_CONFIG_H_INCLUDED
//#define EZ_LIC_DEBUG //zapíná debug pro windows. Pro produkci je potřeba nechat zakomentované
//#define EZ_LIC_DEBUG_SHOW_DETAILS //zapíná detailní výpis při čtení licene. Pro produkci je potřeba nechat zakomentované
#endif

View File

@@ -1,10 +1,11 @@
#ifndef LICENCE_COMMON_H_
#define LICENCE_COMMON_H_
#include "licConnector.h"
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#define CRC = 1
#ifndef LICENCE_COMMON_H_
#define LICENCE_COMMON_H_
//---------------- společná hlavička pro všechny licence ----------------
#include <cstring>

View File

@@ -1,8 +1,9 @@
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#ifndef PLC_LICENCE1_COMMON_H
#define PLC_LICENCE1_COMMON_H
#include "utils.h"
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#include <vector>
#include "licenceCommon.h"
#include "SDCard.h"

View File

@@ -1,8 +1,9 @@
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#ifndef PLC_LICENCE2_COMMON_H
#define PLC_LICENCE2_COMMON_H
#include "utils.h"
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#include <vector>
#include "licenceCommon.h"
#include "SDCard.h"

View File

@@ -1,8 +1,9 @@
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#ifndef PLC_LICENCE3_COMMON_H
#define PLC_LICENCE3_COMMON_H
#include "utils.h"
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#define UID_LENGTH 32
#include <vector>

View File

@@ -1,8 +1,9 @@
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#ifndef UTILS_H_
#define UTILS_H_
#include "licConnector.h"
#ifndef EZ_APPLICATION_LICENCE_DISABLE
#include <iostream>
#include <fstream>
#include <unordered_map>