phoneuis/dialer/src/cdialerstub.cpp
branchRCL_3
changeset 7 544e34b3255a
parent 6 38529f706030
child 10 ba54057fe027
equal deleted inserted replaced
6:38529f706030 7:544e34b3255a
    38     self->ConstructL( aContainer , aRect, aController );
    38     self->ConstructL( aContainer , aRect, aController );
    39     CleanupStack::Pop();    // self
    39     CleanupStack::Pop();    // self
    40     return self;
    40     return self;
    41     }
    41     }
    42 
    42 
       
    43 // ---------------------------------------------------------------------------
       
    44 // CDialer::~CDialer
       
    45 //
    43 // Destructor
    46 // Destructor
       
    47 // ---------------------------------------------------------------------------
       
    48 //
    44 EXPORT_C CDialer::~CDialer()
    49 EXPORT_C CDialer::~CDialer()
    45     {
    50     {
    46     // Empty
    51     // Empty
    47     }
    52     }
    48 
    53 
    61     SetContainerWindowL( aContainer );
    66     SetContainerWindowL( aContainer );
    62     SetParent( const_cast<CCoeControl*>(&aContainer) );
    67     SetParent( const_cast<CCoeControl*>(&aContainer) );
    63     SetRect( aRect );
    68     SetRect( aRect );
    64     }
    69     }
    65 
    70 
    66 // Constructor
    71 // ---------------------------------------------------------------------------
    67 CDialer::CDialer( ) :
    72 // CDialer::CDialer
    68     iEikEnv( *CEikonEnv::Static() )
    73 //
    69     {
    74 // C++ default constructor
    70     // Empty    
    75 // ---------------------------------------------------------------------------
       
    76 //
       
    77 CDialer::CDialer()
       
    78     {
       
    79     // Empty
    71     }
    80     }
    72 
    81 
    73 // -----------------------------------------------------------------------------
    82 // -----------------------------------------------------------------------------
    74 // CDialer::NumberEntry
    83 // CDialer::NumberEntry
    75 //
    84 //
   147 //
   156 //
   148 void CDialer::CreateNumberEntry()
   157 void CDialer::CreateNumberEntry()
   149     {
   158     {
   150     // Empty
   159     // Empty
   151     }
   160     }
   152     
   161 
   153     
       
   154 // ---------------------------------------------------------------------------
   162 // ---------------------------------------------------------------------------
   155 // CDialer::GetNumberEntry
   163 // CDialer::GetNumberEntry
   156 //  
   164 //  
   157 // ---------------------------------------------------------------------------
   165 // ---------------------------------------------------------------------------
   158 //
   166 //
   159 CCoeControl* CDialer::GetNumberEntry( ) const
   167 CCoeControl* CDialer::GetNumberEntry( ) const
   160     {
   168     {
   161     return NULL;
   169     return NULL;
   162     }
   170     }
   163     
   171 
   164 // ---------------------------------------------------------------------------
   172 // ---------------------------------------------------------------------------
   165 // CDialer::IsNumberEntryUsed
   173 // CDialer::IsNumberEntryUsed
   166 //  
   174 //  
   167 // ---------------------------------------------------------------------------
   175 // ---------------------------------------------------------------------------
   168 //
   176 //
   169 TBool CDialer::IsNumberEntryUsed( ) const
   177 TBool CDialer::IsNumberEntryUsed( ) const
   170     {
   178     {
   171     return EFalse;
   179     return EFalse;
   172     }
   180     }
   173     
   181 
   174 // ---------------------------------------------------------------------------
   182 // ---------------------------------------------------------------------------
   175 // CDialer::SetNumberEntryVisible
   183 // CDialer::SetNumberEntryVisible
   176 //  
   184 //  
   177 // ---------------------------------------------------------------------------
   185 // ---------------------------------------------------------------------------
   178 //
   186 //
   179 void CDialer::SetNumberEntryVisible( const TBool& /*aVisibility */)
   187 void CDialer::SetNumberEntryVisible( const TBool& /*aVisibility */)
   180     {
   188     {
   181     // Empty
   189     // Empty
   182     }
   190     }
   183 
   191 
   184     
       
   185 // ---------------------------------------------------------------------------
   192 // ---------------------------------------------------------------------------
   186 // CDialer::SetTextToNumberEntry
   193 // CDialer::SetTextToNumberEntry
   187 //  
   194 //  
   188 // ---------------------------------------------------------------------------
   195 // ---------------------------------------------------------------------------
   189 //
   196 //
   190 void CDialer::SetTextToNumberEntry( const TDesC& /*aDesC */)
   197 void CDialer::SetTextToNumberEntry( const TDesC& /*aDesC */)
   191     {
   198     {
   192     // Empty
   199     // Empty
   193     }
   200     }
   194     
   201 
   195 // ---------------------------------------------------------------------------
   202 // ---------------------------------------------------------------------------
   196 // CDialer::GetTextFromNumberEntry
   203 // CDialer::GetTextFromNumberEntry
   197 //  
   204 //  
   198 // ---------------------------------------------------------------------------
   205 // ---------------------------------------------------------------------------
   199 //
   206 //
   200 void CDialer::GetTextFromNumberEntry( TDes& aDesC )
   207 void CDialer::GetTextFromNumberEntry( TDes& aDesC )
   201     {
   208     {
   202     aDesC = KNullDesC();
   209     aDesC = KNullDesC();
   203     }
   210     }
   204     
   211 
   205 // ---------------------------------------------------------------------------
   212 // ---------------------------------------------------------------------------
   206 // CDialer::RemoveNumberEntry
   213 // CDialer::RemoveNumberEntry
   207 //  
   214 //  
   208 // ---------------------------------------------------------------------------
   215 // ---------------------------------------------------------------------------
   209 //
   216 //
   210 void CDialer::RemoveNumberEntry( )
   217 void CDialer::RemoveNumberEntry( )
   211     {
   218     {
   212     iIsUsed = EFalse;    
   219     iIsUsed = EFalse;    
   213     }
   220     }
   214     
   221 
   215 // ---------------------------------------------------------------------------
   222 // ---------------------------------------------------------------------------
   216 // CDialer::ChangeEditorMode
   223 // CDialer::ChangeEditorMode
   217 //  
   224 //  
   218 // ---------------------------------------------------------------------------
   225 // ---------------------------------------------------------------------------
   219 //
   226 //
   220 TInt CDialer::ChangeEditorMode( TBool /*aDefaultMode */)
   227 TInt CDialer::ChangeEditorMode( TBool /*aDefaultMode */)
   221     {
   228     {
   222     return KErrNotSupported;
   229     return KErrNotSupported;
   223     }
   230     }
   224     
   231 
   225 // ---------------------------------------------------------------------------
   232 // ---------------------------------------------------------------------------
   226 // CDialer::OpenVKBL
   233 // CDialer::OpenVKBL
   227 //  
   234 // 
   228 // ---------------------------------------------------------------------------
   235 // ---------------------------------------------------------------------------
   229 //
   236 //
   230 void CDialer::OpenVkbL()
   237 void CDialer::OpenVkbL()
   231     {
   238     {
   232     // Empty
   239     // Empty
   233     }
   240     }
   234     
   241 
   235 // ---------------------------------------------------------------------------
   242 // ---------------------------------------------------------------------------
   236 // CDialer::GetEditorMode
   243 // CDialer::GetEditorMode
   237 //  
   244 //  
   238 // ---------------------------------------------------------------------------
   245 // ---------------------------------------------------------------------------
   239 //
   246 //
   240 TInt CDialer::GetEditorMode() const
   247 TInt CDialer::GetEditorMode() const
   241     {
   248     {
   242     return KErrNotSupported;
   249     return KErrNotSupported;
   243     }
   250     }
   244     
   251 
   245 // ---------------------------------------------------------------------------
   252 // ---------------------------------------------------------------------------
   246 // CDialer::ResetEditorToDefaultValues
   253 // CDialer::ResetEditorToDefaultValues
   247 //  
   254 //  
   248 // ---------------------------------------------------------------------------
   255 // ---------------------------------------------------------------------------
   249 //
   256 //
   250 void CDialer::ResetEditorToDefaultValues()
   257 void CDialer::ResetEditorToDefaultValues()
   251     {
   258     {
   252     // Empty
   259     // Empty
   253     }
   260     }
   254     
   261 
   255 // ---------------------------------------------------------------------------
   262 // ---------------------------------------------------------------------------
   256 // CDialer::SetNumberEntryPromptText
   263 // CDialer::SetNumberEntryPromptText
   257 //  
   264 //  
   258 // ---------------------------------------------------------------------------
   265 // ---------------------------------------------------------------------------
   259 //    
   266 //    
   260 void CDialer::SetNumberEntryPromptText( const TDesC& /*aPromptText*/ ) 
   267 void CDialer::SetNumberEntryPromptText( const TDesC& /*aPromptText*/ ) 
   261     {
   268     {
   262     // Empty
   269     // Empty
   263     }    
   270     }
   264 
   271 
   265 // ---------------------------------------------------------------------------
   272 // ---------------------------------------------------------------------------
   266 // CDialer::EnableTactileFeedback
   273 // CDialer::EnableTactileFeedback
   267 //  
   274 //  
   268 // ---------------------------------------------------------------------------
   275 // ---------------------------------------------------------------------------
   269 //    
   276 //    
   270 void CDialer::EnableTactileFeedback( const TBool /*aEnable*/ )
   277 void CDialer::EnableTactileFeedback( const TBool /*aEnable*/ )
   271     {
   278     {
   272     // Empty
   279     // Empty
   273     }
   280     }
   274 
       
   275 
   281 
   276 // ---------------------------------------------------------
   282 // ---------------------------------------------------------
   277 // CDialer::HandleQwertyModeChange
   283 // CDialer::HandleQwertyModeChange
   278 // ---------------------------------------------------------
   284 // ---------------------------------------------------------
   279 //
   285 //
   286 // CDialer::HandleKeyboardLayoutChange
   292 // CDialer::HandleKeyboardLayoutChange
   287 // ---------------------------------------------------------
   293 // ---------------------------------------------------------
   288 // 
   294 // 
   289 EXPORT_C void CDialer::HandleKeyboardLayoutChange()
   295 EXPORT_C void CDialer::HandleKeyboardLayoutChange()
   290     {
   296     {
   291      // Empty
   297     // Empty
   292    }
   298     }
   293 
   299 
   294 // ---------------------------------------------------------------------------
   300 // ---------------------------------------------------------------------------
   295 // CDialer::HandleControlEventL
   301 // CDialer::HandleControlEventL
   296 // ---------------------------------------------------------------------------
   302 // ---------------------------------------------------------------------------
   297 //
   303 //
   333 TInt CDialer::CountComponentControls() const
   339 TInt CDialer::CountComponentControls() const
   334     {
   340     {
   335     return 0;
   341     return 0;
   336     }
   342     }
   337 
   343 
   338 
       
   339 // ---------------------------------------------------------------------------
   344 // ---------------------------------------------------------------------------
   340 // CDialer::ComponentControl(TInt aIndex) const
   345 // CDialer::ComponentControl(TInt aIndex) const
   341 //
   346 //
   342 // Returns contained control by given index.
   347 // Returns contained control by given index.
   343 // ---------------------------------------------------------------------------
   348 // ---------------------------------------------------------------------------
   390 void CDialer::HandlePointerEventL( const TPointerEvent& aPointerEvent )
   395 void CDialer::HandlePointerEventL( const TPointerEvent& aPointerEvent )
   391     {
   396     {
   392     // Calling base class implementation
   397     // Calling base class implementation
   393     CCoeControl::HandlePointerEventL(aPointerEvent);    
   398     CCoeControl::HandlePointerEventL(aPointerEvent);    
   394     }
   399     }
   395     
   400 
   396 // ---------------------------------------------------------------------------
   401 // ---------------------------------------------------------------------------
   397 // CDialer::MakeVisible
   402 // CDialer::MakeVisible
   398 // ---------------------------------------------------------------------------
   403 // ---------------------------------------------------------------------------
   399 //
   404 //
   400 void CDialer::MakeVisible( TBool /*aVisible*/ )
   405 void CDialer::MakeVisible( TBool /*aVisible*/ )
   401 	{
   406     {
   402 	}    
   407     }
   403 
   408 
   404 // Private methods
   409 // Private methods
   405 
   410 
   406 
   411 
   407 // -----------------------------------------------------------------------------
   412 // -----------------------------------------------------------------------------
   421 //    
   426 //    
   422 void CDialer::UnLoadResources()
   427 void CDialer::UnLoadResources()
   423     {
   428     {
   424     // Empty
   429     // Empty
   425     }
   430     }
   426     
   431 
   427 // ---------------------------------------------------------------------------
   432 // ---------------------------------------------------------------------------
   428 // CDialer::ComponentControlForDialerMode
   433 // CDialer::ComponentControlForDialerMode
   429 // 
   434 // 
   430 // Returns contained control by given index in ohonedialer mode.
   435 // Returns contained control by given index in ohonedialer mode.
   431 //  
   436 //  
   444 // ---------------------------------------------------------------------------
   449 // ---------------------------------------------------------------------------
   445 //
   450 //
   446 CAknEdwinState* CDialer::EdwinState() const
   451 CAknEdwinState* CDialer::EdwinState() const
   447     {
   452     {
   448     return NULL;
   453     return NULL;
   449     } 
   454     }
   450 
   455 
   451 // ---------------------------------------------------------------------------
   456 // ---------------------------------------------------------------------------
   452 // CDialer::UpdateEdwinState
   457 // CDialer::UpdateEdwinState
   453 //  
   458 //  
   454 // ---------------------------------------------------------------------------
   459 // ---------------------------------------------------------------------------