Update readme.md
[openttd-joker.git] / lib / shared / include / layout / LEGlyphFilter.h
blob6dcfa7d27764a4699752d44a6294a99dcbb3952a
1 /*
3 * (C) Copyright IBM Corp. 1998-2011 - All Rights Reserved
5 */
7 #ifndef __LEGLYPHFILTER__H
8 #define __LEGLYPHFILTER__H
10 #include "LETypes.h"
12 U_NAMESPACE_BEGIN
14 #ifndef U_HIDE_INTERNAL_API
15 /**
16 * This is a helper class that is used to
17 * recognize a set of glyph indices.
19 * @internal
21 class LEGlyphFilter /* not : public UObject because this is an interface/mixin class */ {
22 public:
23 /**
24 * Destructor.
25 * @internal
27 virtual ~LEGlyphFilter();
29 /**
30 * This method is used to test a particular
31 * glyph index to see if it is in the set
32 * recognized by the filter.
34 * @param glyph - the glyph index to be tested
36 * @return TRUE if the glyph index is in the set.
38 * @internal
40 virtual le_bool accept(LEGlyphID glyph) const = 0;
42 #endif /* U_HIDE_INTERNAL_API */
44 U_NAMESPACE_END
45 #endif