blackberry.com
BlackBerry Dynamics
Runtime library for macOS applications
from the application developer portal

GDCWriteStream.h

Go to the documentation of this file.
00001 /*
00002  * (c) 2017 BlackBerry Limited. All rights reserved.
00003  */
00004 
00005 #pragma once
00006 
00007 #import <Foundation/Foundation.h>
00008 
00034 @interface GDCWriteStream : NSOutputStream <NSStreamDelegate> {
00035     @private
00036     void* m_internalWriter;
00037     int m_streamError;
00038     NSStreamStatus m_streamStatus;
00039     id <NSStreamDelegate> m_delegate;
00040 }
00041 
00067 - (instancetype)initWithFile:(NSString*)filePath append:(BOOL) shouldAppend error:(NSError**)error;
00068 
00075 - (instancetype)initWithFile:(NSString*)filePath append:(BOOL) shouldAppend;
00076 
00083 - (NSError*) streamError;
00084 
00085 @end