summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/rockboxinfo.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-02-19 12:06:44 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-02-19 14:12:22 +0100
commita56f4425c6095073bb4e3c9f3970fd3a68b73f4c (patch)
tree892384a957c6c411fbba0960e20452c7f9bc9961 /rbutil/rbutilqt/base/rockboxinfo.h
parentf81100efd2b0f0281e8c78f195720ad8fa61dde1 (diff)
Allow overriding filename for rockbox-info.txt.
This allows testing the class by using temporary files without the need of constructing a special path. Change-Id: Id5ccd37f05219f246b9bf9f8a26ec81342654f89
Diffstat (limited to 'rbutil/rbutilqt/base/rockboxinfo.h')
-rw-r--r--rbutil/rbutilqt/base/rockboxinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/rockboxinfo.h b/rbutil/rbutilqt/base/rockboxinfo.h
index 6a22163ddf..9ea6e2011f 100644
--- a/rbutil/rbutilqt/base/rockboxinfo.h
+++ b/rbutil/rbutilqt/base/rockboxinfo.h
@@ -27,7 +27,7 @@
class RockboxInfo
{
public:
- RockboxInfo(QString mountpoint);
+ RockboxInfo(QString mountpoint, QString fname = "/.rockbox/rockbox-info.txt");
QString version() {return m_version;}
QString features(){return m_features;}