Talk:Wizard scripts

From Code::Blocks
Revision as of 13:16, 11 February 2013 by LETARTARE (talk | contribs)

=> 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.