diff -r 000000000000 -r a4daefaec16c commsconfig/cscapplicationui/inc/cscdialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commsconfig/cscapplicationui/inc/cscdialog.h Mon Jan 18 20:12:36 2010 +0200 @@ -0,0 +1,109 @@ +/* +* Copyright (c) 2007-2007 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: CSC Applicationīs Dialog +* +*/ + + +#ifndef C_CSCDIALOG_H +#define C_CSCDIALOG_H + +class CAknGlobalNote; + +/** + * CCSCDialog class + * Used to show CSC Application glogal dialogs. + * + * @lib + * @since S60 v3.2 + */ +NONSHARABLE_CLASS( CCSCDialog ) : public CActive + { + public: + + /** + * Two-phased constructor. + */ + static CCSCDialog* NewL(); + + + /** + * Two-phased constructor. + */ + static CCSCDialog* NewLC(); + + + /** + * Destructor. + */ + virtual ~CCSCDialog(); + + + /** + * Launches a wait note. + * + * @since S60 v3.2 + */ + void LaunchWaitNoteL( + const TInt aResourceId ); + + + /** + * Destroys a wait note. + * + * @since S60 v3.2 + */ + void DestroyWaitNote(); + + + protected: + + // from base class CActive + + /** + * @see CActive. + */ + void RunL(); + + + /** + * @see CActive. + */ + void DoCancel(); + + private: + + CCSCDialog(); + + void ConstructL(); + + private: // Data + + /** + * A global wait note. + * Own. + */ + CAknGlobalNote* iWaitNote; + + /* + * Global note Id + */ + TInt iNoteId; + +#ifdef _DEBUG + friend class UT_CSC; +#endif + }; + +#endif // C_CSCDIALOG_H