filebrowser/ui/inc/notifications.h
branchRCL_3
changeset 46 fad26422216a
parent 45 b3cee849fa46
child 49 f8280f3bfeb7
equal deleted inserted replaced
45:b3cee849fa46 46:fad26422216a
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef NOTIFICATIONS_H_
       
    19 #define NOTIFICATIONS_H_
       
    20 
       
    21 #include <hbmessagebox.h>
       
    22 
       
    23 class HbProgressDialog;
       
    24 
       
    25 class Notifications
       
    26 {
       
    27 public:
       
    28     static void showAboutNote();
       
    29     static void showMessageBox(HbMessageBox::MessageBoxType type, const QString &text, const QString &label, int timeout = HbPopup::NoTimeout);
       
    30     static void showInformationNote(const QString &text, const QString &title = QString());
       
    31     static void showErrorNote(const QString &text, bool noTimeout = false);
       
    32     static void showConfirmationNote(const QString &text, bool noTimeout = false);
       
    33     static bool showConfirmationQuery(const QString &aText);
       
    34 };
       
    35 
       
    36 #endif // NOTIFICATIONS_H_