RE: Re: IBugTraqProvider2: repository root
From: Thomas S. Trias <tomtrias_at_artizan.com>
Date: Thu, 6 Aug 2009 09:16:07 -0700 (PDT)
On 2009-08-06 01:06:59 PDT, Stefan wrote:
In a nutshell, yes; using COM event classes (which are just specialized IDispatch implementations), there is already a nice mechanism for subscribing to certain events (like a change in a list view or list view item). Essentially, the methods in the new plug-in interface (if it is so general, does naming it IBugtraqProviderXXX still make sense?) would pass in a call-back object that is the event source and that has useful methods and properties for gathering and setting information related to the commit; updating information via the call-back avoids issues where the state in the commit window drifts from the state manipulated by the plug-in. Passing in a call-back object would also limit the amount of information that would need to be passed to methods in the new interface, since the information could be gathered easily from the call-back object itself. However, in order to keep things simple for developers who do not need the event-driven model, there should still be methods in the plug-in interface for > >
Definitely. I have another project calling my name today and tomorrow, and I am traveling Monday, but I can revisit this early next week. Given a flexible plug-in architecture, it is quite possible that TSVN can focus more on keeping up-to-date with SVN and improving existing features, and less on providing limited use behavior. :-)
Thomas S. Trias
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.