[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[cdt-dev] Setting project description confusion
|
- From: Vladimir Prus <vladimir@xxxxxxxxxxxxxxxx>
- Date: Wed, 16 Sep 2009 18:06:36 +0400
- Delivered-to: cdt-dev@eclipse.org
- Organization: CodeSourcery
- User-agent: KMail/1.11.90 (Linux/2.6.24-24-generic; KDE/4.2.90; i686; svn-979530; 2009-06-10)
Hi,
I am looking at SetCProjectDescriptionOperation.executeOperation()
and failing to understand why it is written this way. It basically
knows ICProjectDescription to set, and a project. However, instead
of setting that project description directly, it creates new
CProjectDescription, applies 'data' to it, and only then does:
fPrjDescStorage.setCurrentDescription(fNewDescriptionCache, true);
What is the reason for this additional CProjectDescription instance?
Thanks,
Volodya