author | msekine <m.sekine@kthree.co.jp> |
Wed, 31 Mar 2010 00:04:55 +0900 | |
branch | RCL_3 |
changeset 12 | 613a5ff70823 |
child 15 | 2275db202402 |
permissions | -rw-r--r-- |
12
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
1 |
/* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
2 |
* Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd. |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
3 |
* All rights reserved. |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
8 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
10 |
* Kanrikogaku Kenkyusho, Ltd. - Initial contribution |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
11 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
12 |
* Contributors: |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
13 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
14 |
* Description: |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
15 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
16 |
*/ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
17 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
18 |
#ifndef __DIRECTPRINTAPP_PAN__ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
19 |
#define __DIRECTPRINTAPP_PAN__ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
20 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
21 |
#include <e32std.h> |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
22 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
23 |
/** DirectPrintApp application panic codes */ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
24 |
enum TDirectPrintAppPanics |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
25 |
{ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
26 |
EDirectPrintAppUi = 1, |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
27 |
EDirectPrintNoObserver, |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
28 |
EDirectPrintNullPointer, |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
29 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
30 |
EDirectPrintEnd |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
31 |
}; |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
32 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
33 |
inline void Panic(TDirectPrintAppPanics aReason) |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
34 |
{ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
35 |
_LIT(applicationName, "DirectPrintApp"); |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
36 |
User::Panic(applicationName, aReason); |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
37 |
} |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
38 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
39 |
#endif // __DIRECTPRINTAPP_PAN__ |