Add advss namespace

Fixes name conflict with "Duration" class and typedef of the same name
on MacOS
This commit is contained in:
WarmUpTill
2023-04-12 16:16:03 +02:00
committed by WarmUpTill
parent b7479e8342
commit 2c5caabab0
266 changed files with 1142 additions and 92 deletions

View File

@@ -2,6 +2,8 @@
#include <curl/curl.h>
#include <QLibrary>
namespace advss {
typedef CURL *(*initFunction)(void);
typedef void (*cleanupFunction)(CURL *);
typedef CURLcode (*setOptFunction)(CURL *, CURLoption, ...);
@@ -42,3 +44,5 @@ inline CURLcode Curlhelper::SetOpt(CURLoption option, Args... args)
}
return _setopt(_curl, option, args...);
}
} // namespace advss