home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / display.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.8 KB  |  47 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /*  Stream Creation Methods
  20.  *  =======================
  21.  */
  22.  
  23. /* this is the main converter.
  24.  * it returns the stream object as well
  25.  * as a data object that it can reference 
  26.  * internally to save the state of the document
  27.  */
  28.  
  29. XP_BEGIN_PROTOS
  30.  
  31. extern NET_StreamClass* external_viewer_disk_stream(int          format_out,
  32.                                        void       *data_obj,
  33.                                        URL_Struct * URL_s,
  34.                                        MWContext  * context);
  35.  
  36. extern NET_StreamClass* view_source_disk_stream(int          format_out,
  37.                                        void       *data_obj,
  38.                                        URL_Struct * URL_s,
  39.                                        MWContext  * context);
  40.  
  41. extern NET_StreamClass* memory_stream(int        format_out,
  42.                                       void       *data_obj,
  43.                                       URL_Struct * URL_s,
  44.                                       MWContext  * context);
  45.  
  46. XP_END_PROTOS
  47.