home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 1.6 KB | 92 lines | [TEXT/MPS ] |
- //
- //
- // File: SLFileAc.idl
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //
-
- #ifndef SLFILEAC_IDL
- #define SLFILEAC_IDL
-
- #ifndef FWENVDEF_IDL
- #include "FWEnvDef.idl"
- #endif
-
- #ifndef SLRANSIN_IDL
- #include "SLRanSin.idl"
- #endif
-
- #ifndef SLFILREP_IDL
- #include "SLFilRep.idl"
- #endif
-
- #include <somobj.idl>
- #include <somcls.idl>
-
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface FW_OFileSink;
-
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface FW_ORandomAccessSink;
- interface FW_OFile;
-
-
- //========================================================================================
- // FW_OMemorySink
- //========================================================================================
-
- interface FW_OFileSink : FW_ORandomAccessSink
- {
- void InitFromOFile(in FW_OFile theFile);
-
- FW_OFile GetOFileRep();
-
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = "FW_OFileSink__";
-
- override:
- somInit,
- somUninit,
-
- Read,
- GetWritableBytes,
- Write,
- GetLength,
- SetLength,
- GetPosition,
- SetPosition;
-
- releaseorder:
- InitFromOFile,
- GetOFileRep;
-
- majorversion = 1;
- minorversion = 0;
-
- passthru C_xh =
- "";
-
- passthru C_xih =
- "";
-
- #ifdef __PRIVATE__
- FW_OFile fRep;
- #endif
- };
- #endif
- };
-
- #endif
-