|
1 /* |
|
2 * Copyright (c) 2006-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: Data class for external folder information.* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IPTVEXTERNALFOLDERINFO_H |
|
21 #define IPTVEXTERNALFOLDERINFO_H |
|
22 |
|
23 // CLASS DECLARATION |
|
24 |
|
25 /** |
|
26 * Data class for storing information about Video Center external folder. |
|
27 */ |
|
28 class TIptvExternalFolderInfo |
|
29 { |
|
30 public: // Data type declarations. |
|
31 |
|
32 /** |
|
33 * Enumeration to define how external folders should be treated |
|
34 * when following them for added video and thumbnail files. |
|
35 */ |
|
36 enum TIptvExternalFolderType |
|
37 { |
|
38 EIptvUndefined = 0, // Not defined. |
|
39 EIptvRootLevelOnly = 1, // Only root level is scanned, no sub directories. |
|
40 EIptvSubFoldersOnly = 2, // Only subdirectories are scanned. |
|
41 EIptvRootAndSubFolders = 3 // Both root level and subdirectories are scanned. |
|
42 }; |
|
43 |
|
44 public: // Member variables. |
|
45 |
|
46 /** |
|
47 * |
|
48 */ |
|
49 TBuf<KMaxPath> iPath; |
|
50 |
|
51 /** |
|
52 * |
|
53 */ |
|
54 TIptvExternalFolderType iType; |
|
55 |
|
56 /** |
|
57 * |
|
58 */ |
|
59 TBool iPermanent; |
|
60 |
|
61 /** |
|
62 * |
|
63 */ |
|
64 TBool iGalleryFolder; |
|
65 |
|
66 /** |
|
67 * |
|
68 */ |
|
69 TBool iDragFoldersScanned; |
|
70 }; |
|
71 |
|
72 #endif // IPTVEXTERNALFOLDERINFO_H |
|
73 |
|
74 // End of file. |