radioapp/radioapplication/win32_stubs/qsysteminfo.h
author hgs
Fri, 15 Oct 2010 16:26:27 +0300
changeset 57 21be958eb3ce
parent 38 f8c3d4e6102c
permissions -rw-r--r--
201041

/*
* 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 <QObject>

namespace QtMobility {
    
class QSystemDeviceInfo : public QObject
{
    Q_OBJECT
public:

    QSystemDeviceInfo( QObject* parent = 0 );
    virtual ~QSystemDeviceInfo();

    enum Profile { GeneralProfile, OfflineProfile };
    Profile currentProfile() { return GeneralProfile; }

Q_SIGNALS:

    void currentProfileChanged(QSystemDeviceInfo::Profile);
    
};


}

#endif // Q_SYSTEMINFO_H