diff -r 1a6714c53019 -r cce62ebc198e radioapp/radioapplication/win32_stubs/qsysteminfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/radioapp/radioapplication/win32_stubs/qsysteminfo.h Tue Aug 31 15:15:02 2010 +0300 @@ -0,0 +1,48 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +// THIS IS A STUB CLASS FOR WIN32 ENVIRONMENT! +// It is only meant to compile, not to actually do anything + +#ifndef Q_SYSTEMINFO_H +#define Q_SYSTEMINFO_H + +#include + +namespace QtMobility { + +class QSystemDeviceInfo : public QObject +{ + Q_OBJECT +public: + + QSystemDeviceInfo( QObject* parent = 0 ); + virtual ~QSystemDeviceInfo(); + + enum Profile { GeneralProfile, OfflineProfile }; + Profile currentProfile() { return GeneralProfile; } + +signals: + + void currentProfileChanged(QSystemDeviceInfo::Profile); + +}; + + +} + +#endif // Q_SYSTEMINFO_H