Additional SK_API annotations needed for print preview on windows.

Review URL: http://codereview.appspot.com/4324042

git-svn-id: http://skia.googlecode.com/svn/trunk@1022 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
ctguil@chromium.org 2011-03-30 20:14:49 +00:00
parent 438aadd4a1
commit dfc5ffe478
3 changed files with 7 additions and 7 deletions

View File

@ -70,7 +70,7 @@ public:
size_t readPackedUInt(); size_t readPackedUInt();
}; };
class SkWStream : SkNoncopyable { class SK_API SkWStream : SkNoncopyable {
public: public:
virtual ~SkWStream(); virtual ~SkWStream();
@ -269,7 +269,7 @@ private:
size_t fBytesWritten; size_t fBytesWritten;
}; };
class SkDynamicMemoryWStream : public SkWStream { class SK_API SkDynamicMemoryWStream : public SkWStream {
public: public:
SkDynamicMemoryWStream(); SkDynamicMemoryWStream();
virtual ~SkDynamicMemoryWStream(); virtual ~SkDynamicMemoryWStream();

View File

@ -28,7 +28,7 @@
The PDF catalog manages object numbers and file offsets. It is used The PDF catalog manages object numbers and file offsets. It is used
to create the PDF cross reference table. to create the PDF cross reference table.
*/ */
class SkPDFCatalog { class SK_API SkPDFCatalog {
public: public:
/** Create a PDF catalog. /** Create a PDF catalog.
*/ */

View File

@ -34,20 +34,20 @@ class SkPDFDocument {
public: public:
/** Create a PDF document. /** Create a PDF document.
*/ */
SkPDFDocument(); SK_API SkPDFDocument();
~SkPDFDocument(); SK_API ~SkPDFDocument();
/** Output the PDF to the passed stream. /** Output the PDF to the passed stream.
* @param stream The writable output stream to send the PDF to. * @param stream The writable output stream to send the PDF to.
*/ */
bool emitPDF(SkWStream* stream); SK_API bool emitPDF(SkWStream* stream);
/** Append the passed pdf device to the document as a new page. Returns /** Append the passed pdf device to the document as a new page. Returns
* true if successful. Will fail if the document has already been emitted. * true if successful. Will fail if the document has already been emitted.
* *
* @param pdfDevice The page to add to this document. * @param pdfDevice The page to add to this document.
*/ */
bool appendPage(const SkRefPtr<SkPDFDevice>& pdfDevice); SK_API bool appendPage(const SkRefPtr<SkPDFDevice>& pdfDevice);
private: private:
SkPDFCatalog fCatalog; SkPDFCatalog fCatalog;