Talk:Wizard scripts

From CodeBlocks
Revision as of 15:16, 11 February 2013 by LETARTARE (Talk | contribs)

Jump to: navigation, search

=> add into 'How do I create a new wizard?'


When creating a script wizard, it may contain basic primitive functions

  • void BeginWizard ()

mandatory for all wizards and which contains different entry pages


for a project :

  • bool SetupProject (project)
  • bool SetupTarget (target, IsDebug)

...


for a single target (within a project)

  • bool SetupTarget (target, IsDebug)

...


for an item to be defined by the user

  • bool SetupCustom ()

...


for file creation

  • wxString CreateFiles ()

...


to get the template files in a project

  • wxString GetFilesDir ()

...


to get generated files in a project

  • wxString GetGeneratedFile(index)

...


These functions will be performed by the manager wizard.