From 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:41 +0200 Subject: tagging tags --- ychat-0.5.2/s_tool.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ychat-0.5.2/s_tool.h (limited to 'ychat-0.5.2/s_tool.h') diff --git a/ychat-0.5.2/s_tool.h b/ychat-0.5.2/s_tool.h new file mode 100644 index 0000000..e08fb32 --- /dev/null +++ b/ychat-0.5.2/s_tool.h @@ -0,0 +1,20 @@ +#ifndef s_tool_H +#define s_tool_H + +#include "incl.h" + +using namespace std; + +class s_tool +{ +public: + static bool is_alpha_numeric( string &s_digit ); + static int string2int( string s_digit ); + static string int2string( int i_num ); + static string trim( string s_str ); + static long unixtime(); + static void strip_html( string *s_str); + static string getExtension( string s_file ); +}; + +#endif -- cgit v1.2.3