epoc32/include/mmf/common/mmferrors.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/mmf/common/mmferrors.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,156 +0,0 @@
     1.4 -// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#ifndef __MMFERRORS_H__
    1.20 -#define __MMFERRORS_H__
    1.21 -
    1.22 -#include <e32base.h>
    1.23 -
    1.24 -/**
    1.25 -Base of the Multimedia Subsystem error code allocation.
    1.26 -*/
    1.27 -const TInt KErrMMBase = -12000;
    1.28 -
    1.29 -
    1.30 -// Error codes for the CVideoPlayerUtility API
    1.31 -/**
    1.32 -Not enough network bandwidth.
    1.33 -*/
    1.34 -const TInt KErrMMNotEnoughBandwidth = KErrMMBase;
    1.35 -
    1.36 -/**
    1.37 -Error locating network socket services.
    1.38 -*/
    1.39 -const TInt KErrMMSocketServiceNotFound = KErrMMBase - 1;	
    1.40 -
    1.41 -/**
    1.42 -An error occurred while reading data from the network.
    1.43 -*/
    1.44 -const TInt KErrMMNetworkRead = KErrMMBase - 2;
    1.45 -
    1.46 -/**
    1.47 -An error occurred while writing data to the network.
    1.48 -*/
    1.49 -const TInt KErrMMNetworkWrite = KErrMMBase - 3;	
    1.50 -
    1.51 -/**
    1.52 -Invalid socket error or An error occurred while creating a network socket.
    1.53 -*/
    1.54 -const TInt KErrMMServerSocket = KErrMMBase - 4;
    1.55 -
    1.56 -/**
    1.57 -Streaming Server not supported.
    1.58 -*/
    1.59 -const TInt KErrMMServerNotSupported = KErrMMBase - 5;
    1.60 -
    1.61 -/**
    1.62 -Server alert.
    1.63 -*/
    1.64 -const TInt KErrMMServerAlert = KErrMMBase - 6;
    1.65 -
    1.66 -/**
    1.67 -Player cannot receive UDP data packets.
    1.68 -*/
    1.69 -const TInt KErrMMUDPReceive = KErrMMBase - 7;
    1.70 -
    1.71 -/**
    1.72 -Network transport not recognized.
    1.73 -*/
    1.74 -const TInt KErrMMInvalidProtocol = KErrMMBase - 8;
    1.75 -
    1.76 -/**
    1.77 -Invalid URL.
    1.78 -*/
    1.79 -const TInt KErrMMInvalidURL = KErrMMBase - 9;
    1.80 -
    1.81 -/**
    1.82 -An error occured attempting to join or access multicast session.
    1.83 -*/
    1.84 -const TInt KErrMMMulticast = KErrMMBase - 10;
    1.85 -
    1.86 -/**
    1.87 -Proxy status error, Proxy invalid response error or Invalid hostname for proxy.
    1.88 -*/
    1.89 -const TInt KErrMMProxyServer = KErrMMBase - 11;
    1.90 -
    1.91 -/**
    1.92 -Client cannot support proxy server.
    1.93 -*/
    1.94 -const TInt KErrMMProxyServerNotSupported = KErrMMBase - 12;
    1.95 -
    1.96 -/**
    1.97 -Unable to locate proxy server or Proxy connection could not be established.
    1.98 -*/
    1.99 -const TInt KErrMMProxyServerConnect = KErrMMBase - 13;
   1.100 -
   1.101 -/**
   1.102 -Cannot open audio device, or lost control of audiodevice.
   1.103 -*/
   1.104 -const TInt KErrMMAudioDevice = KErrMMBase - 14;
   1.105 -
   1.106 -/**
   1.107 -Problem blitting video to display.
   1.108 -*/
   1.109 -const TInt KErrMMVideoDevice = KErrMMBase - 15;
   1.110 -
   1.111 -/**
   1.112 -Invalid decoder, decoder not properly initialized, or appropriate decoder could not be found.
   1.113 -*/
   1.114 -const TInt KErrMMDecoder = KErrMMBase - 16;
   1.115 -
   1.116 -/**
   1.117 -Only able to play either the audio or the video portion of the media file. Could be due to a
   1.118 -codec that isn't supported, the video frame size being too large etc.
   1.119 -*/
   1.120 -const TInt KErrMMPartialPlayback = KErrMMBase - 17;
   1.121 -
   1.122 -/**
   1.123 -Digital Rights have expired.
   1.124 -*/
   1.125 -const TInt KErrMMDRMNotAuthorized = KErrMMBase - 18;
   1.126 -
   1.127 -//Error codes for Quality of Service
   1.128 -
   1.129 -/**
   1.130 -Low Bandwidth.
   1.131 -*/
   1.132 -const TInt KErrMMQosLowBandwidth = KErrMMBase - 19;
   1.133 -
   1.134 -/**
   1.135 -Traffic Class not supported.
   1.136 -*/
   1.137 -const TInt KErrMMQosUnsupportedTrafficClass = KErrMMBase - 20;
   1.138 -
   1.139 -/**
   1.140 -Poor or unsufficient Traffic Class. 
   1.141 -*/
   1.142 -const TInt KErrMMQosPoorTrafficClass = KErrMMBase - 21;
   1.143 -
   1.144 -/**
   1.145 -Parameters not supported.
   1.146 -*/
   1.147 -const TInt KErrMMQosUnsupportedParameters = KErrMMBase - 22;
   1.148 -
   1.149 -/**
   1.150 -Poor or unsufficient Parameters.
   1.151 -*/
   1.152 -const TInt KErrMMQosPoorParameters = KErrMMBase - 23;
   1.153 -
   1.154 -/**
   1.155 -Not supported.
   1.156 -*/
   1.157 -const TInt KErrMMQosNotSupported = KErrMMBase - 24;
   1.158 -
   1.159 -#endif