diff options
author | Timo Eskola <timo@tolleri.net> | 2018-09-03 12:26:02 +0300 |
---|---|---|
committer | Timo Eskola <timo@tolleri.net> | 2018-09-03 12:26:02 +0300 |
commit | fd9080c0778c5145842bbcd5d0ab14faca3956d0 (patch) | |
tree | de4a2caccf3a76d5e8c78c5c325d8bfc780671b4 /recording.h | |
parent | 7d8b8bf75276bd0d3dff03a707f7af64ca31b25f (diff) | |
download | vdr-plugin-duplicates-fd9080c0778c5145842bbcd5d0ab14faca3956d0.tar.gz vdr-plugin-duplicates-fd9080c0778c5145842bbcd5d0ab14faca3956d0.tar.bz2 |
Expose std::string in cDuplicateRecording.
Diffstat (limited to 'recording.h')
-rw-r--r-- | recording.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.h b/recording.h index 1d2ffb2..37ec660 100644 --- a/recording.h +++ b/recording.h @@ -35,8 +35,8 @@ public: bool Checked() { return checked; } cVisibility Visibility() { return visibility; } std::string FileName(void) { return fileName; } - void SetText(const char *t) { text = std::string(t); } - const char *Text(void) { return text.c_str(); } + void SetText(std::string t) { text = t; } + std::string Text(void) { return text; } cList<cDuplicateRecording> *Duplicates(void) { return duplicates; } }; |