tvout/tvoutengine/inc/glxactivecallback.h
changeset 52 a3a4c0de738e
parent 26 c499df2dbb33
equal deleted inserted replaced
50:a0f57508af73 52:a3a4c0de738e
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:    Handles & propogates UI state change notifications.
    14 * Description:    
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #ifndef CGLXACTIVE_CALLBACK_H
    19 #ifndef CGLXACTIVE_CALLBACK_H
    29     public:
    29     public:
    30         CGlxActiveCallBack( TCallBack aCallBack, TInt aPriority): CActive(aPriority), 
    30         CGlxActiveCallBack( TCallBack aCallBack, TInt aPriority): CActive(aPriority), 
    31                                                                   iCallBack(aCallBack) {};
    31                                                                   iCallBack(aCallBack) {};
    32         CGlxActiveCallBack();
    32         CGlxActiveCallBack();
    33     	
    33     	
    34     public: // Functions from base classes
    34     public: /// Functions CActive
    35 		void SetActive() { CActive::SetActive();}; 
    35 		void SetActive() { CActive::SetActive();}; 
    36 		void RunL() { iCallBack.CallBack();};
    36 		void RunL() { iCallBack.CallBack();};
    37  		void DoCancel() {};
    37  		void DoCancel() {};
    38  		
    38  		
    39    	private: // Data
    39    	private: /// Data
    40 		TCallBack iCallBack;
    40 		TCallBack iCallBack;
    41     };
    41     };
    42 
    42 
    43 #endif // CGLXACTIVE_CALLBACK_H
    43 #endif // CGLXACTIVE_CALLBACK_H
    44 
    44