realbasic-plugins
[Top] [All Lists]

Re: hidden classes

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: hidden classes
From: Alfred Van Hoek <vanhoek at mac dot com>
Date: Tue, 28 Jun 2005 23:56:54 -0400
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <2248B8B7-6B72-416B-939B-E630C7E1C48E at haranbanjo dot com>

On Jun 28, 2005, at 6:06 PM, Will Leshner wrote:

Is it possible to register a class that doesn't get exposed to the outside world? I'd like to create a subclass of an existing class to use in my plugin, but I don't want users of my plugin to see that class.

Which means you will implement and use this subclass within the plugin, I guess. This boils down to that it would be pointless to define REALmethodDefinitions or REALproperties of the subclass and pointless to register the subclass as well. Don't know why and what you want to accomplish but it sounds like you require to use the dynamic access api's on the existing class and create a C/C++ wrapper class you then can use within the plugin. I've done it.

Alfred

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>