Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

New event - cbEVT_EDITOR_SAVE_ALL

<< < (2/2)

MortenMacFly:

--- Quote from: oBFusCATed on February 17, 2010, 12:26:12 pm ---inside of project->SaveAllFiles()

--- End quote ---
This one. :-)

oBFusCATed:
OK, I've done it.
And now I need to know how to save all wxs files in a project.
I've written this:


--- Code: ---bool wxsProject::SaveResources()
{
    for (size_t ii = 0; ii < m_Resources.GetCount(); ++ii)
    {
        wxsResource* Resource = m_Resources[ii];
        Resource->
    }
    return false;
}

--- End code ---

And I don't know what to type after "->". I've found that the wxs' data is stored in wxsItemResData objects, but I don't see a way to get to such an object for a given wxsResource object.
Does anyone know how could I do that?

Navigation

[0] Message Index

[*] Previous page

Go to full version