|
1 /* |
|
2 * Copyright (c) 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 "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: This class is responsible for managing all of podcast collection |
|
15 * databases. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef MPXPODCASTDBMANAGER_H |
|
21 #define MPXPODCASTDBMANAGER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "mpxdbmanager.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Database manager specialization for the podcast plugin. |
|
30 * |
|
31 * @lib mpxpodcastdbplugin.lib |
|
32 */ |
|
33 class CMPXPodcastDbManager : |
|
34 public CMPXDbManager |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 * @param aFs file server session |
|
41 * @return New CMPXPodcastDbManager instance |
|
42 */ |
|
43 static CMPXPodcastDbManager* NewL(RFs& aFs); |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 * @param aFs file server session |
|
48 * @return New CMPXPodcastDbManager instance on the CS |
|
49 */ |
|
50 static CMPXPodcastDbManager* NewLC(RFs& aFs); |
|
51 |
|
52 /** |
|
53 * Destructor |
|
54 */ |
|
55 virtual ~CMPXPodcastDbManager(); |
|
56 |
|
57 public: // New functions |
|
58 |
|
59 |
|
60 private: |
|
61 /** |
|
62 * C++ default constructor |
|
63 * @param aFs file server session |
|
64 */ |
|
65 CMPXPodcastDbManager(RFs& aFs); |
|
66 |
|
67 /** |
|
68 * The second phase constructor ConstructL to safely construct things |
|
69 * that can leave |
|
70 */ |
|
71 void ConstructL(); |
|
72 }; |
|
73 |
|
74 #endif // MPXPODCASTDBMANAGER_H |