OSDN Git Service

ちょっとだけデバッグ
[iptd/iPTd.git] / src / ry0 / iPTd / Streaming.h
1 /**\r
2  * @file Streaming.h\r
3  *\r
4  */\r
5 \r
6 #pragma once\r
7 \r
8 #include "Raym/Raym.h"\r
9 #include "ry0/device/Tuner.h"\r
10 \r
11 \r
12 namespace ry0\r
13 {\r
14 namespace iPTd\r
15 {\r
16 \r
17 class Controller;\r
18 \r
19 class Streaming : public Raym::Object,\r
20                   public Raym::TimerDelegate\r
21 {\r
22 private:\r
23     Controller *           _controller;\r
24     ry0::device::Tuner **  _tuners;\r
25 \r
26     Raym::Dictionary *     _ctrls;\r
27     Raym::Timer *          _timer_periodic;\r
28 \r
29 protected:\r
30     Streaming();\r
31     ~Streaming();\r
32 \r
33 public:\r
34     static Streaming *alloc();\r
35     Streaming *initWithController(Controller *controller);\r
36 \r
37     void systemWillSuspend();\r
38     void systemResumed();\r
39 \r
40     void mapping(int tuner, int channel, int port);\r
41 \r
42     void timerExpired(Raym::Timer *timer, void *user_info);\r
43 };\r
44 \r
45 } // iPTd\r
46 } // ry0\r