omxilvideocomps/omxilclock/src/clockpanics.h
changeset 0 5d29cba61097
equal deleted inserted replaced
-1:000000000000 0:5d29cba61097
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21  */
       
    22 
       
    23 #ifndef CLOCKPANICS_H_
       
    24 #define CLOCKPANICS_H_
       
    25 
       
    26 enum TClockPanicCode
       
    27 	{
       
    28 	EBufferUnderflow = 0,				// ran out of buffers with which to issue notifications
       
    29 	/*ERequestOverflow = 1,				// NO LONGER USED. previously, too many media time requests to add to pending queue*/
       
    30 	EBadAlignment = 2,					// unexpected pointer alignment
       
    31 	EMutexUnheld = 3,					// the mutex was expected to be held but it was not
       
    32 	ERequestQueueCorrupt = 4,			// request queue structure in an inconsistent state
       
    33 	ERequestQueueUnordered = 5,			// request queue trigger times not in ascending order
       
    34 	EBufferQueueOverflow = 6,			// error adding buffer to queue. this shouldn't happen
       
    35 										// as queue is preallocated with total buffer count
       
    36 	ECompatibilityCheckOnOutput = 7,	// IsTunnelledPortCompatible() was called on output port which shouldn't happen
       
    37 	EBufferFlushingInvalidPort = 8,		// Invalid port index passed to BufferFlushingIndication() routine
       
    38 	ECallbackManagerBufferError = 9,	// The callback manager returned an error during BufferDoneNotification,
       
    39 	                                	// this is not expected since the callee component should handle an error internally
       
    40 	ECallbackManagerEventError = 10,	// The callback manager returned an error during EventNotification,
       
    41 	                                	// this is not expected since the client should handle an error internally
       
    42 	
       
    43 	EUndefinedErrorCode = 1000			// received an error code that isn't translated (debug builds only)
       
    44 	};
       
    45 
       
    46 void Panic(TClockPanicCode aCode);
       
    47 
       
    48 #endif /*CLOCKPANICS_H_*/