notepad/notepad1/inc/NpdLibPanic.h
branchRCL_3
changeset 30 bd7edf625bdd
parent 0 f979ecb2b13e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/notepad/notepad1/inc/NpdLibPanic.h	Wed Sep 01 12:32:31 2010 +0100
@@ -0,0 +1,56 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Declaration of Panic Codes of Notepad Libarary.
+*
+*/
+
+
+#ifndef NPDLIBPANIC_H
+#define NPDLIBPANIC_H
+
+// INCLUDES
+#include <e32def.h>
+
+enum TNotepadLibraryPanic
+    {
+    ENotepadLibraryPanicInvalidArgument,
+    ENotepadLibraryPanicInvalidKey,
+    ENotepadLibraryPanicNullDataFileName,
+    ENotepadLibraryPanicDatabaseAlreadyOpened,
+    ENotepadLibraryPanicInvalidRowInView,
+    ENotepadLibraryPanicNoModel,
+    ENotepadLibraryPanicNoEdwin,
+    ENotepadLibraryPanicNoTextInEdwin,
+    ENotepadLibraryPanicNoMenuResource,
+    ENotepadLibraryPanicNullMenuPane,
+    ENotepadLibraryPanicEditorInvalidMode,
+    ENotepadLibraryPanicEditorEmpty,
+    ENotepadLibraryPanicNullSequenceInEditor,
+    ENotepadLibraryPanicNoPaperLines,
+    ENotepadLibraryPanicNoControlForDecorationGraphics,
+    ENotepadLibraryPanicOnlySupportedInNotepad,
+    ENotepadLibraryPanicInvalidIndex,
+    ENotepadLibraryPanicNoItem,
+    ENotepadLibraryPanicInvalidFinalValueOfProgressNote,
+    ENotepadLibraryPanicNullListControl,
+    ENotepadLibraryPanicInvalidWidthOfListBox,
+    ENotepadLibraryPanicNoFileSpecified,
+    ENotepadLibraryPanicProgressDialogNotReady
+    };
+
+GLREF_C void Panic(TNotepadLibraryPanic aPanic);
+
+#endif // NPDLIBPANIC_H
+
+// End of File