From 7b1a88ee373fdb44ab269daf84958f6bc66705e4 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周日, 13 10月 2019 20:02:13 +0800 Subject: [PATCH] test Linux --- src/library/base/StringUtils.h | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/library/base/StringUtils.h b/src/library/base/StringUtils.h index 9bfe3f8..a52376d 100644 --- a/src/library/base/StringUtils.h +++ b/src/library/base/StringUtils.h @@ -2,12 +2,13 @@ * StringUtils.h * * Created on: Apr 8, 2014 - * Author: devel + * */ #ifndef STRINGUTILS_H_ #define STRINGUTILS_H_ #include <string> +#include <vector> namespace license { using namespace std; @@ -22,6 +23,14 @@ string toupper_copy(const string& lowercase); -} /* namespace license */ +time_t seconds_from_epoch(const char* s); + +/** + * Split a string on a given character + */ +const vector<string> split_string(const string& licensePositions, const char splitchar); +} + +/* namespace license */ #endif /* STRINGUTILS_H_ */ -- Gitblit v1.9.1