OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
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 SkIStream_DEFINED | 10 #ifndef SkIStream_DEFINED |
11 #define SkIStream_DEFINED | 11 #define SkIStream_DEFINED |
12 | 12 |
13 #define WIN32_LEAN_AND_MEAN | 13 #define WIN32_LEAN_AND_MEAN |
14 #include <Windows.h> | 14 #include <windows.h> |
15 #include <ole2.h> | 15 #include <ole2.h> |
16 | 16 |
17 class SkStream; | 17 class SkStream; |
18 class SkWStream; | 18 class SkWStream; |
19 | 19 |
20 /** | 20 /** |
21 * A bare IStream implementation which properly reference counts | 21 * A bare IStream implementation which properly reference counts |
22 * but returns E_NOTIMPL for all ISequentialStream and IStream methods. | 22 * but returns E_NOTIMPL for all ISequentialStream and IStream methods. |
23 */ | 23 */ |
24 class SkBaseIStream : public IStream { | 24 class SkBaseIStream : public IStream { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 , ULONG cb | 122 , ULONG cb |
123 , ULONG* pcbWritten); | 123 , ULONG* pcbWritten); |
124 | 124 |
125 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD); | 125 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD); |
126 | 126 |
127 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg | 127 virtual HRESULT STDMETHODCALLTYPE Stat(STATSTG* pStatstg |
128 , DWORD grfStatFlag); | 128 , DWORD grfStatFlag); |
129 }; | 129 }; |
130 | 130 |
131 #endif | 131 #endif |
OLD | NEW |