phoneapp/phoneuiutils/inc/tphonecmdparamtranseffect.h
branchRCL_3
changeset 61 41a7f70b3818
parent 58 40a3f856b14d
child 62 5266b1f337bd
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
    35 * EPhoneTransitionEffectStop - TBD 
    35 * EPhoneTransitionEffectStop - TBD 
    36 */
    36 */
    37 enum TPhoneTransEffectType
    37 enum TPhoneTransEffectType
    38     {
    38     {
    39     EPhoneTransEffectNone,
    39     EPhoneTransEffectNone,
    40     EPhoneTransEffectCallUiAppear,
       
    41     EPhoneTransEffectCallUiDisappear,
       
    42     // These 3 effect types can be used only when dialer is
       
    43     // opened/closed when some other app than phone is visible 
       
    44     // on the foreground/in the background.
       
    45     // These cannot be used for internal transitions (=call ui<->dialer).
       
    46     EPhoneTransEffectDialerOpen,
    40     EPhoneTransEffectDialerOpen,
    47     EPhoneTransEffectDialerClose,
    41     EPhoneTransEffectDialerClose,
    48     EPhoneTransEffectDialerCreate,
    42     EPhoneTransEffectDialerCreate,
    49     // For applying effect to external app launch done from dialer.
       
    50     // Effects triggered by App FW don't work properly.
       
    51     EPhoneTransEffectAppStartFromDialer,
       
    52     EPhoneTransEffectStop
    43     EPhoneTransEffectStop
    53     };
    44     };
    54 
    45 
    55 // CLASS DECLARATION
    46 // CLASS DECLARATION
    56 
    47 
    57 /**
    48 /**
    58 *  A parameter class for transition effect information.
    49 *  A parameter class for note dialog information.
    59 */
    50 */
    60 class TPhoneCmdParamTransEffect : public TPhoneUICommandParam
    51 class TPhoneCmdParamTransEffect : public TPhoneUICommandParam
    61     {   
    52     {   
    62 
    53    
       
    54     
    63     public: 
    55     public: 
    64            
    56            
    65         /**
    57         /**
    66         * C++ default constructor.
    58         * C++ default constructor.
    67         */
    59         */
    73         * Sets the effect type
    65         * Sets the effect type
    74         * @param aType is the effect type
    66         * @param aType is the effect type
    75         */
    67         */
    76         IMPORT_C void SetType( TPhoneTransEffectType aType );
    68         IMPORT_C void SetType( TPhoneTransEffectType aType );
    77 
    69 
    78         /**
    70  
    79         * Sets application uid associated with the effect.
       
    80         * @param    aAppUid, Id of app.
       
    81         * @return   None.
       
    82         */
       
    83         IMPORT_C void SetAppUid( const TUid& aAppUid );
       
    84 
       
    85         /**
    71         /**
    86         * Returns the effect type
    72         * Returns the effect type
    87         * @return Returns the type
    73         * @return Returns the type
    88         */
    74         */
    89         IMPORT_C TPhoneTransEffectType Type() const;
    75         IMPORT_C TPhoneTransEffectType Type() const;
    90 
    76    
    91         /**
       
    92         * Returns App uid associated with the effect.
       
    93         * @param    None.
       
    94         * @return   iAppUid.
       
    95         */
       
    96         IMPORT_C TUid AppUid() const;
       
    97 
       
    98     private:    
    77     private:    
    99         
    78         
   100         /**
    79         /**
   101         * Effect type
    80         * Note type
   102         */
    81         */
   103         TPhoneTransEffectType iType;
    82         TPhoneTransEffectType iType;
   104         
       
   105         /**
       
   106         * App UID
       
   107         */
       
   108         TUid iAppUid;
       
   109 
    83 
   110     };
    84     };
   111 
    85 
   112 #endif // __TPHONECMDPARAMTRANSEFFECT_H   
    86 #endif // __TPHONECMDPARAMTRANSEFFECT_H   
   113             
    87