[nem-en] ManagerClass.Instance == pain!

Igor Tkachev it at rsdn.ru
Sun Nov 19 02:04:59 CET 2006


Hello Kamil,

Can we get a macro which will add 'Instance = this;' at the beginning
of every single public method/property of ManagerClass and its
children? I believe in this case this problem could be solved without
any user impact.




Saturday, November 18, 2006, 7:06:56 PM, you wrote:

>>
>> and pass it everywhere...
>>
>> It would break literally ALL existing code.
>>

> On the other hand we could introduce some more utility macros to
> simplify the transition. Like module from my example would become
> instance class marked with ManagerAccess macro and having Manager
> passes in its newly introduced constructor... Anyways I expect it
> could still be very irritating for users to face such big design / API
> change.

-- 
Best regards,
 Igor                            mailto:it at rsdn.ru





More information about the devel-en mailing list