460 const TDesC8& aNodeName, |
460 const TDesC8& aNodeName, |
461 const TDesC8& aAttrName, |
461 const TDesC8& aAttrName, |
462 const TDesC8& aAttrValue ); |
462 const TDesC8& aAttrValue ); |
463 |
463 |
464 /** |
464 /** |
465 * Retrieves a filename from a file declaration. |
465 * Retrieves filename from a logo declaration. |
466 * @since S60 5.1 |
466 * @since S60 5.2 |
467 * @param aFileDeclaration "SKIN():MIF()", "MIF()", "UID()" or "file.ext" string |
467 * @param aFileDeclaration "SKIN():MIF()", "MIF()", "UID()" or "file.ext" string |
468 * @param aFilename Referred file name or NULL |
468 * @param aFilename Referred file name or NULL |
469 * @return True if a file was referred from the declaration |
469 * @return True if a file was referred from the declaration |
470 */ |
470 */ |
471 static TBool hspsServerUtil::IsFile( |
471 static TBool hspsServerUtil::IsLogoFile( |
472 const TDesC& aFileDeclaration, |
472 const TDesC& aFileDeclaration, |
473 TFileName& aFilename ); |
473 TFileName& aFilename ); |
474 |
474 |
475 /** |
475 /** |
476 * Resolve resource files that need to be copied. |
476 * Resolve resource files that need to be copied. |
540 static TInt FindFile( |
540 static TInt FindFile( |
541 RFs& aFs, |
541 RFs& aFs, |
542 const TDesC& aPath, |
542 const TDesC& aPath, |
543 const TDesC& aFilename, |
543 const TDesC& aFilename, |
544 TFileName& aDrivePathName ); |
544 TFileName& aDrivePathName ); |
545 |
545 |
|
546 /** |
|
547 * Resolves icon path information from the provided logo declaration. |
|
548 * Example: |
|
549 * Decl. = "mif(536999050\270513751\268475903\1.0\sources\icon.mif)" |
|
550 * Source = "c\private\200159c0\themes\536999050\270513751\268475903\1.0\sources\icon.mif" |
|
551 * Target = "c\private\102750f0\536999050\270513751\268475903\1.0\sources\icon.mif" |
|
552 * Up.decl = "mif(c\private\102750f0\536999050\270513751\268475903\1.0\sources\icon.mif)" |
|
553 * @since S60 5.2 |
|
554 * @param aLogoDeclaration Skin():mif(), mif(), uid(), icon.mif declaration |
|
555 * @param aAppUid Identifies the private directory where the logo file is copied to |
|
556 * @param aTargetPath Empty or location of the target file |
|
557 * @param aSourcePath Empty or location of the source file |
|
558 * @param aUpdatedDeclaration Empty or declaration which points to the target location |
|
559 */ |
|
560 static void hspsServerUtil::PopulateLogoPathsL( |
|
561 const TDesC& aLogoDeclaration, |
|
562 const TUint aAppUid, |
|
563 RBuf& aTargetPath, |
|
564 RBuf& aSourcePath, |
|
565 RBuf& aUpdatedDeclaration ); |
|
566 |
546 private: |
567 private: |
547 /** |
568 /** |
548 * Internal method. Do not call directly! |
569 * Internal method. Do not call directly! |
549 * |
570 * |
550 * Modify node's childs according to given edit mode. |
571 * Modify node's childs according to given edit mode. |