equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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: Implementation Panic function for all Startup Animation |
|
15 * components to use. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include <e32debug.h> |
|
21 |
|
22 #include "sanimpanic.h" |
|
23 |
|
24 _LIT( KSAnimPanicCategory, "STARTUPANIMATION" ); |
|
25 |
|
26 // ======== MEMBER FUNCTIONS ======== |
|
27 |
|
28 // --------------------------------------------------------------------------- |
|
29 // SAnimPanic::Panic |
|
30 // |
|
31 // --------------------------------------------------------------------------- |
|
32 // |
|
33 EXPORT_C void SAnimPanic::Panic( |
|
34 const TPanicCode aPanicCode, |
|
35 const TDesC8& aFileName, |
|
36 const TInt aLineNum ) |
|
37 { |
|
38 TPath name; |
|
39 name.Copy( aFileName ); |
|
40 RDebug::Print( _L( "Assertion failed in file=%S, line=%d" ), &name, aLineNum ); |
|
41 |
|
42 User::Panic( KSAnimPanicCategory, aPanicCode ); |
|
43 } |