27 #ifndef __QT_ATOM_READER_H__
28 #define __QT_ATOM_READER_H__
54 #include <nsIInputStream.h>
56 #include <nsIFileStreams.h>
57 #include <nsISeekableStream.h>
58 #include <nsStringGlue.h>
86 nsresult
Open(nsIFile* aFile);
100 PRUint64* aStartOffset,
101 PRUint64* aEndOffset);
120 nsCOMPtr<nsIFile> mFile;
121 nsCOMPtr<nsIFileInputStream> mFileInputStream;
122 nsCOMPtr<nsISeekableStream> mSeekableStream;
123 nsCOMPtr<nsIInputStream> mInputStream;
124 PRUint32 mAtomHdrSize;
126 nsresult AtomGet(PRUint32 aAtomType,
128 PRUint64* aStartOffset,
129 PRUint64* aEndOffset);
143 { mValue->
Close();
delete mValue; },
Songbird iPod Device Utility Definitions.
nsresult GetFairPlayAccountName(nsAString &aAccountName)
SB_AUTO_CLASS(sbAutoQTAtomReader, QTAtomReader *, mValue,{mValue->Close();delete mValue;}, mValue=nsnull)
nsresult GetFairPlayUserName(nsAString &aUserName)
nsresult Open(nsIFile *aFile)
nsresult GetIEKInfoUserIDs(nsTArray< PRUint32 > &aUserIDList)
nsresult AtomPathGet(const char *aAtomPath, void *aAtom, PRUint64 *aStartOffset, PRUint64 *aEndOffset)
nsresult GetFairPlayUserID(PRUint32 *aUserID)