home *** CD-ROM | disk | FTP | other *** search
- Path: ramses.fdn.org!rodrigo.reyes
- From: rodrigo.reyes@ramses.fdn.org (Rodrigo Reyes)
- Message-ID: <65019538@ramses.fdn.org>
- Newsgroups: comp.sys.amiga.programmer
- X-FTN-To: Hans-Joerg Frieden
- Subject: Re: Datatype write method?
- Date: 25 Jan 96 09:30:02 +0200
- Organization: RAMSES BBS (France:1-45845623/53791199/1200)
- X-GateSoftware: AmiGate 1.6a (22.12.95)
- Reply-To: rodrigo.reyes@ramses.fdn.org
-
- Hans-Joerg Frieden wrote in Ramses.AMIGA.PROGRAMMER about "Datatype write
- method?":
- HF> Amiga-Native format, e.g. : 8SVX and ILBM. : : No chance to make a
- HF> subclass (e.g. WAVE datatype) save its data in WAVE format, sigh.
- HF> Just a guess: Shouldn't it be possible to have a class overload it's
- HF> superclass' method so that it would save its own format?
-
- Yes, of course, there are two methods for DTM_WRITE:
-
- /* DATATYPES_DATATYPESCLASS_H */
- /* DTM_WRITE */
- struct dtWrite
- {
- ULONG MethodID;
-
- /* Save data as IFF data */
- #define DTWM_IFF 0
-
- /* Save data as local data format */
- #define DTWM_RAW 1
-
-
- That is.
-
-
- Rodrigo.
-
- [ rodrigo.reyes@ramses.fdn.org ]
-
- ------------------------
- Qu'importe le flacon tant qu'on a l'ivresse.
-