#include <gtk-makeimage.hh>

Public Types | |
| typedef void(GtkMakeImage::* | TickHandler )() |
Public Member Functions | |
| GtkMakeImage (const string &uriStr, const string &destDir) | |
| virtual | ~GtkMakeImage () |
| virtual bool | run () |
| Start/restart this job. | |
| virtual void | selectRow () |
| Called when the JobLine's line is selected in the list. | |
| virtual bool | paused () const |
| Is the job currently paused? | |
| virtual void | pause () |
| Pause the job. | |
| virtual void | cont () |
| Continue executing the job. | |
| virtual void | stop () |
| Stop executing the job. | |
| virtual void | percentDone (uint64 *cur, uint64 *total) |
| When called, must fill in current nr of bytes downloaded and total nr of bytes. | |
| void | callRegularly (TickHandler handler) |
| void | callRegularlyLater (const int milliSec, TickHandler handler) |
| void | on_startButton_clicked () |
| void | on_pauseButton_clicked () |
| void | on_stopButton_clicked () |
| void | on_restartButton_clicked () |
| void | on_closeButton_clicked () |
| typedef void(GtkMakeImage::* GtkMakeImage::TickHandler)() |
Reimplemented from JobLine.
| GtkMakeImage::GtkMakeImage | ( | const string & | uriStr, | |
| const string & | destDir | |||
| ) |
| GtkMakeImage::~GtkMakeImage | ( | ) | [virtual] |
References debug, JobList::get(), JobLine::jobList(), Job::MakeImageDl::killAllChildren(), JobLine::row(), and x.
| bool GtkMakeImage::run | ( | ) | [virtual] |
Start/restart this job.
When called, must also create GUI elements for this Job in row number row() of GtkTreeView jobList()->view(). Is called after Job is added to the list, and when it is restarted (if at all). Child classes should provide an implementation.
Implements JobLine.
References _, JobList::COLUMN_OBJECT, JobList::COLUMN_STATUS, Job::MakeImageDl::jigdoUri(), JobLine::jobList(), JobLine::row(), and Job::MakeImageDl::run().
Referenced by JobLine::create().
| void GtkMakeImage::selectRow | ( | ) | [virtual] |
Called when the JobLine's line is selected in the list.
Implements JobLine.
References JobLine::jobList(), setNotebookPage(), JobList::setWindowOwner(), and GUI::window.
| bool GtkMakeImage::paused | ( | ) | const [virtual] |
| void GtkMakeImage::pause | ( | ) | [virtual] |
| void GtkMakeImage::cont | ( | ) | [virtual] |
| void GtkMakeImage::stop | ( | ) | [virtual] |
| void GtkMakeImage::percentDone | ( | uint64 * | cur, | |
| uint64 * | total | |||
| ) | [virtual] |
| void GtkMakeImage::callRegularly | ( | TickHandler | handler | ) | [inline] |
References JobLine::callRegularly().
| void GtkMakeImage::callRegularlyLater | ( | const int | milliSec, | |
| TickHandler | handler | |||
| ) | [inline] |
References JobLine::callRegularlyLater().
| void GtkMakeImage::on_startButton_clicked | ( | ) |
| void GtkMakeImage::on_pauseButton_clicked | ( | ) |
| void GtkMakeImage::on_stopButton_clicked | ( | ) |
| void GtkMakeImage::on_restartButton_clicked | ( | ) |
| void GtkMakeImage::on_closeButton_clicked | ( | ) |
References JobLine::jobList(), setNotebookPage(), and GUI::window.
Referenced by on_jigdo_closeButton_clicked().
1.5.6