summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/TMainTask.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index 024feec..b719e94 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -15,5 +15,17 @@ public:
public:
TMainTask();
virtual ~TMainTask();
+private:
+ void set_task_flags(u32 flags) {
+ this->task_flags |= flags;
+ }
+
+ void clear_task_flags(u32 flags) {
+ this->task_flags &= ~flags;
+ }
+
+ u32 get_task_flags(u32 flags) {
+ return this->task_flags & flags;
+ };
};
#endif