5
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2007 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 the License "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: Media Management Service API command IDs
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef __MGSERVICE_HRH
|
|
20 |
#define __MGSERVICE_HRH
|
|
21 |
enum TMgState
|
|
22 |
{
|
|
23 |
/// State indicates class is ready to accept another request
|
|
24 |
EMgFree = 0,
|
|
25 |
//State indicates class is busy in ongoing request
|
|
26 |
EMgBusy = 1
|
|
27 |
};
|
|
28 |
|
|
29 |
enum TMgCmdId
|
|
30 |
{
|
|
31 |
/// State indicates class is ready to accept another request
|
|
32 |
EMgBlankCmdId = 0,
|
|
33 |
|
|
34 |
//State indicates class is busy in ongoing request
|
|
35 |
EMgGetFiles = 1,
|
|
36 |
|
|
37 |
//State indicates class is busy in ongoing request
|
|
38 |
EMgGetFilesInfo = 2
|
|
39 |
};
|
|
40 |
|
|
41 |
/**
|
|
42 |
* Content Listing Framework list model operation events
|
|
43 |
*/
|
|
44 |
enum TMgOperationEvent
|
|
45 |
{
|
|
46 |
/// Refresh operation is completed
|
|
47 |
EMgRefreshComplete = 0x0,
|
|
48 |
/// Model content is obsolete and should be refreshed
|
|
49 |
EMgModelOutdated = 0x1,
|
|
50 |
/// Refersh Operation is canceled
|
|
51 |
EMgModelCancel = 0x2
|
|
52 |
};
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
#endif // __MGSERVICE_HRH |