LibPkg
|
Interface to execute a trigger. More...
#include <trigger.h>
Public Member Functions | |
virtual | ~trigger_run () |
virtual void | run (const std::string &file_name, pkg::trigger *trigger)=0 |
Run the given trigger during install/remove/upgrade. More... | |
Interface to execute a trigger.
Must be provided by the front end to run the trigger scripts
|
inlinevirtual |
References pkg::trigger::run().
|
pure virtual |
Run the given trigger during install/remove/upgrade.
For a wimp program the front end should use a TaskWindow with 128K memory or equivalent.
Should callback on the trigger trigger_start_failed if the file could not be run/started trigger_log to log any output from the trigged trigger_finished when the file has finished executing
file_name | name of file to run |
trigger | trigger to inform of state of run |
Referenced by pkg::trigger::run().
Reference Manual | LibPkg | Version 0.9.0 (4 Sep 2020) |