epoc32/include/mw/remconmediaerror.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/mw/remconmediaerror.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,97 @@
     1.4 +// Copyright (c) 2008-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 +
    1.21 +/**
    1.22 + @file
    1.23 + @publishedAll
    1.24 + @released
    1.25 +*/
    1.26 +
    1.27 +#ifndef REMCONMEDIAERROR_H_
    1.28 +#define REMCONMEDIAERROR_H_
    1.29 +
    1.30 +#include <e32base.h>
    1.31 +
    1.32 +const TInt KErrRemConMediaBase                     = -6780;
    1.33 +
    1.34 +/**
    1.35 +Invalid media library state cookie.
    1.36 +
    1.37 +This error only occurs in the database aware clients.
    1.38 +*/
    1.39 +const TInt KErrInvalidMediaLibraryStateCookie     = KErrRemConMediaBase - 0x5;
    1.40 +
    1.41 +/**
    1.42 +The direction parameter is invalid
    1.43 +
    1.44 +@see MrcdamlbFolderDownResult()
    1.45 +@see MrcdumlbFolderDownResult()
    1.46 +*/
    1.47 +const TInt KErrMediaBrowseInvalidDirection        = KErrRemConMediaBase - 0x7;
    1.48 +
    1.49 +/**
    1.50 +The UID provided does not refer to a folder item
    1.51 +
    1.52 +@see MrcdamlbFolderDownResult()
    1.53 +@see MrcdumlbFolderDownResult()
    1.54 +*/
    1.55 +const TInt KErrMediaBrowseNotADirectory           = KErrRemConMediaBase - 0x8;
    1.56 +
    1.57 +/**
    1.58 +The UID provided does not refer to any currently valid item
    1.59 +
    1.60 +@see MrcdamlbFolderDownResult()
    1.61 +@see MrcdumlbFolderDownResult()
    1.62 +@see MrcdamlbFolderItemResult()
    1.63 +@see MrcdumlbFolderItemResult()
    1.64 +@see MrcdamlbMediaElementItemResult()
    1.65 +@see MrcdumlbMediaElementItemResult()
    1.66 +@see MrcdanpbMediaElementItemResult()
    1.67 +@see MrcdunpbMediaElementItemResult()
    1.68 +*/
    1.69 +const TInt KErrInvalidUid                        = KErrRemConMediaBase - 0x9;
    1.70 +
    1.71 +/**
    1.72 +The start of range provided is not valid
    1.73 +
    1.74 +@see MrcdamlbFolderListing()
    1.75 +@see MrcdumlbFolderListing()
    1.76 +@see MrcdanpbFolderListing()
    1.77 +@see MrcdunpbFolderListing()
    1.78 +*/
    1.79 +const TInt KErrMediaBrowseInvalidOffset           = KErrRemConMediaBase - 0xb;
    1.80 +
    1.81 +/**
    1.82 +The UID provided refers to a directory 
    1.83 +which cannot be handled by this media player.
    1.84 +
    1.85 +*/
    1.86 +const TInt KErrNowPlayingUidIsADirectory          = KErrRemConMediaBase - 0xc;
    1.87 +
    1.88 +/**
    1.89 +The media is not able to be used for this operation at this time
    1.90 +
    1.91 +*/
    1.92 +const TInt KErrNowPlayingMediaInUse               = KErrRemConMediaBase - 0xd;
    1.93 +
    1.94 +/**
    1.95 +No more items can be added to the now playing list because it is full
    1.96 +
    1.97 +*/
    1.98 +const TInt KErrNowPlayingListFull                 = KErrRemConMediaBase - 0xe;
    1.99 +
   1.100 +#endif /*REMCONMEDIAERROR_H_*/