MythTV  master
scaninfo.h
Go to the documentation of this file.
1 #ifndef _CHANNEL_IMPORTER_HELPERS_H_
2 #define _CHANNEL_IMPORTER_HELPERS_H_
3 
4 // C++ headers
5 #include <cstdint>
6 typedef unsigned uint;
7 #include <vector>
8 using namespace std;
9 
10 // Qt headers
11 #include <QString>
12 #include <QDateTime>
13 
14 // MythTV headers
15 #include "mythtvexp.h"
16 #include "dtvmultiplex.h"
17 
18 class ScanInfo
19 {
20  public:
21  ScanInfo() = default;
22  ScanInfo(uint scanid, uint cardid, uint sourceid,
23  bool processed, const QDateTime &scandate);
24 
25  static bool MarkProcessed(uint scanid);
26  static bool DeleteScan(uint scanid);
27 
28  public:
29  uint m_scanid {0};
30  uint m_cardid {0};
31  uint m_sourceid {0};
32  bool m_processed {false};
33  QDateTime m_scandate;
34 };
35 
36 MTV_PUBLIC vector<ScanInfo> LoadScanList(void);
39 
40 #endif // _CHANNEL_IMPORTER_HELPERS_H_
def scan(profile, smoonURL, gate)
Definition: scan.py:43
MTV_PUBLIC vector< ScanInfo > LoadScanList(void)
Definition: scaninfo.cpp:251
MTV_PUBLIC ScanDTVTransportList LoadScan(uint scanid)
Definition: scaninfo.cpp:72
vector< ScanDTVTransport > ScanDTVTransportList
Definition: dtvmultiplex.h:141
unsigned int uint
Definition: compat.h:140
uint SaveScan(const ScanDTVTransportList &scan)
Definition: scaninfo.cpp:21
#define MTV_PUBLIC
Definition: mythtvexp.h:15
QDateTime m_scandate
Definition: scaninfo.h:33
unsigned uint
Definition: scaninfo.h:6