videoplayback/videoplaybackview/tsrc/testvideoplaybackview/stub/inc/hbmessagebox.h
equal
deleted
inserted
replaced
|
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: stub hbmessagebox |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 1 % |
|
19 |
|
20 |
|
21 |
|
22 #ifndef HBMESSAGEBOX_H |
|
23 #define HBMESSAGEBOX_H |
|
24 |
|
25 #include "hbdialog.h" |
|
26 |
|
27 class HbMessageBox : public HbDialog |
|
28 { |
|
29 Q_OBJECT |
|
30 |
|
31 public: |
|
32 |
|
33 enum MessageBoxType { |
|
34 MessageTypeWarning |
|
35 }; |
|
36 enum StandardButton { |
|
37 NoButton = 0x00000000, |
|
38 }; |
|
39 |
|
40 HbMessageBox(const QString &txt, int type) |
|
41 { |
|
42 Q_UNUSED(txt); |
|
43 Q_UNUSED(type); |
|
44 mMessageBConstructCount++; |
|
45 } |
|
46 virtual ~HbMessageBox() |
|
47 { |
|
48 |
|
49 } |
|
50 void setStandardButtons(int value) |
|
51 { |
|
52 Q_UNUSED(value); |
|
53 } |
|
54 |
|
55 static int mMessageBConstructCount; |
|
56 }; |
|
57 |
|
58 #endif /*HBMESSAGEBOX_H*/ |
|
59 |