From mint-bounce@lists.fishpool.fi Thu Dec 8 12:19:29 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Subject: [MiNT] New appl_getinfo mode From: Odd Skancke To: MiNT List Content-Type: text/plain Date: Thu, 08 Dec 2005 12:14:36 +0100 Message-Id: <1134040476.29437.16.camel@linuxbox> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: ozk@atari.org Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=1.1 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00, RCVD_IN_SORBS X-Spam-Level: * Hi all, As I have implemented a few calls specific to MagiC 5.10, I think we need a way for apps to check for such things. Therefore I have implemented a new appl_getinfo() mode called AES_FUNCTIONS(98), which returns a bitmask of available AES functions; appl_getinfo(AES_FUNCTIONS, out1, out2, out3, out4); This will return a 4 16-bit bitmasks indicating the availability of AES system calls. Currently defined and usable is; /* ------------- newstuff start ---------- */ #define AES_FUNCTIONS 98 /* AGI_WFORM - bit 0 of ap_gout1 indicates that the following * MagiC 5.10 introduced calls are available * * objc_wdraw() * objc_wchange() * objc_wedit() * objc_xfind() * graf_wwatchbox() * form_wbutton() * form_wkeybd() */ #define AGI_WFORM 1 /* -------------- newstuff end ----------- */ In addition I have in the pipeline AGI_AOPTS (bit 1) which indicates the presence of appl_options() and AGI_OBJCDATA (bit 2) which indicates the presence of objc_data(). Those is not definate yet, so I think it can be ruled out for now. appl_options() - Real-time configuration of applications - nothing done yet. objc_data() - Applications should use objc_data() to get/put data into object trees ... only on the planning stage yet. Altho already in the AES handler at AES functions #66 (PLEASE SHOUT IF THIS IS NOT FREE!) it is not usable. Best Regards, Odd Skancke