Difference between revisions of "Talk:Wizard scripts"

From CodeBlocks
Jump to: navigation, search
(script primitive functions)
(No difference)

Revision as of 15:10, 11 February 2013

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