37 #include <glxlog.h> // Logging |
37 #include <glxlog.h> // Logging |
38 #include <glxtracer.h> |
38 #include <glxtracer.h> |
39 #include <glxviewbase.rsg> |
39 #include <glxviewbase.rsg> |
40 #include "glxuiutility.h" |
40 #include "glxuiutility.h" |
41 #include <glxscreenfurniture.h> |
41 #include <glxscreenfurniture.h> |
|
42 #include <glxresourceutilities.h> // for CGlxResourceUtilities |
42 /** Error Id EMPY-7MKDHP **/ |
43 /** Error Id EMPY-7MKDHP **/ |
43 #include "mglxmetadatadialogobserver.h" //for call back to dailog |
44 #include "mglxmetadatadialogobserver.h" //for call back to dailog |
44 |
45 |
45 |
46 |
46 //CONSTANTS |
47 //CONSTANTS |
218 CGlxTagsBoundCommand* self = new ( ELeave ) CGlxTagsBoundCommand; |
219 CGlxTagsBoundCommand* self = new ( ELeave ) CGlxTagsBoundCommand; |
219 CleanupStack::PushL( self ); |
220 CleanupStack::PushL( self ); |
220 return self; |
221 return self; |
221 } |
222 } |
222 |
223 |
|
224 |
223 // ---------------------------------------------------------------------------- |
225 // ---------------------------------------------------------------------------- |
224 // CGlxTagsBoundCommand::ConstructL |
226 // CGlxTagsBoundCommand::ConstructL |
225 // ---------------------------------------------------------------------------- |
227 // ---------------------------------------------------------------------------- |
226 // |
228 // |
227 void CGlxTagsBoundCommand::ConstructL() |
229 void CGlxTagsBoundCommand::ConstructL() |
228 { |
230 { |
229 TRACER("CGlxTagsBoundCommand::ConstructL"); |
231 TRACER("CGlxTagsBoundCommand::ConstructL"); |
|
232 TFileName uiutilitiesrscfile; |
|
233 uiutilitiesrscfile.Append( |
|
234 CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); |
230 //create command handler |
235 //create command handler |
231 iAddToTag = CGlxCommandHandlerAddToContainer::NewL(this, EGlxCmdAddTag, EFalse); |
236 iAddToTag = CGlxCommandHandlerAddToContainer::NewL(this, EGlxCmdAddTag, |
|
237 EFalse, uiutilitiesrscfile); |
232 } |
238 } |
233 |
239 |
234 // ---------------------------------------------------------------------------- |
240 // ---------------------------------------------------------------------------- |
235 // CGlxTagsBoundCommand::~CGlxTagsBoundCommand |
241 // CGlxTagsBoundCommand::~CGlxTagsBoundCommand |
236 // ---------------------------------------------------------------------------- |
242 // ---------------------------------------------------------------------------- |
746 CGlxAlbumsBoundCommand* self = new ( ELeave ) CGlxAlbumsBoundCommand; |
752 CGlxAlbumsBoundCommand* self = new ( ELeave ) CGlxAlbumsBoundCommand; |
747 CleanupStack::PushL( self ); |
753 CleanupStack::PushL( self ); |
748 return self; |
754 return self; |
749 } |
755 } |
750 |
756 |
|
757 |
751 // ---------------------------------------------------------------------------- |
758 // ---------------------------------------------------------------------------- |
752 // CGlxAlbumsBoundCommand::ConstructL |
759 // CGlxAlbumsBoundCommand::ConstructL |
753 // ---------------------------------------------------------------------------- |
760 // ---------------------------------------------------------------------------- |
754 // |
761 // |
755 void CGlxAlbumsBoundCommand::ConstructL() |
762 void CGlxAlbumsBoundCommand::ConstructL() |
756 { |
763 { |
757 TRACER("CGlxAlbumsBoundCommand::ConstructL"); |
764 TRACER("CGlxAlbumsBoundCommand::ConstructL"); |
|
765 TFileName uiutilitiesrscfile; |
|
766 uiutilitiesrscfile.Append( |
|
767 CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL()); |
758 //create command handler |
768 //create command handler |
759 iAddToAlbum= CGlxCommandHandlerAddToContainer::NewL(this, EGlxCmdAddToAlbum, EFalse ); |
769 iAddToAlbum = CGlxCommandHandlerAddToContainer::NewL(this, |
|
770 EGlxCmdAddToAlbum, EFalse, uiutilitiesrscfile); |
760 } |
771 } |
761 |
772 |
762 // ---------------------------------------------------------------------------- |
773 // ---------------------------------------------------------------------------- |
763 // CGlxAlbumsBoundCommand::~CGlxAlbumsBoundCommand |
774 // CGlxAlbumsBoundCommand::~CGlxAlbumsBoundCommand |
764 // ---------------------------------------------------------------------------- |
775 // ---------------------------------------------------------------------------- |