| 1 | /* | 
|---|---|
| 2 | * Copyright 2015 Google Inc. | 
| 3 | * | 
| 4 | * Use of this source code is governed by a BSD-style license that can be | 
| 5 | * found in the LICENSE file. | 
| 6 | */ | 
| 7 | |
| 8 | #ifndef SkNextID_DEFINED | 
| 9 | #define SkNextID_DEFINED | 
| 10 | |
| 11 | #include "include/core/SkTypes.h" | 
| 12 | |
| 13 | class SkNextID { | 
| 14 | public: | 
| 15 | /** | 
| 16 | * Shared between SkPixelRef's generationID and SkImage's uniqueID | 
| 17 | */ | 
| 18 | static uint32_t ImageID(); | 
| 19 | }; | 
| 20 | |
| 21 | #endif | 
| 22 | 
