summaryrefslogtreecommitdiff
path: root/service.h
diff options
context:
space:
mode:
Diffstat (limited to 'service.h')
-rw-r--r--service.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/service.h b/service.h
new file mode 100644
index 0000000..1665cbc
--- /dev/null
+++ b/service.h
@@ -0,0 +1,32 @@
+/*
+ * service.h: A plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#ifndef __RADIO_SERVICE_H
+#define __RADIO_SERVICE_H
+
+// --- Service Interface -------------------------------------------------------
+
+struct RadioTextService_v1_0 {
+ int rds_info; // 0= no / 1= Text / 2= Text + RTplus-Tags (Item,Artist)
+ int rds_pty; // 0-31
+ char *rds_text;
+ char *rds_title;
+ char *rds_artist;
+ struct tm *title_start;
+};
+
+struct RadioTextService_v1_1 {
+ int rds_info; // 0= no / 1= Text / 2= Text + RTplus-Tags (Item,Artist)
+ int rds_pty; // 0-31
+ std::string rds_pty_info;
+ std::string rds_text;
+ std::string rds_title;
+ std::string rds_artist;
+ time_t title_start;
+};
+
+#endif // __RADIO_SERVICE_H