Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Setting project description confusion

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



Back to the top