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: Gallery notifier class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __CMFMGLXNOTIFIER_H |
|
21 #define __CMFMGLXNOTIFIER_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 /** |
|
26 * CCmFmGlxNotifier class |
|
27 * Part of Fill manager. CCmFmGlxNotifier manages |
|
28 * Gallery notify events |
|
29 * |
|
30 * @lib cmfillmanager.lib |
|
31 * |
|
32 * @since S60 5.1 |
|
33 */ |
|
34 NONSHARABLE_CLASS( CCmFmGlxNotifier ): public CBase |
|
35 { |
|
36 |
|
37 public: |
|
38 |
|
39 /** |
|
40 * Two-phased constructor. |
|
41 * |
|
42 * @since S60 5.1 |
|
43 * @param aFS, file session |
|
44 * @return pointer to CCmFmGlxNotifier class |
|
45 */ |
|
46 static CCmFmGlxNotifier* NewL( RFs& aFS ); |
|
47 |
|
48 /** |
|
49 * Two-phased constructor. |
|
50 * |
|
51 * @since S60 5.1 |
|
52 * @param aFS, file session |
|
53 * @return pointer to CCmFmGlxNotifier class |
|
54 */ |
|
55 static CCmFmGlxNotifier* NewLC( RFs& aFS ); |
|
56 |
|
57 /** |
|
58 * Destructor. |
|
59 */ |
|
60 virtual ~CCmFmGlxNotifier(); |
|
61 |
|
62 public: |
|
63 |
|
64 /** |
|
65 * Notifying Media gallery about filled files |
|
66 * |
|
67 * @since S60 5.1 |
|
68 * @param aFullPath, path of the filled files |
|
69 * @return None |
|
70 */ |
|
71 void NotifyGalleryL( const TDesC& aFullPath ); |
|
72 |
|
73 /** |
|
74 * Notifying Media gallery about filled files |
|
75 * |
|
76 * @since S60 5.1 |
|
77 * @param None |
|
78 * @return None |
|
79 */ |
|
80 void NotifyGalleryL(); |
|
81 |
|
82 private: |
|
83 |
|
84 /** |
|
85 * Performs the first phase of two phase construction. |
|
86 */ |
|
87 CCmFmGlxNotifier( ); |
|
88 |
|
89 /** |
|
90 * Performs the second phase construction. |
|
91 * @since S60 5.1 |
|
92 * @param aFs, file server |
|
93 */ |
|
94 void ConstructL( RFs& aFS ); |
|
95 |
|
96 }; |
|
97 |
|
98 #endif // __CMFMGLXNOTIFIER_H |
|