equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #ifndef WIDGETSCANNERUTILS_H |
19 #ifndef WIDGETSCANNERUTILS_H |
25 |
25 |
26 // CONSTANTS |
26 // CONSTANTS |
27 _LIT(KAttrWidgetPath, "widget:path"); |
27 _LIT(KAttrWidgetPath, "widget:path"); |
28 _LIT(KAttrWidgetLibrary, "widget:library"); |
28 _LIT(KAttrWidgetLibrary, "widget:library"); |
29 _LIT(KAttrWidgetUri, "widget:uri"); |
29 _LIT(KAttrWidgetUri, "widget:uri"); |
|
30 _LIT(KAttrWidgetServiceXml, "widget:servicexml"); |
30 _LIT(KSlash, "/"); |
31 _LIT(KSlash, "/"); |
31 _LIT(KDllExt, ".dll"); |
32 _LIT(KDllExt, ".dll"); |
32 _LIT(KNoLibrary, "NoLibrary"); |
33 _LIT(KNoLibrary, "NoLibrary"); |
33 |
34 |
34 // FORWARD DECLARATIONS |
35 // FORWARD DECLARATIONS |
36 /** |
37 /** |
37 * Widget Scanner Utils |
38 * Widget Scanner Utils |
38 * |
39 * |
39 * @since Series Series60 5.x |
40 * @since Series Series60 5.x |
40 */ |
41 */ |
41 class WidgetScannerUtils |
42 class WidgetScannerUtils |
42 { |
43 { |
43 public: |
44 public: |
44 |
45 |
45 /** |
46 /** |
46 * Checks if file is present on a drive |
47 * Checks if file is present on a drive |
50 */ |
51 */ |
51 static TBool IsFileOnDrive(const TDesC& aFileName, |
52 static TBool IsFileOnDrive(const TDesC& aFileName, |
52 const DriveInfo::TDefaultDrives& aDefaultDrive); |
53 const DriveInfo::TDefaultDrives& aDefaultDrive); |
53 |
54 |
54 /** |
55 /** |
55 * Returns current MMC id |
56 * Returns current MMC id. |
56 * @param aFs file server session reference |
57 * @param aFs file server session reference. |
57 * @return current mmc id |
58 * @param aMmcId mmc id reference. |
58 */ |
59 */ |
59 static TUint CurrentMmcId( RFs& aFs ); |
60 static void CurrentMmcId( const RFs& aFs, TDes& aMmcId ); |
60 |
61 |
61 }; |
62 }; |
62 |
63 |
63 #endif // WIDGETSCANNERUTILS_H |
64 #endif // WIDGETSCANNERUTILS_H |
64 // End of File |
65 // End of File |