30 // Constructor. |
30 // Constructor. |
31 // --------------------------------------------------------------------------- |
31 // --------------------------------------------------------------------------- |
32 CLockAppBaseControl::CLockAppBaseControl( MLockAppStateControl& aStateControl ) : |
32 CLockAppBaseControl::CLockAppBaseControl( MLockAppStateControl& aStateControl ) : |
33 iStateControl(aStateControl), iWindowGroup( iEikonEnv->RootWin()) |
33 iStateControl(aStateControl), iWindowGroup( iEikonEnv->RootWin()) |
34 { |
34 { |
35 RDebug::Printf( "%s %s (%u) 1=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, 1 ); |
35 INFO_4( "%s %s (%u) 1=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, 1 ); |
36 } |
36 } |
37 |
37 |
38 // --------------------------------------------------------------------------- |
38 // --------------------------------------------------------------------------- |
39 // Second phase constructor. |
39 // Second phase constructor. |
40 // --------------------------------------------------------------------------- |
40 // --------------------------------------------------------------------------- |
41 void CLockAppBaseControl::ConstructL( ) |
41 void CLockAppBaseControl::ConstructL( ) |
42 { |
42 { |
43 RDebug::Printf( "%s %s (%u) 1=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, 1 ); |
43 INFO_4( "%s %s (%u) 1=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, 1 ); |
44 iKeyPattern = CLockAppKeyPattern::NewL( ); |
44 iKeyPattern = CLockAppKeyPattern::NewL( ); |
45 } |
45 } |
46 |
46 |
47 // --------------------------------------------------------------------------- |
47 // --------------------------------------------------------------------------- |
48 // Destructor. |
48 // Destructor. |
174 // --------------------------------------------------------------------------- |
174 // --------------------------------------------------------------------------- |
175 // Capture/uncapture primary keys |
175 // Capture/uncapture primary keys |
176 // --------------------------------------------------------------------------- |
176 // --------------------------------------------------------------------------- |
177 void CLockAppBaseControl::CapturePrimaryKeys( const TBool aCapture ) |
177 void CLockAppBaseControl::CapturePrimaryKeys( const TBool aCapture ) |
178 { |
178 { |
179 RDebug::Printf( "%s %s (%u) aCapture=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, aCapture ); |
179 INFO_4( "%s %s (%u) aCapture=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, aCapture ); |
180 RDebug::Printf( "%s %s (%u) iKeyPattern=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, iKeyPattern ); |
180 INFO_4( "%s %s (%u) iKeyPattern=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, iKeyPattern ); |
181 if ( iKeyPattern ) |
181 if ( iKeyPattern ) |
182 { |
182 { |
183 if ( aCapture ) |
183 if ( aCapture ) |
184 { |
184 { |
185 // capture primary keys |
185 // capture primary keys |