From 5a8a12d7a2c69610cd7a9a00ed1b3579b750a914 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 16 11月 2019 21:39:10 +0800
Subject: [PATCH] issue #42 #38 \n review build system, \n issue #38 added clang format

---
 src/library/base/StringUtils.h |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/src/library/base/StringUtils.h b/src/library/base/StringUtils.h
index 9bfe3f8..8134349 100644
--- a/src/library/base/StringUtils.h
+++ b/src/library/base/StringUtils.h
@@ -2,12 +2,14 @@
  * 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 +24,21 @@
 
 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& stringToBeSplit, const char splitchar);
+
+typedef enum {
+	INI, BASE64, UNKNOWN
+} FILE_FORMAT;
+
+FILE_FORMAT identify_format(const string& license);
+
+}
+
+/* namespace license */
 
 #endif /* STRINGUTILS_H_ */

--
Gitblit v1.9.1