File: Helpers.h

package info (click to toggle)
w-scan-cpp 0~20230121-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,008 kB
  • sloc: ansic: 69,193; cpp: 9,599; makefile: 1,149; perl: 862; python: 74; sh: 70
file content (27 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/******************************************************************************
 * w_scan_cpp - a dtv channel scanner based on VDR (www.tvdr.de) and it's
 * Plugins.
 *
 * See the README file for copyright information and how to reach the author.
 *****************************************************************************/
#pragma once
#include <string>
#include <vector>
#include <iostream>
#include <repfunc.h>

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#include <vdr/plugin.h>
#include <vdr/diseqc.h>
#include <vdr/receiver.h>
#include <wirbelscan/common.h>
#pragma GCC diagnostic pop

#define ErrorMessage(StdString) do { std::cerr << StdString << std::endl; } while(0)
#define Message(StdString)      do { std::cerr << StdString << std::endl; } while(0)
#define OutputLine(StdString)   do { std::cout << StdString << std::endl; } while(0)

std::string VdrSource(std::string s);
bool InitCharTables(void);