/[H8]/trunk/h8server/CommonStorage.cpp
ViewVC logotype

Contents of /trunk/h8server/CommonStorage.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 87 - (show annotations) (download)
Tue May 8 08:51:55 2007 UTC (17 years ago) by kevin
File size: 464 byte(s)
added h8server visual studio project - with files this time :P
1 /*
2 * Developed by Torben H. Nielsen
3 */
4
5 #include "StdAfx.h"
6 #include ".\commonstorage.h"
7
8
9 //CommonStorage* CommonStorage::pinstance = 0;
10
11
12
13 CommonStorage::CommonStorage(void)
14 {
15 dbl = 0;
16 }
17
18 CommonStorage::~CommonStorage(void)
19 {
20 delete dbl;
21 }
22
23
24 CommonStorage* CommonStorage::Instance()
25 {
26 static CommonStorage common;
27 return &common;
28 /*
29 if (pinstance == 0)
30 {
31 pinstance = new CommonStorage;
32 }
33 return pinstance;
34 */
35 }
36

  ViewVC Help
Powered by ViewVC 1.1.20