videocollection/tsrc/stubs/inc/hbmessageboxdata.h
branchRCL_3
changeset 56 839377eedc2b
equal deleted inserted replaced
54:315810614048 56:839377eedc2b
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:  HbMessageBox class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef HBMESSAGEBOXDATA_H
       
    20 #define HBMESSAGEBOXDATA_H
       
    21 
       
    22 class HbMessageBoxData
       
    23 {
       
    24 public:
       
    25     static void reset()
       
    26     {
       
    27         mQuestionReturnValue = false;
       
    28         mLatestTxt = "";
       
    29         mWarningCallCount = 0;
       
    30         mInformationCallCount = 0;
       
    31         mType = -1;
       
    32         mAttribute = -1;
       
    33         mOpenCallCount = 0;
       
    34         mShowCallCount = 0;
       
    35     }
       
    36     
       
    37 public: // data
       
    38     static bool mQuestionReturnValue;
       
    39     static QString mLatestTxt;
       
    40     static int mWarningCallCount;
       
    41     static int mInformationCallCount;
       
    42     static int mType;
       
    43     static int mAttribute;
       
    44     static int mOpenCallCount;
       
    45     static int mShowCallCount;
       
    46 };
       
    47 
       
    48 #endif // HBMESSAGEBOXDATA_H_