OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkFontConfigInterface_DEFINED | 8 #ifndef SkFontConfigInterface_DEFINED |
9 #define SkFontConfigInterface_DEFINED | 9 #define SkFontConfigInterface_DEFINED |
10 | 10 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 * Return a singleton instance of a direct subclass that calls into | 98 * Return a singleton instance of a direct subclass that calls into |
99 * libfontconfig. This does not affect the refcnt of the returned instance. | 99 * libfontconfig. This does not affect the refcnt of the returned instance. |
100 * The mutex may be used to guarantee the singleton is only constructed onc
e. | 100 * The mutex may be used to guarantee the singleton is only constructed onc
e. |
101 */ | 101 */ |
102 static SkFontConfigInterface* GetSingletonDirectInterface | 102 static SkFontConfigInterface* GetSingletonDirectInterface |
103 (SkBaseMutex* mutex = NULL); | 103 (SkBaseMutex* mutex = NULL); |
104 | 104 |
105 // New APIS, which have default impls for now (which do nothing) | 105 // New APIS, which have default impls for now (which do nothing) |
106 | 106 |
107 virtual SkDataTable* getFamilyNames() { return SkDataTable::NewEmpty(); } | 107 virtual SkDataTable* getFamilyNames() { return SkDataTable::NewEmpty(); } |
108 virtual bool matchFamilySet(const char inFamilyName[], | 108 virtual bool matchFamilySet(const char[] /*inFamilyName*/, |
109 SkString* outFamilyName, | 109 SkString* /*outFamilyName*/, |
110 SkTArray<FontIdentity>*) { | 110 SkTArray<FontIdentity>*) { |
111 return false; | 111 return false; |
112 } | 112 } |
113 typedef SkRefCnt INHERITED; | 113 typedef SkRefCnt INHERITED; |
114 }; | 114 }; |
115 | 115 |
116 #endif | 116 #endif |
OLD | NEW |