Talk:Wizard scripts

From Code::Blocks
Revision as of 13:10, 11 February 2013 by LETARTARE (talk | contribs) (script primitive functions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

=> 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 ()


toget generated files in a project

  • wxString GetGeneratedFile(index)


These functions will be performed by the manager wizard.