From 7ead5b7a9ea99a3e0f1459187b3262f7054f0126 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 21 Nov 2010 16:18:08 +0000 Subject: --- s_html.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 s_html.h (limited to 's_html.h') diff --git a/s_html.h b/s_html.h new file mode 100644 index 0000000..af8297b --- /dev/null +++ b/s_html.h @@ -0,0 +1,26 @@ +#ifndef GHTM_H +#define GHTM_H + +#include "html.h" + +using namespace std; + +class s_html +{ +private: + static html* obj; + +public: + static void init() + { + obj = new html(); + } + + static html& get() + { + return *obj; + } +}; + + +#endif -- cgit v1.2.3