phoneengine/phoneservices/tsrc/shared/mock_hbdevicemessagebox.cpp
changeset 78 baacf668fe89
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
     1 /*
     1 /** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
     2 * All rights reserved.
     4 * This component and the accompanying materials are made available
     3 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     4 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     5 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     7 *
     9 * Initial Contributors:
     8 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
     9 * Nokia Corporation - initial contribution.
    75         const QString &, rejectButtonText )
    74         const QString &, rejectButtonText )
    76     }
    75     }
    77 
    76 
    78 
    77 
    79 // -----------------------------------------------------------------------------
    78 // -----------------------------------------------------------------------------
       
    79 // HbDeviceMessageBox::question
       
    80 // -----------------------------------------------------------------------------
       
    81 //
       
    82 bool HbDeviceMessageBox::question( 
       
    83         const QString & text,
       
    84         HbMessageBox::StandardButtons buttons )
       
    85     {
       
    86     SMC_MOCK_METHOD2( bool, const QString &, text, 
       
    87         int /*HbMessageBox::StandardButtons*/, buttons )
       
    88     }
       
    89 
       
    90 
       
    91 // -----------------------------------------------------------------------------
    80 // HbDeviceMessageBox::information
    92 // HbDeviceMessageBox::information
    81 // -----------------------------------------------------------------------------
    93 // -----------------------------------------------------------------------------
    82 //
    94 //
    83 void HbDeviceMessageBox::information( 
    95 void HbDeviceMessageBox::information( 
    84         const QString & text )
    96         const QString & text )
   175 // -----------------------------------------------------------------------------
   187 // -----------------------------------------------------------------------------
   176 //
   188 //
   177 HbMessageBox::MessageBoxType HbDeviceMessageBox::messageBoxType(  ) const
   189 HbMessageBox::MessageBoxType HbDeviceMessageBox::messageBoxType(  ) const
   178     {
   190     {
   179     SMC_MOCK_METHOD0( HbMessageBox::MessageBoxType )
   191     SMC_MOCK_METHOD0( HbMessageBox::MessageBoxType )
       
   192     }
       
   193 
       
   194 
       
   195 // -----------------------------------------------------------------------------
       
   196 // HbDeviceMessageBox::setStandardButtons
       
   197 // -----------------------------------------------------------------------------
       
   198 //
       
   199 void HbDeviceMessageBox::setStandardButtons( 
       
   200         HbMessageBox::StandardButtons buttons )
       
   201     {
       
   202     SMC_MOCK_METHOD1( void, int /* HbMessageBox::StandardButtons*/, buttons )
       
   203     }
       
   204 
       
   205 
       
   206 // -----------------------------------------------------------------------------
       
   207 // HbDeviceMessageBox::standardButtons
       
   208 // -----------------------------------------------------------------------------
       
   209 //
       
   210 HbMessageBox::StandardButtons HbDeviceMessageBox::standardButtons(  ) const
       
   211     {
       
   212     SMC_MOCK_METHOD0( int /*HbMessageBox::StandardButtons*/ )
   180     }
   213     }
   181 
   214 
   182 
   215 
   183 // -----------------------------------------------------------------------------
   216 // -----------------------------------------------------------------------------
   184 // HbDeviceMessageBox::setText
   217 // HbDeviceMessageBox::setText