Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(886)

Side by Side Diff: include/core/SkStream.h

Issue 27044002: Clean up SkTypes.h. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: For patch -p1. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/core/SkPreConfig.h ('k') | include/core/SkTypes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 SkStream_DEFINED 8 #ifndef SkStream_DEFINED
9 #define SkStream_DEFINED 9 #define SkStream_DEFINED
10 10
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 * Note that the encoding method used to write the SkData object 231 * Note that the encoding method used to write the SkData object
232 * to the stream may change over time. This method DOES NOT 232 * to the stream may change over time. This method DOES NOT
233 * just write the raw content of the SkData object to the stream. 233 * just write the raw content of the SkData object to the stream.
234 */ 234 */
235 bool writeData(const SkData*); 235 bool writeData(const SkData*);
236 }; 236 };
237 237
238 //////////////////////////////////////////////////////////////////////////////// //////// 238 //////////////////////////////////////////////////////////////////////////////// ////////
239 239
240 #include "SkString.h" 240 #include "SkString.h"
241 #include <stdio.h>
241 242
242 struct SkFILE; 243 struct SkFILE;
243 244
244 /** A stream that wraps a C FILE* file stream. */ 245 /** A stream that wraps a C FILE* file stream. */
245 class SK_API SkFILEStream : public SkStreamAsset { 246 class SK_API SkFILEStream : public SkStreamAsset {
246 public: 247 public:
247 SK_DECLARE_INST_COUNT(SkFILEStream) 248 SK_DECLARE_INST_COUNT(SkFILEStream)
248 249
249 /** Initialize the stream by calling sk_fopen on the specified path. 250 /** Initialize the stream by calling sk_fopen on the specified path.
250 * This internal stream will be closed in the destructor. 251 * This internal stream will be closed in the destructor.
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 virtual void newline() SK_OVERRIDE; 461 virtual void newline() SK_OVERRIDE;
461 462
462 private: 463 private:
463 typedef SkWStream INHERITED; 464 typedef SkWStream INHERITED;
464 }; 465 };
465 466
466 // for now 467 // for now
467 typedef SkFILEStream SkURLStream; 468 typedef SkFILEStream SkURLStream;
468 469
469 #endif 470 #endif
OLDNEW
« no previous file with comments | « include/core/SkPreConfig.h ('k') | include/core/SkTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698