diff -r 5ef31a21fdd5 -r e7325f632549 homescreensrv_plat/appruntimemodel_api/hsruntime.h --- a/homescreensrv_plat/appruntimemodel_api/hsruntime.h Fri Jun 11 16:25:06 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ -/* -* 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: Base class for all homescreen runtimes. -* -*/ - - -#ifndef HSRUNTIME_H -#define HSRUNTIME_H - -#include - -#include "hsruntimemodel_global.h" - -/*! - \class HsRuntime - \ingroup group_hsruntimemodel - \brief Base class for all home screen runtimes. - - Provides the common functionality for all home screen runtime - implementations. - -*/ -class HSRUNTIMEMODEL_EXPORT HsRuntime : public QObject -{ - Q_OBJECT - -public: - HsRuntime(QObject* aParent = 0) : QObject(aParent) {} - virtual ~HsRuntime() {} - - -signals: -/*! - Emitted when the runtime has started. -*/ - void started(); - -/*! - Emitted when the runtime has stopped. -*/ - void stopped(); - -/*! - Emitted when the runtime has faulted. -*/ - void faulted(); - - -public slots: - -/*! - Starts the runtime. -*/ - virtual void start() = 0; - -/*! - Stops the runtime. -*/ - virtual void stop() = 0; - - - -private: - - Q_DISABLE_COPY(HsRuntime) -}; - -#endif