Logo Search packages:      
Sourcecode: vdr-plugin-sudoku version File versions  Download package

bool Plugin::Start (  )  [virtual]

Perform the startup actions of the plugin.

Perform the startup actions of the plugin.

This method is called once at VDR's startup.

Definition at line 77 of file sudoku.cpp.

References Sudoku::Pos::center(), Sudoku::Puzzle::generate(), SudokuPlugin::SetupData::givens_count, and SudokuPlugin::SetupData::symmetric.

{
  RegisterI18n(Phrases);
  puzzle.generate(setup.givens_count, setup.symmetric);
  curr = curr.center();
  return true;
}


Generated by  Doxygen 1.6.0   Back to index