Make EAP method StdAfx(_UI).h and RC files reusable

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
2020-01-09 13:53:52 +01:00
parent d3760d33ca
commit 08a67c561a
12 changed files with 26 additions and 21 deletions

View File

@@ -20,16 +20,11 @@
#include "StdAfx.h"
#pragma comment(lib, "Ws2_32.lib")
using namespace std;
using namespace winstd;
#pragma comment(lib, "Ws2_32.lib")
#if EAPMETHOD_TYPE==21
#define _EAPMETHOD_PEER eap::peer_ttls
#else
#error Unknown EAP Method type.
#endif
_EAPMETHOD_PEER g_peer;

View File

@@ -26,12 +26,6 @@ using namespace std;
using namespace winstd;
#if EAPMETHOD_TYPE==21
#define _EAPMETHOD_PEER_UI eap::peer_ttls_ui
#else
#error Unknown EAP Method type.
#endif
HANDLE g_act_ctx = NULL;
_EAPMETHOD_PEER_UI g_peer;

View File

@@ -20,5 +20,10 @@
#pragma once
#if EAPMETHOD_TYPE == 21
#include "../../lib/TTLS/include/Method.h"
#include "../../lib/TTLS/include/Module.h"
#define _EAPMETHOD_PEER eap::peer_ttls
#else
#error Unknown EAP Method type.
#endif

View File

@@ -20,4 +20,9 @@
#pragma once
#if EAPMETHOD_TYPE == 21
#include "../../lib/TTLS_UI/include/Module.h"
#define _EAPMETHOD_PEER_UI eap::peer_ttls_ui
#else
#error Unknown EAP Method type.
#endif