uidesigner/com.nokia.sdt.series60.componentlibrary/templates/Series 60 v3.0 EXE/inc/baseName.pan
author dadubrow
Wed, 25 Mar 2009 10:19:20 -0500
changeset 6 f5529458ffba
parent 2 d760517a8095
permissions -rw-r--r--
merge commit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
cawthron
parents:
diff changeset
     2
#ifndef $(baseNameUpper)_PAN_H
cawthron
parents:
diff changeset
     3
#define $(baseNameUpper)_PAN_H
cawthron
parents:
diff changeset
     4
cawthron
parents:
diff changeset
     5
/** $(baseName) application panic codes */
cawthron
parents:
diff changeset
     6
enum T$(baseName)Panics
cawthron
parents:
diff changeset
     7
	{
cawthron
parents:
diff changeset
     8
	E$(baseName)Ui = 1
cawthron
parents:
diff changeset
     9
	// add further panics here
cawthron
parents:
diff changeset
    10
	};
cawthron
parents:
diff changeset
    11
cawthron
parents:
diff changeset
    12
inline void Panic(T$(baseName)Panics aReason)
cawthron
parents:
diff changeset
    13
	{
cawthron
parents:
diff changeset
    14
	_LIT(applicationName,"$(baseName)");
cawthron
parents:
diff changeset
    15
	User::Panic(applicationName, aReason);
cawthron
parents:
diff changeset
    16
	}
cawthron
parents:
diff changeset
    17
cawthron
parents:
diff changeset
    18
#endif // $(baseNameUpper)_PAN_H