* 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:
@@ -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.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -30,19 +30,17 @@
|
|||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
#include <agg_array.h>
|
|
||||||
|
|
||||||
#include <util/OpenHashTable.h>
|
|
||||||
|
|
||||||
#include <Autolock.h>
|
#include <Autolock.h>
|
||||||
|
|
||||||
#include "utf8_functions.h"
|
#include <agg_array.h>
|
||||||
|
#include <utf8_functions.h>
|
||||||
|
#include <util/OpenHashTable.h>
|
||||||
|
|
||||||
#include "GlobalSubpixelSettings.h"
|
#include "GlobalSubpixelSettings.h"
|
||||||
|
|
||||||
|
|
||||||
BLocker
|
BLocker FontCacheEntry::sUsageUpdateLock("FontCacheEntry usage lock");
|
||||||
FontCacheEntry::sUsageUpdateLock("FontCacheEntry usage lock");
|
|
||||||
|
|
||||||
class FontCacheEntry::GlyphCachePool {
|
class FontCacheEntry::GlyphCachePool {
|
||||||
public:
|
public:
|
||||||
@@ -131,7 +129,6 @@ private:
|
|||||||
FontCacheEntry::FontCacheEntry()
|
FontCacheEntry::FontCacheEntry()
|
||||||
:
|
:
|
||||||
MultiLocker("FontCacheEntry lock"),
|
MultiLocker("FontCacheEntry lock"),
|
||||||
Referenceable(),
|
|
||||||
fGlyphCache(new(std::nothrow) GlyphCachePool()),
|
fGlyphCache(new(std::nothrow) GlyphCachePool()),
|
||||||
fEngine(),
|
fEngine(),
|
||||||
fLastUsedTime(LONGLONG_MIN),
|
fLastUsedTime(LONGLONG_MIN),
|
||||||
|
|||||||
@@ -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.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@@ -77,7 +77,7 @@ struct GlyphCache {
|
|||||||
|
|
||||||
class FontCache;
|
class FontCache;
|
||||||
|
|
||||||
class FontCacheEntry : public MultiLocker, public Referenceable {
|
class FontCacheEntry : public MultiLocker, public BReferenceable {
|
||||||
public:
|
public:
|
||||||
typedef FontEngine::PathAdapter GlyphPathAdapter;
|
typedef FontEngine::PathAdapter GlyphPathAdapter;
|
||||||
typedef FontEngine::Gray8Adapter GlyphGray8Adapter;
|
typedef FontEngine::Gray8Adapter GlyphGray8Adapter;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ class ServerApp;
|
|||||||
managed by the BitmapManager class. It is also the base class for
|
managed by the BitmapManager class. It is also the base class for
|
||||||
all cursors. Every BBitmap has a shadow ServerBitmap object.
|
all cursors. Every BBitmap has a shadow ServerBitmap object.
|
||||||
*/
|
*/
|
||||||
class ServerBitmap : public Referenceable {
|
class ServerBitmap : public BReferenceable {
|
||||||
public:
|
public:
|
||||||
inline bool IsValid() const
|
inline bool IsValid() const
|
||||||
{ return fBuffer != NULL; }
|
{ return fBuffer != NULL; }
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace BPrivate {
|
|||||||
class BList;
|
class BList;
|
||||||
|
|
||||||
|
|
||||||
class ServerPicture : public Referenceable, public PictureDataWriter {
|
class ServerPicture : public BReferenceable, public PictureDataWriter {
|
||||||
public:
|
public:
|
||||||
ServerPicture();
|
ServerPicture();
|
||||||
ServerPicture(const ServerPicture& other);
|
ServerPicture(const ServerPicture& other);
|
||||||
|
|||||||
Reference in New Issue
Block a user