OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 The Android Open Source Project | 3 * Copyright 2010 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 SkFlate_DEFINED | 10 #ifndef SkFlate_DEFINED |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 SkDeflateWStream(SkWStream*); | 59 SkDeflateWStream(SkWStream*); |
60 | 60 |
61 /** The destructor calls finalize(). */ | 61 /** The destructor calls finalize(). */ |
62 ~SkDeflateWStream(); | 62 ~SkDeflateWStream(); |
63 | 63 |
64 /** Write the end of the compressed stream. All subsequent calls to | 64 /** Write the end of the compressed stream. All subsequent calls to |
65 write() will fail. Subsequent calls to finalize() do nothing. */ | 65 write() will fail. Subsequent calls to finalize() do nothing. */ |
66 void finalize(); | 66 void finalize(); |
67 | 67 |
68 // The SkWStream interface: | 68 // The SkWStream interface: |
69 bool write(const void*, size_t) SK_OVERRIDE; | 69 bool write(const void*, size_t) override; |
70 size_t bytesWritten() const SK_OVERRIDE; | 70 size_t bytesWritten() const override; |
71 | 71 |
72 private: | 72 private: |
73 struct Impl; | 73 struct Impl; |
74 SkAutoTDelete<Impl> fImpl; | 74 SkAutoTDelete<Impl> fImpl; |
75 }; | 75 }; |
76 | 76 |
77 #endif // SK_NO_FLATE | 77 #endif // SK_NO_FLATE |
78 #endif // SkFlate_DEFINED | 78 #endif // SkFlate_DEFINED |
OLD | NEW |