/[H6]/CommonStorage.cpp
ViewVC logotype

Contents of /CommonStorage.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (show annotations) (download)
Sun Sep 3 10:10:19 2006 UTC (17 years, 6 months ago) by torben
File size: 464 byte(s)
Added author/developer comments
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