23 #ifndef sbFileObjectStreams_h_
24 #define sbFileObjectStreams_h_
28 #include <nsIFileStreams.h>
29 #include <nsIBufferedStreams.h>
30 #include <nsIObjectOutputStream.h>
31 #include <nsIObjectInputStream.h>
50 NS_IMETHOD
Close() = 0;
57 #define SB_DECL_SBFILEOBJECTSTREAM \
58 NS_IMETHOD InitWithFile(nsIFile *aStreamedFile); \
90 nsCOMPtr<nsIFileOutputStream> mFileOutputStream;
91 nsCOMPtr<nsIObjectOutputStream> mObjectOutputStream;
118 nsresult
ReadBytes(PRUint32 aLength,
char **aString);
121 nsCOMPtr<nsIFileInputStream> mFileInputStream;
122 nsCOMPtr<nsIBufferedInputStream> mBufferedInputStream;
123 nsCOMPtr<nsIObjectInputStream> mObjectInputStream;
124 PRBool mBufferedStreamIsActive;
127 #endif // sbFileObjectStreams_h_
NS_IMETHOD InitWithFile(nsIFile *aStreamedFile)=0
nsresult WriteObject(nsISupports *aSupports, PRBool aIsStrongRef)
sbFileObjectOutputStream()
nsresult WriteString(const nsAString &aString)
virtual ~sbFileObjectStream()
nsresult WriteUint32(PRUint32 aOutInt)
nsresult WriteCString(const nsACString &aString)
virtual ~sbFileObjectOutputStream()
#define SB_DECL_SBFILEOBJECTSTREAM
PRBool mFileStreamIsActive
nsresult WriteBytes(const char *aData, PRUint32 aLength)
PRBool mObjectStreamIsActive
_updateTextAndScrollDataForFrame aData
nsresult WritePRBool(PRBool aBoolean)