51
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@publishedAll
|
|
21 |
@released
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef REMCONMEDIAERROR_H_
|
|
25 |
#define REMCONMEDIAERROR_H_
|
|
26 |
|
|
27 |
#include <e32base.h>
|
|
28 |
|
|
29 |
const TInt KErrRemConMediaBase = -6780;
|
|
30 |
|
|
31 |
/**
|
|
32 |
Invalid media library state cookie.
|
|
33 |
|
|
34 |
This error only occurs in the database aware clients.
|
|
35 |
*/
|
|
36 |
const TInt KErrInvalidMediaLibraryStateCookie = KErrRemConMediaBase - 0x5;
|
|
37 |
|
|
38 |
/**
|
|
39 |
The direction parameter is invalid
|
|
40 |
|
|
41 |
@see MrcdamlbFolderDownResult()
|
|
42 |
@see MrcdumlbFolderDownResult()
|
|
43 |
*/
|
|
44 |
const TInt KErrMediaBrowseInvalidDirection = KErrRemConMediaBase - 0x7;
|
|
45 |
|
|
46 |
/**
|
|
47 |
The UID provided does not refer to a folder item
|
|
48 |
|
|
49 |
@see MrcdamlbFolderDownResult()
|
|
50 |
@see MrcdumlbFolderDownResult()
|
|
51 |
*/
|
|
52 |
const TInt KErrMediaBrowseNotADirectory = KErrRemConMediaBase - 0x8;
|
|
53 |
|
|
54 |
/**
|
|
55 |
The UID provided does not refer to any currently valid item
|
|
56 |
|
|
57 |
@see MrcdamlbFolderDownResult()
|
|
58 |
@see MrcdumlbFolderDownResult()
|
|
59 |
@see MrcdamlbFolderItemResult()
|
|
60 |
@see MrcdumlbFolderItemResult()
|
|
61 |
@see MrcdamlbMediaElementItemResult()
|
|
62 |
@see MrcdumlbMediaElementItemResult()
|
|
63 |
@see MrcdanpbMediaElementItemResult()
|
|
64 |
@see MrcdunpbMediaElementItemResult()
|
|
65 |
*/
|
|
66 |
const TInt KErrInvalidUid = KErrRemConMediaBase - 0x9;
|
|
67 |
|
|
68 |
/**
|
|
69 |
The start of range provided is not valid
|
|
70 |
|
|
71 |
@see MrcdamlbFolderListing()
|
|
72 |
@see MrcdumlbFolderListing()
|
|
73 |
@see MrcdanpbFolderListing()
|
|
74 |
@see MrcdunpbFolderListing()
|
|
75 |
*/
|
|
76 |
const TInt KErrMediaBrowseInvalidOffset = KErrRemConMediaBase - 0xb;
|
|
77 |
|
|
78 |
/**
|
|
79 |
The UID provided refers to a directory
|
|
80 |
which cannot be handled by this media player.
|
|
81 |
|
|
82 |
*/
|
|
83 |
const TInt KErrNowPlayingUidIsADirectory = KErrRemConMediaBase - 0xc;
|
|
84 |
|
|
85 |
/**
|
|
86 |
The media is not able to be used for this operation at this time
|
|
87 |
|
|
88 |
*/
|
|
89 |
const TInt KErrNowPlayingMediaInUse = KErrRemConMediaBase - 0xd;
|
|
90 |
|
|
91 |
/**
|
|
92 |
No more items can be added to the now playing list because it is full
|
|
93 |
|
|
94 |
*/
|
|
95 |
const TInt KErrNowPlayingListFull = KErrRemConMediaBase - 0xe;
|
|
96 |
|
|
97 |
#endif /*REMCONMEDIAERROR_H_*/
|