* Use BReferenceable instead of Referenceable. Didn't notice there was a

BReferenceable in the first place, thanks Ingo!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33880 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-11-04 15:17:05 +00:00
parent 4736b6b9e5
commit 56e4496947
4 changed files with 10 additions and 13 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2007, Haiku. All rights reserved.
* Copyright 2007-2009, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
@ -30,19 +30,17 @@
#include <new>
#include <agg_array.h>
#include <util/OpenHashTable.h>
#include <Autolock.h>
#include "utf8_functions.h"
#include <agg_array.h>
#include <utf8_functions.h>
#include <util/OpenHashTable.h>
#include "GlobalSubpixelSettings.h"
BLocker
FontCacheEntry::sUsageUpdateLock("FontCacheEntry usage lock");
BLocker FontCacheEntry::sUsageUpdateLock("FontCacheEntry usage lock");
class FontCacheEntry::GlyphCachePool {
public:
@ -131,7 +129,6 @@ private:
FontCacheEntry::FontCacheEntry()
:
MultiLocker("FontCacheEntry lock"),
Referenceable(),
fGlyphCache(new(std::nothrow) GlyphCachePool()),
fEngine(),
fLastUsedTime(LONGLONG_MIN),

View File

@ -1,5 +1,5 @@
/*
* Copyright 2007, Haiku. All rights reserved.
* Copyright 2007-2009, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
@ -77,7 +77,7 @@ struct GlyphCache {
class FontCache;
class FontCacheEntry : public MultiLocker, public Referenceable {
class FontCacheEntry : public MultiLocker, public BReferenceable {
public:
typedef FontEngine::PathAdapter GlyphPathAdapter;
typedef FontEngine::Gray8Adapter GlyphGray8Adapter;

View File

@ -31,7 +31,7 @@ class ServerApp;
managed by the BitmapManager class. It is also the base class for
all cursors. Every BBitmap has a shadow ServerBitmap object.
*/
class ServerBitmap : public Referenceable {
class ServerBitmap : public BReferenceable {
public:
inline bool IsValid() const
{ return fBuffer != NULL; }

View File

@ -28,7 +28,7 @@ namespace BPrivate {
class BList;
class ServerPicture : public Referenceable, public PictureDataWriter {
class ServerPicture : public BReferenceable, public PictureDataWriter {
public:
ServerPicture();
ServerPicture(const ServerPicture& other);