moved credential definition in seperate file
This commit is contained in:
16
src/Credentials.cpp
Normal file
16
src/Credentials.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
//
|
||||
// Created by lukas on 11.02.20.
|
||||
//
|
||||
|
||||
#include <Credentials.h>
|
||||
|
||||
std::string Credentials::dynuapikey = "";
|
||||
std::string Credentials::domainid = ""; //id of the dynu domain
|
||||
std::string Credentials::domainname = "";
|
||||
|
||||
std::string Credentials::telegramApiKey = "";
|
||||
std::string Credentials::chatId = "";
|
||||
|
||||
bool Credentials::checkCredentialValidity() {
|
||||
return !(Credentials::dynuapikey.empty() || Credentials::domainid.empty() || Credentials::domainname.empty());
|
||||
}
|
Reference in New Issue
Block a user