filebrowser/ui/inc/notifications.h
author hgs
Thu, 13 May 2010 20:59:38 +0300
changeset 24 6053b7ae82ab
parent 17 4f2773374eff
child 25 31fc1277642e
permissions -rw-r--r--
201017_1

/*
* 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"
* 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 NOTIFICATIONS_H_
#define NOTIFICATIONS_H_

//#include <hbdeviceprogressdialog.h>
#include <hbmessagebox.h>

class Notifications
    {
public:
    
    /**
     * shows about box
     */
    static void about();
    static void showMessageBox(HbMessageBox::MessageBoxType type, const QString &text, const QString &label, int timeout = HbPopup::NoTimeout);
    static void showInformationNote(const QString &text);
    static void showErrorNote(const QString &text, bool noTimeout = false);
    static void showConfirmationNote(const QString &text, bool noTimeout = false);
    static bool showConfirmationQuery(const QString &aText);
    
//     /**
//     * shows progressbar
//     */
//    static HbDeviceProgressDialog* showWaitDialog(const QString &text);
 
private:
    
//    /**
//     * shows global HbGlobalCommonNote type note
//     */
//    static void showGlobalNote(const QString& text, HbCommonNote::NoteType type);
    
    };



#endif // NOTIFICATIONS_H_