Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsFileStream.h File Reference
#include "xpcomobsolete.h"
#include "nsStringFwd.h"
#include "prio.h"
#include "nsCOMPtr.h"
#include "nsIFileStream.h"

Go to the source code of this file.

Classes

protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
protocol  NS_COM_OBSOLETE
class  nsIOFileStream

Defines

#define NS_NAMESPACE_PROTOTYPE   static
#define NS_NAMESPACE   struct
#define NS_NAMESPACE_END   ;
#define NS_USE_PR_STDIO
#define CONSOLE_IN   0
#define CONSOLE_OUT   0

Typedefs

typedef nsInputStream nsBasicInStream
typedef nsOutputStream nsBasicOutStream

Functions

NS_COM_OBSOLETE nsOutputStream & nsEndl (nsOutputStream &os)

Define Documentation

#define CONSOLE_IN   0

Definition at line 159 of file nsFileStream.h.

Definition at line 160 of file nsFileStream.h.

#define NS_NAMESPACE   struct

Definition at line 134 of file nsFileStream.h.

Definition at line 135 of file nsFileStream.h.

Definition at line 133 of file nsFileStream.h.

Definition at line 153 of file nsFileStream.h.


Typedef Documentation

typedef nsInputStream nsBasicInStream

Definition at line 238 of file nsFileStream.h.

typedef nsOutputStream nsBasicOutStream

Definition at line 301 of file nsFileStream.h.


Function Documentation

NS_COM_OBSOLETE nsOutputStream& nsEndl ( nsOutputStream &  os)

Definition at line 382 of file nsFileStream.cpp.

{
#if defined(XP_WIN) || defined(XP_OS2)
    os.write("\r\n", 2);
#elif defined (XP_MAC)
    os.put('\r');
#else
    os.put('\n');
#endif
    //os.flush();
    return os;
} // nsEndl

Here is the caller graph for this function: