summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-19 00:27:29 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-19 00:27:29 +0200
commit2ef42b865cd88f274958bde780c2731e0434eb34 (patch)
tree49e5257b90efd777d4b122821c03fa2277f1e6bf /src/MuxElements.h
parent9829cd690856e987704996efb52be3c8e1b840cf (diff)
downloaddabmux-2ef42b865cd88f274958bde780c2731e0434eb34.tar.gz
dabmux-2ef42b865cd88f274958bde780c2731e0434eb34.tar.bz2
dabmux-2ef42b865cd88f274958bde780c2731e0434eb34.zip
Add support for automatic local-time-offset
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r--src/MuxElements.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/MuxElements.h b/src/MuxElements.h
index e6752e5..9895956 100644
--- a/src/MuxElements.h
+++ b/src/MuxElements.h
@@ -94,7 +94,7 @@ class dabEnsemble : public RemoteControllable {
: RemoteControllable("ensemble")
{
RC_ADD_PARAMETER(localtimeoffset,
- "local time offset, -24 to +24 [half-hours]");
+ "local time offset, 'auto' or -24 to +24 [half-hours]");
}
/* Remote control */
@@ -109,8 +109,13 @@ class dabEnsemble : public RemoteControllable {
uint8_t ecc;
DabLabel label;
uint8_t mode;
+
+ /* Use the local time to calculate the lto */
+ bool lto_auto;
+
int lto; // local time offset in half-hours
// range: -24 to +24
+
int international_table;
std::vector<DabService*> services;