summaryrefslogtreecommitdiff
path: root/store/source/storcach.hxx
diff options
context:
space:
mode:
authorMatthias Huetsch <mhu@openoffice.org>2001-03-13 20:07:32 +0000
committerMatthias Huetsch <mhu@openoffice.org>2001-03-13 20:07:32 +0000
commitdf26b61ac2fed30f53f68e23613b5dc7a5677b58 (patch)
tree6349b627b5a3296b328379af2092f08d81b0dfb8 /store/source/storcach.hxx
parent245d8ffe1be6fe20d09c0cbf0d056088f5f1fc03 (diff)
Major revision. Removed usage of module 'vos'.
Diffstat (limited to 'store/source/storcach.hxx')
-rw-r--r--store/source/storcach.hxx38
1 files changed, 15 insertions, 23 deletions
diff --git a/store/source/storcach.hxx b/store/source/storcach.hxx
index b5d13003bb7e..3ec0baede713 100644
--- a/store/source/storcach.hxx
+++ b/store/source/storcach.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: storcach.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 15:18:32 $
+ * last change: $Author: mhu $ $Date: 2001-03-13 20:54:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -54,35 +54,28 @@
*
* All Rights Reserved.
*
- * Contributor(s): _______________________________________
+ * Contributor(s): Matthias Huetsch <matthias.huetsch@sun.com>
*
*
************************************************************************/
#ifndef _STORE_STORCACH_HXX
-#define _STORE_STORCACH_HXX "$Revision: 1.1.1.1 $"
+#define _STORE_STORCACH_HXX "$Revision: 1.2 $"
#ifndef _SAL_TYPES_H_
#include <sal/types.h>
#endif
-#ifndef _VOS_MACROS_HXX_
-#include <vos/macros.hxx>
-#endif
-#ifndef _VOS_MUTEX_HXX
-#include <vos/mutex.hxx>
+#ifndef _OSL_MUTEX_HXX_
+#include <osl/mutex.hxx>
#endif
#ifndef _STORE_TYPES_H_
#include <store/types.h>
#endif
-#ifndef _STORE_MACROS_HXX_
-#include <store/macros.hxx>
-#endif
-#ifdef _USE_NAMESPACE
-namespace store {
-#endif
+namespace store
+{
struct OStorePageDescriptor;
struct OStorePageData;
@@ -119,7 +112,7 @@ public:
const OStorePageDescriptor &rDescr,
OStorePageData &rData,
OStorePageBIOS &rBIOS,
- NAMESPACE_VOS(IMutex) *pMutex = NULL);
+ osl::Mutex *pMutex = NULL);
/** update.
*/
@@ -133,20 +126,20 @@ public:
const OStorePageDescriptor &rDescr,
const OStorePageData &rData,
OStorePageBIOS &rBIOS,
- NAMESPACE_VOS(IMutex) *pMutex = NULL,
+ osl::Mutex *pMutex = NULL,
UpdateMode eMode = UPDATE_WRITE_THROUGH);
/** invalidate.
*/
storeError invalidate (
const OStorePageDescriptor &rDescr,
- NAMESPACE_VOS(IMutex) *pMutex = NULL);
+ osl::Mutex *pMutex = NULL);
/** flush.
*/
storeError flush (
- OStorePageBIOS &rBIOS,
- NAMESPACE_VOS(IMutex) *pMutex = NULL);
+ OStorePageBIOS &rBIOS,
+ osl::Mutex *pMutex = NULL);
/** hitRatio [nHit / (nHit + nMissed)].
*/
@@ -223,9 +216,8 @@ inline double OStorePageCache::usageRatio (void) const
* The End.
*
*======================================================================*/
-#ifdef _USE_NAMESPACE
-}
-#endif
+
+} // namespace store
#endif /* !_STORE_STORCACH_HXX */