mmsharing/mmshui/inc/musuiactivitymanger.h
author Simon Howkins <simonh@symbian.org>
Mon, 22 Nov 2010 16:50:40 +0000
branchRCL_3
changeset 44 87ee154df721
parent 33 bc78a40cd63c
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

/*
* Copyright (c) 2005 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:  
*
*/



#ifndef MUSUIACTIVITYMANGER_H
#define MUSUIACTIVITYMANGER_H

#include <e32base.h>


class CMusUiActivityManager : public CActive
    {

public:

    static CMusUiActivityManager* NewL( TInt aTimeout = 60 );

    ~CMusUiActivityManager();


protected:

    CMusUiActivityManager( TInt aTimeout );

    void ConstructL();


public:     // new functions:

    void SetTimeout(TInt aTimeout);

    void Start();

    void Reset();

 
protected: // from CActive

    void DoCancel();

    void RunL();
    
    TInt RunError( TInt aError );


protected:

    RTimer iTimer;

    TInt iTimeout;

};

#endif // MUSUIACTIVITYMANGER_H

// end of file