photosgallery/viewframework/tvout/inc/glxtv.h
branchRCL_3
changeset 32 78ad99c24f08
parent 4 57d388cc48c1
equal deleted inserted replaced
30:a60acebbbd9d 32:78ad99c24f08
    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:    Handles & propogates UI state change notifications.
    15 *
    15 * Though the name might suggest it handles only Tv events but it handles
       
    16 * other related peripherals as well - e.g. HDMI, Headsets.
    16 */
    17 */
    17 
    18 
    18 
    19 
    19 
    20 
    20 /**
    21 /**
    54 // For Tv connection notification
    55 // For Tv connection notification
    55 class MGlxTvConnectionObserver
    56 class MGlxTvConnectionObserver
    56     {
    57     {
    57 public:
    58 public:
    58     /**
    59     /**
    59      * Handle TV connection state changes
    60      * Handle TV/HDMI/Headset connection state changes
       
    61      * @param aChangeType The connection change type
    60      */
    62      */
    61     virtual void HandleTvConnectionStatusChangedL( ) = 0;
    63     virtual void HandleTvConnectionStatusChangedL(TTvChangeType aChangeType) = 0;
    62     };
    64     };
    63         
    65         
    64         
    66         
    65         
    67         
    66         
    68         
   133                                 
   135                                 
   134 public: // from MGlxTvConnectionObserver
   136 public: // from MGlxTvConnectionObserver
   135     /**
   137     /**
   136      * @ref MGlxTvConnectionObserver::HandleTvConnectionStatusChangedL
   138      * @ref MGlxTvConnectionObserver::HandleTvConnectionStatusChangedL
   137      */
   139      */
   138     void HandleTvConnectionStatusChangedL( );
   140     void HandleTvConnectionStatusChangedL(TTvChangeType aChangeType);
   139     
   141     
   140 private: // new private methods
   142 private: // new private methods
   141     /**
   143     /**
   142      * Retrive the TV Display Aspect Ratio and TV Setting
   144      * Retrive the TV Display Aspect Ratio and TV Setting
   143      * Calculate the screen size from aspect ratio and TV type
   145      * Calculate the screen size from aspect ratio and TV type