Make EAP method StdAfx(_UI).h and RC files reusable
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user