realbasic-plugins
[Top] [All Lists]

Re: [BUG?] Plugin Class Constructor not compiles in RB 2006/2007

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: [BUG?] Plugin Class Constructor not compiles in RB 2006/2007
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Fri, 30 Mar 2007 15:49:06 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <C23351A5 dot 6F046%sunshine at public dot kherson dot ua>
On Mar 30, 2007, at 4:45 PM, Ruslan Zasukhin wrote:

> Wow?!   :-(
>
> This is somehow not smart IMHO.
> Valentina have few hundreds of methods...

We understand, and we have quite a few ourselves. It was a large  
undertaking internally as well. However, when individual classes,  
such as FolderItem, have methods that return things only allowed in  
GUI applications (such as OpenAsPicture) this level of granularity is  
wonderful in its flexibility.

> What is the correct step to do this?
> Going to check again RB SDK examples and docs ...

REALmethodDefinition has a flags field, which should be set to  
REALconsoleSafe for console safe methods. If you know every method is  
console safe (be careful about Pictures), you could always make a  
loop to loop over all of the method arrays and set them.

HTH,
Jon


-- 
Jonathan Johnson
jonj at realsoftware dot com
REAL Software, Inc.

REAL World 2007 Conference
May 9 - 11 in Austin, Texas
<http://www.realsoftware.com/realworld>

_______________________________________________
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>