bug 230931 - nsFileStreams.h should not #include nsReadLine.h

this forward-declares nsLineBuffer in nsFileStreams.h instead, and turns a
typedef struct { ... } nsLineBuffer into struct nsLineBuffer { ... }
r=bzbarsky sr=darin
This commit is contained in:
cbiesinger%web.de 2004-01-28 00:22:55 +00:00
Родитель bc74f0b352
Коммит ee39004779
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -35,13 +35,13 @@
#define kLineBufferSize 1024
typedef struct {
struct nsLineBuffer {
char buf[kLineBufferSize+1];
char* start;
char* current;
char* end;
PRBool empty;
} nsLineBuffer;
};
static nsresult
NS_InitLineBuffer (nsLineBuffer ** aBufferPtr) {

Просмотреть файл

@ -45,10 +45,11 @@
#include "nsISeekableStream.h"
#include "nsILineInputStream.h"
#include "nsCOMPtr.h"
#include "nsReadLine.h"
#include "prlog.h"
#include "prio.h"
struct nsLineBuffer;
////////////////////////////////////////////////////////////////////////////////
class nsFileStream : public nsISeekableStream