Getting the current active project
Andras Mantia
amantia at kde.org
Tue Apr 3 11:35:58 UTC 2007
On Tuesday 03 April 2007, Andreas Pakulat wrote:
> Well, I think it might happen quite often, so I'm currently thinking
> about doing a stat on the config file and see wether the modification
> time is newer than the "stored" one. I guess a stat is faster than a
> reparse and modification time should be sufficient here.
Yes, but think about the possibility that the time on the remote server
is different from the local one.
> Well, we won't catch modifications that are done via something other
> than the configuration dialog (I think). So if we allow to modify the
> project config from plugins then we need to do this as then we should
> do the remote-synch only on project open/close and eventually on the
> configuration-dialog-Ok/Apply.
Exactly, what I was saying the first time. :) But in this case the
recovery could be a good thing to have.
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070403/c82b6a64/attachment.sig>
More information about the KDevelop-devel
mailing list