aboutsummaryrefslogtreecommitdiffstats
path: root/src/dls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dls.h')
-rw-r--r--src/dls.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/dls.h b/src/dls.h
index 547c1df..5b56ffa 100644
--- a/src/dls.h
+++ b/src/dls.h
@@ -47,6 +47,16 @@ enum {
};
+// --- DL_PARAMS -----------------------------------------------------------------
+struct DL_PARAMS {
+ DABCharset charset;
+ bool raw_dls;
+ bool remove_dls;
+
+ DL_PARAMS() : charset(DABCharset::UTF8), raw_dls(false), remove_dls(false) {}
+};
+
+
// --- DL_PLUS_TAG -----------------------------------------------------------------
struct DL_PLUS_TAG {
int content_type;
@@ -140,7 +150,7 @@ public:
static const std::string DL_PARAMS_CLOSE;
DLSManager(PADPacketizer* pad_packetizer) : pad_packetizer(pad_packetizer), dls_toggle(false) {}
- void writeDLS(const std::string& dls_file, DABCharset charset, bool raw_dls, bool remove_dls);
+ void writeDLS(const std::string& dls_file, const DL_PARAMS& dl_params);
};
#endif /* DLS_H_ */