summaryrefslogtreecommitdiff
path: root/p2pvr/lib/dvbsiHelpers/networkService.cpp
blob: 80700b459148d582f50fdd09fa63bb6798e9347e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "../dvbsiHelpers.h"
#include "../p2Helpers.h"

template<>
void
CreateColumns<DVBSI::NetworkService>(const ColumnCreator & cc)
{
	cc("serviceId", true);
	cc("type", false);
	cc("transportStreamId", false);
}

template<>
void
BindColumns(RowState & rs, const DVBSI::NetworkService & s)
{
	rs.fields[0] << s.ServiceId;
	rs.fields[1] << s.ServiceType;
	rs.fields[2] << s.TransportStreamId;
}