mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
CZapitMessages:: init msg struct
Origin commit data
------------------
Branch: ni/coolstream
Commit: febb30dc77
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-10-11 (Fri, 11 Oct 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -150,7 +150,7 @@ class CZapitMessages
|
|||||||
CMD_GET_MODE43 = 109,
|
CMD_GET_MODE43 = 109,
|
||||||
CMD_SET_MODE43 = 110,
|
CMD_SET_MODE43 = 110,
|
||||||
CMD_STOP_PIP = 111,
|
CMD_STOP_PIP = 111,
|
||||||
CMD_ZAPTO_EPG = 112,
|
CMD_ZAPTO_EPG = 112
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
@@ -158,33 +158,39 @@ class CZapitMessages
|
|||||||
struct commandBoolean
|
struct commandBoolean
|
||||||
{
|
{
|
||||||
bool truefalse;
|
bool truefalse;
|
||||||
|
commandBoolean():truefalse(false){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandInt
|
struct commandInt
|
||||||
{
|
{
|
||||||
int val;
|
int val;
|
||||||
|
commandInt():val(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandVolume
|
struct commandVolume
|
||||||
{
|
{
|
||||||
unsigned int left;
|
unsigned int left;
|
||||||
unsigned int right;
|
unsigned int right;
|
||||||
|
commandVolume():left(0),right(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandSetRecordMode
|
struct commandSetRecordMode
|
||||||
{
|
{
|
||||||
bool activate;
|
bool activate;
|
||||||
|
commandSetRecordMode():activate(false){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandZapto
|
struct commandZapto
|
||||||
{
|
{
|
||||||
unsigned int bouquet;
|
unsigned int bouquet;
|
||||||
unsigned int channel;
|
unsigned int channel;
|
||||||
|
commandZapto():bouquet(0),channel(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandZaptoChannelNr
|
struct commandZaptoChannelNr
|
||||||
{
|
{
|
||||||
unsigned int channel;
|
unsigned int channel;
|
||||||
|
commandZaptoChannelNr():channel(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandZaptoServiceID
|
struct commandZaptoServiceID
|
||||||
@@ -199,17 +205,20 @@ class CZapitMessages
|
|||||||
{
|
{
|
||||||
t_channel_id channel_id;
|
t_channel_id channel_id;
|
||||||
bool standby;
|
bool standby;
|
||||||
|
commandZaptoEpg():channel_id(0),standby(false){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandSetAudioChannel
|
struct commandSetAudioChannel
|
||||||
{
|
{
|
||||||
unsigned int channel;
|
unsigned int channel;
|
||||||
|
commandSetAudioChannel():channel(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandGetBouquets
|
struct commandGetBouquets
|
||||||
{
|
{
|
||||||
bool emptyBouquetsToo;
|
bool emptyBouquetsToo;
|
||||||
CZapitClient::channelsMode mode;
|
CZapitClient::channelsMode mode;
|
||||||
|
commandGetBouquets():emptyBouquetsToo(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandSetMode
|
struct commandSetMode
|
||||||
@@ -233,6 +242,7 @@ class CZapitMessages
|
|||||||
{
|
{
|
||||||
unsigned int bouquet;
|
unsigned int bouquet;
|
||||||
t_channel_id channel_id;
|
t_channel_id channel_id;
|
||||||
|
commandExistsChannelInBouquet():bouquet(0),channel_id(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -240,39 +250,46 @@ class CZapitMessages
|
|||||||
{
|
{
|
||||||
unsigned int bouquet;
|
unsigned int bouquet;
|
||||||
t_channel_id channel_id;
|
t_channel_id channel_id;
|
||||||
|
commandAddChannelToBouquet():bouquet(0),channel_id(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandRemoveChannelFromBouquet
|
struct commandRemoveChannelFromBouquet
|
||||||
{
|
{
|
||||||
unsigned int bouquet;
|
unsigned int bouquet;
|
||||||
t_channel_id channel_id;
|
t_channel_id channel_id;
|
||||||
|
commandRemoveChannelFromBouquet():bouquet(0),channel_id(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandDeleteBouquet
|
struct commandDeleteBouquet
|
||||||
{
|
{
|
||||||
unsigned int bouquet;
|
unsigned int bouquet;
|
||||||
|
commandDeleteBouquet():bouquet(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandRenameBouquet
|
struct commandRenameBouquet
|
||||||
{
|
{
|
||||||
unsigned int bouquet;
|
unsigned int bouquet;
|
||||||
|
commandRenameBouquet():bouquet(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandMoveBouquet
|
struct commandMoveBouquet
|
||||||
{
|
{
|
||||||
unsigned int bouquet;
|
unsigned int bouquet;
|
||||||
unsigned int newPos;
|
unsigned int newPos;
|
||||||
|
commandMoveBouquet():bouquet(0),newPos(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandStartScan
|
struct commandStartScan
|
||||||
{
|
{
|
||||||
unsigned int satelliteMask;
|
unsigned int satelliteMask;
|
||||||
|
commandStartScan():satelliteMask(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandBouquetState
|
struct commandBouquetState
|
||||||
{
|
{
|
||||||
unsigned int bouquet;
|
unsigned int bouquet;
|
||||||
bool state;
|
bool state;
|
||||||
|
commandBouquetState():bouquet(0),state(false){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandMoveChannel
|
struct commandMoveChannel
|
||||||
@@ -281,6 +298,7 @@ class CZapitMessages
|
|||||||
unsigned int oldPos;
|
unsigned int oldPos;
|
||||||
unsigned int newPos;
|
unsigned int newPos;
|
||||||
CZapitClient::channelsMode mode;
|
CZapitClient::channelsMode mode;
|
||||||
|
commandMoveChannel():bouquet(0),oldPos(0),newPos(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -289,11 +307,13 @@ class CZapitMessages
|
|||||||
struct responseGeneralTrueFalse
|
struct responseGeneralTrueFalse
|
||||||
{
|
{
|
||||||
bool status;
|
bool status;
|
||||||
|
responseGeneralTrueFalse():status(false){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct responseGeneralInteger
|
struct responseGeneralInteger
|
||||||
{
|
{
|
||||||
int number;
|
int number;
|
||||||
|
responseGeneralInteger():number(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct responseGetChannelName
|
struct responseGetChannelName
|
||||||
@@ -304,6 +324,7 @@ class CZapitMessages
|
|||||||
struct responseGetRecordModeState
|
struct responseGetRecordModeState
|
||||||
{
|
{
|
||||||
bool activated;
|
bool activated;
|
||||||
|
responseGetRecordModeState():activated(false){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct responseGetMode
|
struct responseGetMode
|
||||||
@@ -314,21 +335,25 @@ class CZapitMessages
|
|||||||
struct responseGetPlaybackState
|
struct responseGetPlaybackState
|
||||||
{
|
{
|
||||||
bool activated;
|
bool activated;
|
||||||
|
responseGetPlaybackState():activated(false){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct responseGetCurrentServiceID
|
struct responseGetCurrentServiceID
|
||||||
{
|
{
|
||||||
t_channel_id channel_id;
|
t_channel_id channel_id;
|
||||||
|
responseGetCurrentServiceID():channel_id(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct responseZapComplete
|
struct responseZapComplete
|
||||||
{
|
{
|
||||||
unsigned int zapStatus;
|
unsigned int zapStatus;
|
||||||
|
responseZapComplete():zapStatus(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct responseCmd
|
struct responseCmd
|
||||||
{
|
{
|
||||||
unsigned char cmd;
|
unsigned char cmd;
|
||||||
|
responseCmd():cmd(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct responseIsScanReady
|
struct responseIsScanReady
|
||||||
@@ -338,6 +363,7 @@ class CZapitMessages
|
|||||||
unsigned int processed_transponder;
|
unsigned int processed_transponder;
|
||||||
unsigned int transponder;
|
unsigned int transponder;
|
||||||
unsigned int services;
|
unsigned int services;
|
||||||
|
responseIsScanReady():scanReady(false),satellite(0),processed_transponder(0),transponder(0),services(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct responseDeliverySystem
|
struct responseDeliverySystem
|
||||||
@@ -353,6 +379,7 @@ class CZapitMessages
|
|||||||
uint8_t num_parameters;
|
uint8_t num_parameters;
|
||||||
uint8_t param1;
|
uint8_t param1;
|
||||||
uint8_t param2;
|
uint8_t param2;
|
||||||
|
commandMotor():cmdtype(0),cmd(0),address(0),num_parameters(0),param1(0),param2(0){}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user