os/mm/mmlibs/mmfw/inc/mmf/common/mmferrors.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/mm/mmlibs/mmfw/inc/mmf/common/mmferrors.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,162 @@
     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 "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.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 +/**
    1.20 + @file
    1.21 + @publishedPartner
    1.22 + @released
    1.23 +*/
    1.24 +
    1.25 +#ifndef MMFERRORS_H
    1.26 +#define MMFERRORS_H
    1.27 +
    1.28 +#include <e32base.h>
    1.29 +
    1.30 +/**
    1.31 +Base of the Multimedia Subsystem error code allocation.
    1.32 +*/
    1.33 +const TInt KErrMMBase = -12000;
    1.34 +
    1.35 +
    1.36 +// Error codes for the CVideoPlayerUtility API
    1.37 +/**
    1.38 +Not enough network bandwidth.
    1.39 +*/
    1.40 +const TInt KErrMMNotEnoughBandwidth = KErrMMBase;
    1.41 +
    1.42 +/**
    1.43 +Error locating network socket services.
    1.44 +*/
    1.45 +const TInt KErrMMSocketServiceNotFound = KErrMMBase - 1;	
    1.46 +
    1.47 +/**
    1.48 +An error occurred while reading data from the network.
    1.49 +*/
    1.50 +const TInt KErrMMNetworkRead = KErrMMBase - 2;
    1.51 +
    1.52 +/**
    1.53 +An error occurred while writing data to the network.
    1.54 +*/
    1.55 +const TInt KErrMMNetworkWrite = KErrMMBase - 3;	
    1.56 +
    1.57 +/**
    1.58 +Invalid socket error or An error occurred while creating a network socket.
    1.59 +*/
    1.60 +const TInt KErrMMServerSocket = KErrMMBase - 4;
    1.61 +
    1.62 +/**
    1.63 +Streaming Server not supported.
    1.64 +*/
    1.65 +const TInt KErrMMServerNotSupported = KErrMMBase - 5;
    1.66 +
    1.67 +/**
    1.68 +Server alert.
    1.69 +*/
    1.70 +const TInt KErrMMServerAlert = KErrMMBase - 6;
    1.71 +
    1.72 +/**
    1.73 +Player cannot receive UDP data packets.
    1.74 +*/
    1.75 +const TInt KErrMMUDPReceive = KErrMMBase - 7;
    1.76 +
    1.77 +/**
    1.78 +Network transport not recognized.
    1.79 +*/
    1.80 +const TInt KErrMMInvalidProtocol = KErrMMBase - 8;
    1.81 +
    1.82 +/**
    1.83 +Invalid URL.
    1.84 +*/
    1.85 +const TInt KErrMMInvalidURL = KErrMMBase - 9;
    1.86 +
    1.87 +/**
    1.88 +An error occured attempting to join or access multicast session.
    1.89 +*/
    1.90 +const TInt KErrMMMulticast = KErrMMBase - 10;
    1.91 +
    1.92 +/**
    1.93 +Proxy status error, Proxy invalid response error or Invalid hostname for proxy.
    1.94 +*/
    1.95 +const TInt KErrMMProxyServer = KErrMMBase - 11;
    1.96 +
    1.97 +/**
    1.98 +Client cannot support proxy server.
    1.99 +*/
   1.100 +const TInt KErrMMProxyServerNotSupported = KErrMMBase - 12;
   1.101 +
   1.102 +/**
   1.103 +Unable to locate proxy server or Proxy connection could not be established.
   1.104 +*/
   1.105 +const TInt KErrMMProxyServerConnect = KErrMMBase - 13;
   1.106 +
   1.107 +/**
   1.108 +Cannot open audio device, or lost control of audiodevice.
   1.109 +*/
   1.110 +const TInt KErrMMAudioDevice = KErrMMBase - 14;
   1.111 +
   1.112 +/**
   1.113 +Problem blitting video to display.
   1.114 +*/
   1.115 +const TInt KErrMMVideoDevice = KErrMMBase - 15;
   1.116 +
   1.117 +/**
   1.118 +Invalid decoder, decoder not properly initialized, or appropriate decoder could not be found.
   1.119 +*/
   1.120 +const TInt KErrMMDecoder = KErrMMBase - 16;
   1.121 +
   1.122 +/**
   1.123 +Only able to play either the audio or the video portion of the media file. Could be due to a
   1.124 +codec that isn't supported, the video frame size being too large etc.
   1.125 +*/
   1.126 +const TInt KErrMMPartialPlayback = KErrMMBase - 17;
   1.127 +
   1.128 +/**
   1.129 +Digital Rights have expired.
   1.130 +*/
   1.131 +const TInt KErrMMDRMNotAuthorized = KErrMMBase - 18;
   1.132 +
   1.133 +//Error codes for Quality of Service
   1.134 +
   1.135 +/**
   1.136 +Low Bandwidth.
   1.137 +*/
   1.138 +const TInt KErrMMQosLowBandwidth = KErrMMBase - 19;
   1.139 +
   1.140 +/**
   1.141 +Traffic Class not supported.
   1.142 +*/
   1.143 +const TInt KErrMMQosUnsupportedTrafficClass = KErrMMBase - 20;
   1.144 +
   1.145 +/**
   1.146 +Poor or unsufficient Traffic Class. 
   1.147 +*/
   1.148 +const TInt KErrMMQosPoorTrafficClass = KErrMMBase - 21;
   1.149 +
   1.150 +/**
   1.151 +Parameters not supported.
   1.152 +*/
   1.153 +const TInt KErrMMQosUnsupportedParameters = KErrMMBase - 22;
   1.154 +
   1.155 +/**
   1.156 +Poor or unsufficient Parameters.
   1.157 +*/
   1.158 +const TInt KErrMMQosPoorParameters = KErrMMBase - 23;
   1.159 +
   1.160 +/**
   1.161 +Not supported.
   1.162 +*/
   1.163 +const TInt KErrMMQosNotSupported = KErrMMBase - 24;
   1.164 +
   1.165 +#endif