/[H6]/CommonStorage.cpp
ViewVC logotype

Annotation of /CommonStorage.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (hide annotations) (download)
Sun Sep 3 10:10:19 2006 UTC (17 years, 7 months ago) by torben
File size: 464 byte(s)
Added author/developer comments
1 torben 31 /*
2     * Developed by Torben H. Nielsen
3     */
4    
5 torben 6 #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 torben 9 CommonStorage::~CommonStorage(void)
19     {
20     delete dbl;
21     }
22 torben 6
23 torben 9
24 torben 6 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