diff -r 0fd27995241b -r 9ac0a0a7da70 javauis/runtimeui_qt/src.s60/runtimeuiqt.h --- a/javauis/runtimeui_qt/src.s60/runtimeuiqt.h Tue May 11 16:07:20 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,56 +0,0 @@ -/* -* Copyright (c) 2007 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" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - - -#ifndef RUNTIME_UI_QT_H -#define RUNTIME_UI_QT_H - -#include "javaosheaders.h" -#include - -namespace java -{ -namespace runtimeui -{ -class RuntimeUiQt -{ -public: - /** - * Show error dialog to user. This is blocking call and execution does not proceed until - * has pressed OK button. - * - * @param aAppName Application name error occurred. - * @param aShortMesg Short error description. - * @param aDetailedMsg Detailed error description. - */ - OS_IMPORT static void errorL(const TDesC& aAppName, const TDesC& aShortMsg, const TDesC& aDetailedMsg); - - /** - * Request permission to user. This is blocking call and execution does not proceed until - * has accepted or denied the permission. - * - * @param aAppName Application name requesting confirmation. - * @param aQuestion Security question. - * @return 1 if user accepts the request, 0 otherwise. - */ - OS_IMPORT static int confirmL(const TDesC& aAppName, const TDesC& aQuestion); -}; - -} //end namespace runtimeui -} //end namespace java - -#endif //RUNTIME_UI_QT_H