OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkDisplayNumber_DEFINED | 10 #ifndef SkDisplayNumber_DEFINED |
11 #define SkDisplayNumber_DEFINED | 11 #define SkDisplayNumber_DEFINED |
12 | 12 |
13 #include "SkDisplayable.h" | 13 #include "SkDisplayable.h" |
14 #include "SkMemberInfo.h" | 14 #include "SkMemberInfo.h" |
15 | 15 |
16 class SkDisplayNumber : public SkDisplayable { | 16 class SkDisplayNumber : public SkDisplayable { |
17 DECLARE_DISPLAY_MEMBER_INFO(Number); | 17 DECLARE_DISPLAY_MEMBER_INFO(Number); |
18 virtual bool getProperty(int index, SkScriptValue* value) const SK_OVERRIDE; | 18 bool getProperty(int index, SkScriptValue* value) const SK_OVERRIDE; |
19 private: | 19 private: |
20 }; | 20 }; |
21 | 21 |
22 #endif // SkDisplayNumber_DEFINED | 22 #endif // SkDisplayNumber_DEFINED |
OLD | NEW |