From 8bbef2865455754425a84b86680a89bff8aa7691 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 19 10月 2019 08:50:45 +0800 Subject: [PATCH] issue #64 , issue #56 (part) --- src/library/api/license++.h | 19 +++---------------- 1 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/library/api/license++.h b/src/library/api/license++.h index 185a3f3..ef1fbb6 100644 --- a/src/library/api/license++.h +++ b/src/library/api/license++.h @@ -3,22 +3,9 @@ /* * This include file is the public api di License++ - * You should include this file if your software don't plan to use - * the part of the library dealing with features. - * Otherwise licensepp-features.h should be included. - */ +*/ #ifdef __cplusplus extern "C" { -#endif - -#ifdef __unix__ -#define DllExport -#ifndef MAX_PATH - #define MAX_PATH 1024 -#endif -#else -#include <windows.h> -#define DllExport __declspec( dllexport ) #endif #include "datatypes.h" @@ -53,7 +40,7 @@ */ EVENT_TYPE acquire_license(const char * productName, - LicenseLocation licenseLocation, LicenseInfo* license); + const LicenseLocation* licenseLocation, LicenseInfo* license); /** * Do nothing for now, useful for network licenses. @@ -61,7 +48,7 @@ * license. */ EVENT_TYPE confirm_license(char * featureName, - LicenseLocation licenseLocation); + LicenseLocation* licenseLocation); /** * Do nothing for now, useful for network licenses. */ -- Gitblit v1.9.1