project tree watcher interface plan

Andreas Pakulat apaku at gmx.de
Mon Jun 4 15:23:34 UTC 2007


On 04.06.07 10:43:46, dukju ahn wrote:
> Apart from the general wrapper around QFileSystemWatcher, what
> I want to discuss here is specific project tree watcher which
> targets project managers.
> 
> Although we can use the general wrapper discussed, I think that
> using general wrapper for project managers is duplication of memory
> usages. The key to project manager tree watcher is that it should stores
> Project**Items for each watched path. And it can compare difference
> using that project**items.
> 
> So my plan is that the "general" wrapper around QFSWachter will not
> be used for projecttreewatcher.
> 
> Also, rather than emitting signal, my plan is that we have base class
> named "projecttreewatcher", and provides virtual interfaces, because
> we can provide some default implementations.

Using signals doesn't mean we can't have default implementations. But
see below

> Especially,
> directoryCreated() and deleted() implementation would be common
> among the project managers, since makefile parsing event will be
> taken place in fileCreated() deleted() modified() method..
> 
> Any objection?. I expect as before.

It would be easier to discuss this if you can present some patches. 

Andreas

-- 
Just because the message may never be received does not mean it is
not worth sending.




More information about the KDevelop-devel mailing list