move ZAPIT_start_arg to zapit/include/zapit/zapit.h

Origin commit data
------------------
Commit: ebd157662a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-10 (Tue, 10 Apr 2012)
This commit is contained in:
[CST] Focus
2012-04-10 15:23:24 +04:00
parent fa840916a8
commit 2a77822828
2 changed files with 42 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ typedef struct Channel_parameter
} CH_params;
#endif
#if 0
/* complete zapit start thread-parameters in a struct */
typedef struct ZAPIT_start_arg
{
@@ -118,7 +119,7 @@ typedef struct ZAPIT_start_arg
int video_mode;
int ci_clock;
} Z_start_arg;
#endif
#if 0
typedef struct TP_map
{
@@ -132,6 +133,7 @@ typedef struct TP_map
#define MAX_LNB 64
#endif
#if 0
typedef struct Zapit_config {
int writeChannelsNames;
int makeRemainingChannelsBouquet;
@@ -156,7 +158,7 @@ typedef struct Zapit_config {
int uni_scr;
int uni_qrg;
} t_zapit_config;
#endif
#if 0
typedef std::map <uint32_t, TP_map> TP_map_t;
typedef std::map <uint32_t, TP_map>::iterator TP_iterator;

View File

@@ -26,6 +26,44 @@ typedef std::map<t_channel_id, audio_map_set_t> audio_map_t;
typedef audio_map_t::iterator audio_map_iterator_t;
typedef std::map<transponder_id_t, time_t> sdt_tp_map_t;
/* complete zapit start thread-parameters in a struct */
typedef struct ZAPIT_start_arg
{
t_channel_id startchanneltv_id;
t_channel_id startchannelradio_id;
int startchanneltv_nr;
int startchannelradio_nr;
int uselastchannel;
int video_mode;
int ci_clock;
} Z_start_arg;
typedef struct Zapit_config {
int writeChannelsNames;
int makeRemainingChannelsBouquet;
int saveLastChannel;
int rezapTimeout;
int fastZap;
int sortNames;
int scanPids;
int scanSDT;
int cam_ci;
int useGotoXX;
/* FE common */
int feTimeout;
int gotoXXLaDirection;
int gotoXXLoDirection;
double gotoXXLatitude;
double gotoXXLongitude;
int repeatUsals;
/* FE specific */
int highVoltage;
int motorRotationSpeed;
int uni_scr;
int uni_qrg;
} t_zapit_config;
class CZapitSdtMonitor : public OpenThreads::Thread
{
private: