photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandleraiwedit.cpp
equal
deleted
inserted
replaced
55 void CGlxCommandHandlerAiwEdit::DoGetRequiredAttributesL |
55 void CGlxCommandHandlerAiwEdit::DoGetRequiredAttributesL |
56 (RArray<TMPXAttribute>& aAttributes, TBool aFilterUsingSelection) const |
56 (RArray<TMPXAttribute>& aAttributes, TBool aFilterUsingSelection) const |
57 { |
57 { |
58 if (!aFilterUsingSelection || SelectionLength() <= MaxSelectedItems()) |
58 if (!aFilterUsingSelection || SelectionLength() <= MaxSelectedItems()) |
59 { |
59 { |
60 // Add filename attribute to fetch context |
60 // Add MIME type and fileaname attributes |
61 aAttributes.AppendL(KMPXMediaGeneralUri); |
61 aAttributes.AppendL(KMPXMediaGeneralMimeType); |
|
62 aAttributes.AppendL(KMPXMediaGeneralUri); |
62 } |
63 } |
63 } |
64 } |
64 |
65 |
65 // ----------------------------------------------------------------------------- |
66 // ----------------------------------------------------------------------------- |
66 // Constructor |
67 // Constructor |
107 CGlxAiwServiceHandler& aAiwServiceHandler) |
108 CGlxAiwServiceHandler& aAiwServiceHandler) |
108 { |
109 { |
109 return AppendDefaultAiwParameterL( aItem, |
110 return AppendDefaultAiwParameterL( aItem, |
110 aAiwServiceHandler, |
111 aAiwServiceHandler, |
111 ETrue, // Add the Uri |
112 ETrue, // Add the Uri |
112 EFalse); // Don't add the Mime Type |
113 ETrue); // Add the Mime Type |
|
114 |
113 } |
115 } |
114 |
116 |
115 // ----------------------------------------------------------------------------- |
117 // ----------------------------------------------------------------------------- |
116 // CommandSpace |
118 // CommandSpace |
117 // ----------------------------------------------------------------------------- |
119 // ----------------------------------------------------------------------------- |