ui/commandhandlers/commoncommandhandlers/src/glxcommandhandlereditimage.cpp
changeset 52 a3a4c0de738e
parent 50 a0f57508af73
child 54 0f0f3f26f787
--- a/ui/commandhandlers/commoncommandhandlers/src/glxcommandhandlereditimage.cpp	Sat Jul 10 00:59:39 2010 +0530
+++ b/ui/commandhandlers/commoncommandhandlers/src/glxcommandhandlereditimage.cpp	Fri Jul 23 20:41:04 2010 +0530
@@ -19,7 +19,12 @@
 
 
 #include <glxcommandfactory.h>
-#include <photoeditor_highway.hrh>
+
+
+#ifdef FF_IMAGE_EDITOR
+    #include <photoeditor_highway.hrh>
+#endif //FF_IMAGE_EDITOR
+
 #include "glxcommandhandlereditimage.h"
 #include <glxcommandhandlers.hrh>
 #include <glxmodelparm.h>
@@ -66,6 +71,7 @@
     
     QList<QVariant> args;
     args << imagePath;
+#ifdef FF_IMAGE_EDITOR    
 	if(EGlxCmdSetWallpaper == commandId)
 		{
 		args << EEditorHighwayWallpaperCrop;
@@ -83,6 +89,7 @@
         args << EEditorHighwayRotateCCW;
         }
     mReq->setArguments(args);
+#endif //FF_IMAGE_EDITOR
     
     // Send the request
     bool res = mReq->send();