equal
deleted
inserted
replaced
22 |
22 |
23 #include <e32math.h> |
23 #include <e32math.h> |
24 #include <DRMRights.h> |
24 #include <DRMRights.h> |
25 |
25 |
26 #include <DRMHelper.h> |
26 #include <DRMHelper.h> |
27 #include <caf/caf.h> |
27 #include <caf/cafplatform.h> |
28 #include <caf/rightsinfo.h> |
28 #include <caf/rightsinfo.h> |
29 |
29 |
30 #include "AknsSrvUtils.h" |
30 #include "AknsSrvUtils.h" |
31 #include "AknsSrv.h" |
31 #include "AknsSrv.h" |
32 #include "AknsSrvDescriptorFileLayout.h" |
32 #include "AknsSrvDescriptorFileLayout.h" |
931 // Locate last backslash. |
931 // Locate last backslash. |
932 TChar backslash('\\'); |
932 TChar backslash('\\'); |
933 TInt bsLoc = path.LocateReverse( backslash ); |
933 TInt bsLoc = path.LocateReverse( backslash ); |
934 |
934 |
935 // Append skin PID to the directory. |
935 // Append skin PID to the directory. |
936 if ( KErrNotFound != bsLoc ) |
936 bufferPtr.Append( fileName.Path().Mid( bsLoc ) ); |
937 { |
|
938 bufferPtr.Append( fileName.Path().Mid( bsLoc ) ); |
|
939 } |
|
940 |
937 |
941 if ( fileName.ExtPresent() ) |
938 if ( fileName.ExtPresent() ) |
942 { |
939 { |
943 // Last, append filename. Now string is complete. |
940 // Last, append filename. Now string is complete. |
944 bufferPtr.Append( fileName.NameAndExt() ); |
941 bufferPtr.Append( fileName.NameAndExt() ); |