Pagination abort tasks. More...
#include <text_tasks.h>
Public Member Functions | |
PaginationAbortTask (TextView *view) | |
Constructors and destructors. | |
virtual | ~PaginationAbortTask () |
virtual void | execute () |
Execute task with task context. |
Pagination abort tasks.
A dummy task to abort the current pagination
Definition at line 103 of file text_tasks.h.
text::PaginationAbortTask::PaginationAbortTask | ( | TextView * | view | ) |
Constructors and destructors.
Definition at line 110 of file text_tasks.cpp.
References TRACEFUNCTION.
00111 : text_view(view) 00112 { 00113 TRACEFUNCTION(); 00114 }
text::PaginationAbortTask::~PaginationAbortTask | ( | ) | [virtual] |
Definition at line 116 of file text_tasks.cpp.
References TRACEFUNCTION.
00117 { 00118 TRACEFUNCTION(); 00119 }
void text::PaginationAbortTask::execute | ( | ) | [virtual] |
Execute task with task context.
Implements common::Task.
Definition at line 121 of file text_tasks.cpp.
References TRACEFUNCTION.
00122 { 00123 TRACEFUNCTION(); 00124 00125 // 00126 // Dummy task to abort pagination 00127 // 00128 00129 // Example usage: 00130 // PaginationAbortTask *task = new PaginationAbortTask(); 00131 // thread.prepend_task(task, true /* Cancel running task */); 00132 }