home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Amiga Shareware Floppies
/
ma69.dms
/
ma69.adf
/
Surveymem3.07
/
Docs
/
Programmers
/
Surveymem.i
< prev
Wrap
Text File
|
1995-08-05
|
2KB
|
83 lines
IFND MISC_SURVEYMEM_I
MISC_SURVEYMEM_I SET 1
;**
;** $Filename: misc/surveymem.i $
;** $Release: 3.0 $
;** $Revision: 1.0 $
;**
;**
;** (C) Copyright 1995 Alexis NASR
;** All Rights Reserved
;**
IFND EXEC_PORTS_I
INCLUDE "exec/ports.i"
ENDC
IFND EXEC_TYPES_I
INCLUDE "exec/types.i"
ENDC
IFND UTILITY_TAGITEM_I
INCLUDE "utility/tagitem.i"
ENDC
;************************** Public data ********************************
;version 1 (SM v3.0)
;Most of these structs are useless for you.The only thing you can take
;advantage of are the message structure & the SM_Mark tag.
;that's why I release this include.. (No??really??)waaaah so clever *;-)
SM_TagBase EQU TAG_USER+"SM"
ENUM SM_TagBase ; TagBase
;In the prefsfile or in memory,the arrangement is exactly the same.
;Chains->Mainprog
EITEM SM_MainPop
EITEM SM_PrefsPop
EITEM SM_Flushpop
EITEM SM_Frontpop
EITEM SM_Pubscreen
EITEM SM_Fontname
EITEM SM_Prefspath ;yes!we MUST know where the prefsprog is
;recognition tags in the prefsfile/prefs
EITEM SM_PREFSTAG ;prefs struct follows
EITEM SM_END
;tags used for communication
EITEM SM_SendStruct ;Classic,data=pointer to the prefs struct
EITEM SM_AskStruct ;Ask the other to send back a pointer to
;the prefsstruct (SM_SendStruct :-)
;tags addition....
EITEM SM_Markpop ;Thanx to Blackbird for this (GOOD) idea
EITEM SM_Mark ;see SMMF_ values
EITEM SM_Die ;(THIS MESSAGE NEEDN'T A REPLY)
;Surveymem message,used for communication between mainprog/prefsprog
;very little message,eh? (don't forget to reply when all done *:)
RSRESET
SMm: rs.b MN_SIZE
SMm_code: rs.l 1 ;tag or code
SMm_Data rs.l 1 ;pointer on data
SMm_ext: rs.l 1 ;additional pointer for extension (?)
SMm_SIZEOF: rs.w 0
;Mark state flags
;-----------------
SMMF_Off = 0
SMMF_On = 1
SMMF_Freeze = 2
ENDC ;MISC_SURVEYMEM_I