/******************************************************************************
* Icinga 2 *
- * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/) *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://icinga.com/) *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
// returns a printable string of the threshold
std::wstring pString(const double max = 100.0);
+ threshold toSeconds(const Tunit& fromUnit);
};
std::wstring removeZero(double);
std::wstring TunitStr(const Tunit&);
void printErrorInfo(unsigned long err = 0);
+std::wstring formatErrorInfo(unsigned long err);
+
+std::wstring stateToString(const state&);
#endif /* THRESHOLDS_H */