realbasic-plugins
[Top] [All Lists]

module extending class in plugin

To: REALbasic Plugins <realbasic-plugins@lists.realsoftware.com>
Subject: module extending class in plugin
From: Bob Delaney <delaneyrm@earthlink.net>
Date: Tue, 24 Feb 2009 02:06:43 -0600
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-plugins-bounces@lists.realsoftware.com) smtp.mail=realbasic-plugins-bounces@lists.realsoftware.com; domainkeys=hardfail (test mode) header.From=delaneyrm@earthlink.net
Delivered-to: listarchive@realsoftware.com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=mm3Fi2O+koU2nWgFxOjePBelsGqCKgI/kY4gTnC9Gpo1eCNdzbvBb2VIvNxspyXx; h=Received:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:X-Mailer:X-ELNK-Trace:X-Originating-IP;
Domainkey-status: bad (test mode)
Reply-to: REALbasic Plugins <realbasic-plugins@lists.realsoftware.com>
Sender: realbasic-plugins-bounces@lists.realsoftware.com
In my Extended Plugin I have two classes which define the multi- precision types ExtInteger and ExtFloat. I also use REALRegisterMethod to add additional functions like the sine of an ExtFloat, x, so one can use sin(x) rather than x.sin. But I understand that REALRegisterMethod is deprecated, and so may be phased out. Instead I should use REALRegisterModule. But how do I define a module in my plugin which recognizes the two classes mentioned previously, so one can compute the sine of an ExtFloat x as sin(x) in a REALbasic application which uses my plugin?

Bob


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • module extending class in plugin, Bob Delaney <=