diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-01-04 09:12:12 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-01-04 09:12:12 +0100 |
commit | 5aeb6af61490df93ff8be39cf62fe7782fe4674b (patch) | |
tree | df3572c4b245b3b831758e281a927fb8f11a2264 /dxr3interface.h | |
parent | 3c5629fad2272c1ebe2343dfc233afb50d38292a (diff) | |
download | vdr-plugin-dxr3-5aeb6af61490df93ff8be39cf62fe7782fe4674b.tar.gz vdr-plugin-dxr3-5aeb6af61490df93ff8be39cf62fe7782fe4674b.tar.bz2 |
rework cSettings class to use a new way for setters and getters
The basic idea behind this commit is to get rid of those bad looking
getters and setters, where we have no logic used by them.
Diffstat (limited to 'dxr3interface.h')
-rw-r--r-- | dxr3interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dxr3interface.h b/dxr3interface.h index 0392654..96d551a 100644 --- a/dxr3interface.h +++ b/dxr3interface.h @@ -58,7 +58,7 @@ public: ~cDxr3Interface(); static int Dxr3Open(const char *name, int mode, bool report_error = true) { - const char *filename = *cDxr3Name(name, cSettings::instance()->GetDxr3Card()); + const char *filename = *cDxr3Name(name, cSettings::instance()->card()); int fd = open(filename, mode); if (report_error && (fd < 0)) { |