camerauis/cameraapp/generic/src/CamPropertyWatcher.cpp
branchRCL_3
changeset 13 38fb6f7eacd5
parent 0 1ddebce53859
equal deleted inserted replaced
12:51dda465e618 13:38fb6f7eacd5
    61 // -----------------------------------------------------------------------------
    61 // -----------------------------------------------------------------------------
    62 //
    62 //
    63 void CCamPropertyWatcher::Subscribe()
    63 void CCamPropertyWatcher::Subscribe()
    64     {
    64     {
    65     PRINT( _L( "Camera => CCamPropertyWatcher::Subscribe()" ) )
    65     PRINT( _L( "Camera => CCamPropertyWatcher::Subscribe()" ) )
    66     iProperty.Subscribe( iStatus );
    66     if(!IsActive())
    67     SetActive();
    67         {
       
    68         iProperty.Subscribe( iStatus );
       
    69         SetActive();
       
    70         }
    68     PRINT( _L( "Camera <= CCamPropertyWatcher::Subscribe()" ) )
    71     PRINT( _L( "Camera <= CCamPropertyWatcher::Subscribe()" ) )
    69     }
    72     }
    70 
    73 
    71 // -----------------------------------------------------------------------------
    74 // -----------------------------------------------------------------------------
    72 // CCamPropertyWatcher::Get
    75 // CCamPropertyWatcher::Get