tvout/tvoutengine/inc/glxtv.h
changeset 52 a3a4c0de738e
parent 43 72396548277c
equal deleted inserted replaced
50:a0f57508af73 52:a3a4c0de738e
    66         
    66         
    67         
    67         
    68 /**
    68 /**
    69  * Class Description
    69  * Class Description
    70  * A class that handles and propagates UI change notifications
    70  * A class that handles and propagates UI change notifications
    71  * @author Loughlin
       
    72  */        
    71  */        
    73 NONSHARABLE_CLASS (CGlxTv) : public CBase,
    72 NONSHARABLE_CLASS (CGlxTv) : public CBase,
    74                              public MGlxWindowVisibilityObserver,
    73                              public MGlxWindowVisibilityObserver,
    75                              public MGlxTvConnectionObserver
    74                              public MGlxTvConnectionObserver
    76     {
    75     {
    92      * Standard C++ constructor
    91      * Standard C++ constructor
    93      * @param a TvObserver     
    92      * @param a TvObserver     
    94      */
    93      */
    95     CGlxTv(MGlxTvObserver& aTvObserver);
    94     CGlxTv(MGlxTvObserver& aTvObserver);
    96     
    95     
    97     /*
    96     /**
    98      * Symbian second stage construction
    97      * Symbian second stage construction
    99      */
    98      */
   100     void ConstructL(); 
    99     void ConstructL(); 
   101    
   100    
   102 public: // class public method   
   101 public: /// class public method   
   103    
   102    
   104     /**
   103     /**
   105      * Get the current screen size
   104      * Get the current screen size
   106      * @return the Screen size in pixels
   105      * @return the Screen size in pixels
   107      */
   106      */
   156      * and the Gallery window groups visiblity 
   155      * and the Gallery window groups visiblity 
   157      */      
   156      */      
   158     void StopMonitoringEnvironment();
   157     void StopMonitoringEnvironment();
   159     
   158     
   160 private: // class member data    
   159 private: // class member data    
   161     // Not Owned: The TV out observer 
   160     /// Not Owned: The TV out observer 
   162     MGlxTvObserver& iTvObserver;
   161     MGlxTvObserver& iTvObserver;
   163 
   162 
   164     // Owned: The Window visibility monitor
   163     /// Owned: The Window visibility monitor
   165     CGlxWindowVisibilityMonitor* iWindowVisibilityMonitor;
   164     CGlxWindowVisibilityMonitor* iWindowVisibilityMonitor;
   166 
   165 
   167     // Owned: The TV connection monitor
   166     /// Owned: The TV connection monitor
   168     CGlxTvConnectionMonitor* iTvConnectionMonitor;
   167     CGlxTvConnectionMonitor* iTvConnectionMonitor;
   169  
   168  
   170     // Size of the TV Out display size
   169     /// Size of the TV Out display size
   171     TSize iSzInPixels;
   170     TSize iSzInPixels;
   172     
   171     
   173     // Owned: The central repository where TV display ratio is held.
   172     /// Owned: The central repository where TV display ratio is held.
   174     CRepository* iCenRep;
   173     CRepository* iCenRep;
   175     
   174     
   176      // The implementation of the class, hidden from clients
   175     /// The implementation of the class, hidden from clients
   177 	class CGlxTvOutCenRepMonitor;
   176 	class CGlxTvOutCenRepMonitor;
   178 	
   177 	
   179 	// Owned: Monitoring class for Tv Ratio Values
   178 	/// Owned: Monitoring class for Tv Ratio Values
   180 	CGlxTvOutCenRepMonitor* iTvDisplayAspectRatioMonitor; 
   179 	CGlxTvOutCenRepMonitor* iTvDisplayAspectRatioMonitor; 
   181 	
   180 	
   182 	// The TV aspect ratio
   181 	/// The TV aspect ratio
   183 	TInt iAspectRatio;
   182 	TInt iAspectRatio;
   184     };
   183     };
   185     
   184     
   186     
   185     
   187 #endif // __GLXTV_H__
   186 #endif // __GLXTV_H__