aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cache.cpp0
-rw-r--r--src/cache.h21
-rw-r--r--src/cachehandler.h1
-rw-r--r--src/cptr.cpp0
-rw-r--r--src/cptr.h24
5 files changed, 46 insertions, 0 deletions
diff --git a/src/cache.cpp b/src/cache.cpp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/cache.cpp
diff --git a/src/cache.h b/src/cache.h
new file mode 100644
index 0000000..24ef652
--- /dev/null
+++ b/src/cache.h
@@ -0,0 +1,21 @@
1#ifndef BU_CACHE_H
2#define BU_CACHE_H
3
4namespace Bu
5{
6 template<class obtype>
7 class Cache
8 {
9 public:
10 Cache()
11 {
12 }
13
14 virtual ~Cache()
15 {
16 }
17
18 };
19};
20
21#endif
diff --git a/src/cachehandler.h b/src/cachehandler.h
index b741882..72fb2b2 100644
--- a/src/cachehandler.h
+++ b/src/cachehandler.h
@@ -18,6 +18,7 @@ namespace Bu
18 void forceLoad() 18 void forceLoad()
19 { 19 {
20 } 20 }
21
21 private: 22 private:
22 }; 23 };
23}; 24};
diff --git a/src/cptr.cpp b/src/cptr.cpp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/cptr.cpp
diff --git a/src/cptr.h b/src/cptr.h
new file mode 100644
index 0000000..1f8c43d
--- /dev/null
+++ b/src/cptr.h
@@ -0,0 +1,24 @@
1#ifndef BU_C_PTR_H
2#define BU_C_PTR_H
3
4#include "bu/cache.h"
5
6namespace Bu
7{
8 template<class obtype>
9 class CPtr
10 {
11 friend class Bu::Cache<obtype>;
12 private:
13 CPtr( Cache<obtype> &rCache, obtype &rData )
14 {
15 }
16
17 public:
18 virtual ~CPtr()
19 {
20 }
21 };
22};
23
24#endif