add flag handling and header guards
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#include <curl/curl.h>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <string>
|
||||
// header guard
|
||||
#ifndef _ba_ne_hg_
|
||||
#define _ba_ne_hg_
|
||||
|
||||
using nlohmann::json;
|
||||
|
||||
@@ -9,4 +12,5 @@ namespace bakaapi {
|
||||
void login(std::string username, std::string password);
|
||||
void refresh_access_token();
|
||||
json get_data_from_endpoint(std::string endpoint);
|
||||
} // namespace bakaapi
|
||||
} // namespace bakaapi
|
||||
#endif
|
||||
Reference in New Issue
Block a user