--- a/phoneengine/phoneservices/tsrc/shared/mock_hbdevicemessagebox.cpp Mon Oct 04 16:06:10 2010 +0300
+++ b/phoneengine/phoneservices/tsrc/shared/mock_hbdevicemessagebox.cpp Fri Oct 15 12:58:46 2010 +0300
@@ -1,8 +1,7 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+/** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
+* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
@@ -77,6 +76,19 @@
// -----------------------------------------------------------------------------
+// HbDeviceMessageBox::question
+// -----------------------------------------------------------------------------
+//
+bool HbDeviceMessageBox::question(
+ const QString & text,
+ HbMessageBox::StandardButtons buttons )
+ {
+ SMC_MOCK_METHOD2( bool, const QString &, text,
+ int /*HbMessageBox::StandardButtons*/, buttons )
+ }
+
+
+// -----------------------------------------------------------------------------
// HbDeviceMessageBox::information
// -----------------------------------------------------------------------------
//
@@ -181,6 +193,27 @@
// -----------------------------------------------------------------------------
+// HbDeviceMessageBox::setStandardButtons
+// -----------------------------------------------------------------------------
+//
+void HbDeviceMessageBox::setStandardButtons(
+ HbMessageBox::StandardButtons buttons )
+ {
+ SMC_MOCK_METHOD1( void, int /* HbMessageBox::StandardButtons*/, buttons )
+ }
+
+
+// -----------------------------------------------------------------------------
+// HbDeviceMessageBox::standardButtons
+// -----------------------------------------------------------------------------
+//
+HbMessageBox::StandardButtons HbDeviceMessageBox::standardButtons( ) const
+ {
+ SMC_MOCK_METHOD0( int /*HbMessageBox::StandardButtons*/ )
+ }
+
+
+// -----------------------------------------------------------------------------
// HbDeviceMessageBox::setText
// -----------------------------------------------------------------------------
//