From 10a078da8f7129c73bc5a40040e6f762f1f5936f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 8 Oct 2008 19:46:43 +0000 Subject: Hey, more cachey goo! --- src/cache.cpp | 0 src/cache.h | 21 +++++++++++++++++++++ src/cachehandler.h | 1 + src/cptr.cpp | 0 src/cptr.h | 24 ++++++++++++++++++++++++ 5 files changed, 46 insertions(+) create mode 100644 src/cache.cpp create mode 100644 src/cache.h create mode 100644 src/cptr.cpp create mode 100644 src/cptr.h diff --git a/src/cache.cpp b/src/cache.cpp new file mode 100644 index 0000000..e69de29 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 @@ +#ifndef BU_CACHE_H +#define BU_CACHE_H + +namespace Bu +{ + template + class Cache + { + public: + Cache() + { + } + + virtual ~Cache() + { + } + + }; +}; + +#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 void forceLoad() { } + private: }; }; diff --git a/src/cptr.cpp b/src/cptr.cpp new file mode 100644 index 0000000..e69de29 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 @@ +#ifndef BU_C_PTR_H +#define BU_C_PTR_H + +#include "bu/cache.h" + +namespace Bu +{ + template + class CPtr + { + friend class Bu::Cache; + private: + CPtr( Cache &rCache, obtype &rData ) + { + } + + public: + virtual ~CPtr() + { + } + }; +}; + +#endif -- cgit v1.2.3