messagingappbase/smilengine/engine/inc/smilparallel.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     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: smilparallel  declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef SMILPARALLEL_H
       
    21 #define SMILPARALLEL_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include "smiltimecontainer.h"
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 class CSmilParallel : public CSmilTimeContainer
       
    30     {
       
    31     public:  // Constructors and destructor
       
    32 
       
    33 		virtual const TDesC* ClassName() const { _LIT(KN,"CSmilParallel"); return &KN; }
       
    34 
       
    35         /**
       
    36         * Two-phased constructor.
       
    37         */
       
    38         static CSmilParallel* NewL(CSmilPresentation* aPresentation);
       
    39         
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         virtual ~CSmilParallel();
       
    44 
       
    45     public: // New functions
       
    46 		
       
    47 		void PropagateEventL( const TSmilEvent& aEvent, const TSmilTime& aTime );
       
    48 
       
    49 		void ProceedL( const TSmilTime& aTime );
       
    50 
       
    51 		void RewindL(const TSmilTime& aTime, const TSmilTime& aTo);
       
    52 		
       
    53 		TSmilTime ImplicitDuration() const;
       
    54 
       
    55 
       
    56 		virtual TBool IsParallel() const { return ETrue; }
       
    57 
       
    58 		
       
    59     protected:
       
    60 		
       
    61 		/**
       
    62         * By default C++ constructor is private.
       
    63         */
       
    64         CSmilParallel();
       
    65 		
       
    66 		/**
       
    67         * By default EPOC constructor is private.
       
    68         */
       
    69 		void ConstructL(CSmilPresentation* aPresentation);
       
    70 
       
    71     };
       
    72 
       
    73 #endif      // ?INCLUDE_H   
       
    74             
       
    75 // End of File