forked from len0rd/rockbox
rbutil: Fix unit tests on Windows.
Change-Id: I124882eb26b01e1acfadfba55bc718ab330ab52a
This commit is contained in:
parent
3d6d186d2e
commit
dc677208d0
1 changed files with 7 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
#include "playerbuildinfo.h"
|
#include "playerbuildinfo.h"
|
||||||
#include "rbsettings.h"
|
#include "rbsettings.h"
|
||||||
#include "rockboxinfo.h"
|
#include "rockboxinfo.h"
|
||||||
|
#include "system.h"
|
||||||
|
|
||||||
// not used by the test, just to make things compile.
|
// not used by the test, just to make things compile.
|
||||||
QVariant RbSettings::value(RbSettings::UserSettings setting)
|
QVariant RbSettings::value(RbSettings::UserSettings setting)
|
||||||
|
|
@ -28,4 +29,10 @@ RockboxInfo::RockboxInfo(QString, QString)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(Q_OS_WIN32)
|
||||||
|
enum System::userlevel System::userPermissions(void)
|
||||||
|
{
|
||||||
|
return USER;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue