|         |      1 /* | 
|         |      2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). | 
|         |      3 * All rights reserved. | 
|         |      4 * This component and the accompanying materials are made available | 
|         |      5 * under the terms of "Eclipse Public License v1.0" | 
|         |      6 * which accompanies this distribution, and is available | 
|         |      7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". | 
|         |      8 * | 
|         |      9 * Initial Contributors: | 
|         |     10 * Nokia Corporation - initial contribution. | 
|         |     11 * | 
|         |     12 * Contributors: | 
|         |     13 * | 
|         |     14 * Description: smilsequence  declaration | 
|         |     15 * | 
|         |     16 */ | 
|         |     17  | 
|         |     18  | 
|         |     19  | 
|         |     20 #ifndef SMILSEQUENCE_H | 
|         |     21 #define SMILSEQUENCE_H | 
|         |     22  | 
|         |     23 //  INCLUDES | 
|         |     24 #include <e32base.h> | 
|         |     25 #include "smilmedia.h" | 
|         |     26 #include "smilparallel.h" | 
|         |     27 #include "smilobject.h" | 
|         |     28  | 
|         |     29 // CLASS DECLARATION | 
|         |     30  | 
|         |     31 class CSmilSequence : public CSmilTimeContainer | 
|         |     32     { | 
|         |     33     public:  // Constructors and destructor | 
|         |     34  | 
|         |     35 		virtual const TDesC* ClassName() const { _LIT(KN,"CSmilSequence"); return &KN; }        | 
|         |     36  | 
|         |     37         /** | 
|         |     38         * Two-phased constructor. | 
|         |     39         */ | 
|         |     40         static CSmilSequence* NewL(CSmilPresentation* aPresentation); | 
|         |     41          | 
|         |     42         /** | 
|         |     43         * Destructor. | 
|         |     44         */ | 
|         |     45         virtual ~CSmilSequence(); | 
|         |     46  | 
|         |     47     public: // New functions | 
|         |     48  | 
|         |     49 		void PropagateEventL( const TSmilEvent& aEvent, const TSmilTime& aTime ); | 
|         |     50 		 | 
|         |     51 		TSmilTime ImplicitDuration() const; | 
|         |     52  | 
|         |     53 		void ProceedL( const TSmilTime& aTime ); | 
|         |     54  | 
|         |     55 		void RewindL(const TSmilTime& aTime, const TSmilTime& aTo); | 
|         |     56  | 
|         |     57     public: // Functions from base classes | 
|         |     58  | 
|         |     59 		TBool IsSequence() const { return ETrue; }         | 
|         |     60  | 
|         |     61     protected:  // Functions from base classes | 
|         |     62          | 
|         |     63         /** | 
|         |     64         * By default EPOC constructor is private. | 
|         |     65         */ | 
|         |     66         void ConstructL(CSmilPresentation* aPresentation); | 
|         |     67 		 | 
|         |     68 		/** | 
|         |     69         * By default C++ constructor is private. | 
|         |     70         */ | 
|         |     71         CSmilSequence(); | 
|         |     72  | 
|         |     73     }; | 
|         |     74  | 
|         |     75 #endif      // ?INCLUDE_H    | 
|         |     76              | 
|         |     77 // End of File |