Changeset 24226 for titan/titan/scan.h
- Timestamp:
- 10/12/13 12:26:10 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/scan.h
r24224 r24226 1393 1393 } 1394 1394 1395 void screenscan(struct transponder* transpondernode, struct skin* mscan, char* tuner, int scantype, int orbitalpos, unsigned int frequency, int inversion, unsigned int symbolrate, int polarization, int fec, int modulation, int rolloff, int pilot, int networkscan, int onlyfree, int clear, int blindscan, int ichangename, int system, int favtype, int emptybouquet, int timeout)1395 void screenscan(struct transponder* transpondernode, struct skin* mscan, char* tuner, int scantype, int orbitalpos, unsigned int frequency, int inversion, unsigned int symbolrate, int polarization, int fec, int modulation, int rolloff, int pilot, int networkscan, int onlyfree, int clear, int blindscan, int ichangename, int system, int favtype, int emptybouquet, int unusedbouquetchannels, int timeout) 1396 1396 { 1397 1397 int rcret = 0, tpmax = 0, i = 0, alladded = 0; … … 1658 1658 delemptymainbouquet(1); 1659 1659 1660 if( textbox(_("Message"), _("Do you want to delete all unused Bouquetentrys?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0)== 1)1660 if(unusedbouquetchannels == 1) 1661 1661 delunusedbouquetchannels(0); 1662 1662 else … … 1829 1829 int iinversion = -1, ipolarization = -1; 1830 1830 int ifec = -1, imodulation = -1, irolloff = -1, ipilot = -1, isystem = -1; 1831 int inetworkscan = -1, ionlyfree = -1, iclear = -1, iblindscan = -1, ichangename = -1, ifavtype = -1, iemptybouquet = -1 ;1831 int inetworkscan = -1, ionlyfree = -1, iclear = -1, iblindscan = -1, ichangename = -1, ifavtype = -1, iemptybouquet = -1, irmunusedbouquetchannels = -1; 1832 1832 int i = 0, treffer = 0, tunercount = 0; 1833 1833 struct skin* scan = getscreen("manualscan"); … … 1859 1859 struct skin* favtype = getscreennode(scan, "favtype"); 1860 1860 struct skin* emptybouquet = getscreennode(scan, "emptybouquet"); 1861 struct skin* unusedbouquetchannels = getscreennode(scan, "unusedbouquetchannels"); 1861 1862 1862 1863 struct skin* b4 = getscreennode(scan, "b4"); … … 1872 1873 if(status.recording > 0 || status.streaming > 0) 1873 1874 { 1874 textbox(_("Message"), _("Scan is not allowed if record \nor stream is running !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);1875 textbox(_("Message"), _("Scan is not allowed if record or stream is running !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 800, 200, 0, 0); 1875 1876 return; 1876 1877 } … … 2253 2254 addchoicebox(emptybouquet, "1", _("yes")); 2254 2255 2256 //unusedbouquetchannels 2257 addchoicebox(unusedbouquetchannels, "0", _("no")); 2258 addchoicebox(unusedbouquetchannels, "1", _("yes")); 2259 2255 2260 drawscreen(scan, 2, 0); 2256 2261 changescantype(scantype->ret, scan, listbox, tuner, sat, id, system, frequency, inversion, symbolrate, polarization, fec, modulation, rolloff, pilot, hp, lp, bandwidth, transmission, guardinterval, hierarchy, b4, b5, flag); … … 2294 2299 if(favtype->ret != NULL) ifavtype = atoi(favtype->ret); 2295 2300 if(emptybouquet->ret != NULL) iemptybouquet = atoi(emptybouquet->ret); 2301 if(unusedbouquetchannels->ret != NULL) iunusedbouquetchannels = atoi(unusedbouquetchannels->ret); 2296 2302 2297 2303 if(rcret == getrcconfigint("rcexit", NULL)) break; … … 2316 2322 { 2317 2323 clearscreen(scan); 2318 screenscan(tpnode, scan->child, tuner->ret, iscantype, isat, ifrequency, iinversion, isymbolrate, ipolarization, ifec, imodulation, irolloff, ipilot, inetworkscan, ionlyfree, iclear, iblindscan, ichangename, isystem, ifavtype, iemptybouquet, 5000000);2324 screenscan(tpnode, scan->child, tuner->ret, iscantype, isat, ifrequency, iinversion, isymbolrate, ipolarization, ifec, imodulation, irolloff, ipilot, inetworkscan, ionlyfree, iclear, iblindscan, ichangename, isystem, ifavtype, iemptybouquet, iunusedbouquetchannels, 5000000); 2319 2325 drawscreen(scan, 0, 0); 2320 2326 }
Note: See TracChangeset
for help on using the changeset viewer.