2 Copyright 2008 Chris Tallon
4 This file is part of VOMP.
6 VOMP is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 VOMP is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with VOMP; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef VOMPCLIENTRRPROC_H
22 #define VOMPCLIENTRRPROC_H
25 #include "responsepacket.h"
36 RequestPacket(ULONG requestID, ULONG opcode, UCHAR* data, ULONG dataLength)
37 : requestID(requestID), opcode(opcode), data(data), dataLength(dataLength) {}
45 typedef queue<RequestPacket*> RequestPacketQueue;
47 class VompClientRRProc : public Thread
50 VompClientRRProc(VompClient& x);
54 bool recvRequest(RequestPacket*);
59 #ifndef VOMPSTANDALONE
60 int processGetRecordingsList();
61 int processDeleteRecording();
62 int processMoveRecording();
63 int processGetChannelsList();
64 int processStartStreamingChannel();
65 int processGetBlock();
66 int processStopStreaming();
67 int processStartStreamingRecording();
68 int processGetChannelSchedule();
69 int processGetTimers();
70 int processSetTimer();
71 int processPositionFromFrameNumber();
72 int processFrameNumberFromPosition();
73 int processGetIFrame();
74 int processGetRecInfo();
75 int processGetMarks();
76 int processGetChannelPids();
77 int processDeleteTimer();
78 int processReScanRecording(); // FIXME obselete
81 int processConfigSave();
82 int processConfigLoad();
83 int processGetMediaList();
84 int processGetPicture();
85 int processGetImageBlock();
86 int processGetLanguageList();
87 int processGetLanguageContent();
93 RequestPacketQueue req_queue;