Hi all,

I'm approaching for the first time the plugin SDK, so sorry in advance if this is a naive question.

Is there a way to create a class with a private (or not exposed) constructor? I was able to create a skeleton for my plugin which provide a class with a couple of shared methods. These methods should return an instance of the class or nil depending on the provided arguments. Thus I need to avoid the RB user to instantiate the class using the New operator.

Thanks for help,

Massimo Valle



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

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

Reply via email to