Fixes for issues using #define with raptor RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Thu, 28 Oct 2010 22:27:12 +0100
branchRCL_3
changeset 299 56d23cf60795
parent 298 41f8256eb376
child 300 5902e8f443e2
Fixes for issues using #define with raptor
application/group/Podcast.mmp
application/sis/make_s3_sis.cmd
engine/eabi/podcastengineu.def
engine/group/engine.mmp
engine/inc/PodcastModel.h
engine/src/SettingsEngine.cpp
engine/src/ShowEngine.cpp
--- a/application/group/Podcast.mmp	Thu Oct 28 18:44:18 2010 +0100
+++ b/application/group/Podcast.mmp	Thu Oct 28 22:27:12 2010 +0100
@@ -16,8 +16,7 @@
  *
  */
   
-// MPX integration can not be enabled for self signed versions 
-#define ENABLE_MPX_INTEGRATION
+#include "..\..\group\defines.h"
 
 TARGET			Podcast.exe
 TARGETTYPE  	exe
@@ -25,7 +24,6 @@
 
 #ifdef ENABLE_MPX_INTEGRATION
 CAPABILITY NetworkServices UserEnvironment WriteUserData ReadDeviceData WriteDeviceData MultimediaDD
-MACRO ENABLE_MPX_INTEGRATION
 #else
 CAPABILITY NetworkServices UserEnvironment
 #endif
@@ -43,6 +41,7 @@
 USERINCLUDE ..\..\engine\inc
 USERINCLUDE . 
 USERINCLUDE ..\inc
+USERINCLUDE ..\..\group
 
 SOURCEPATH ..\src
 SOURCE  Podcast.cpp
@@ -57,7 +56,6 @@
 SOURCE  PodcastFeedViewUpdater.cpp 
 SOURCE  PodcastQueueView.cpp
 
-
 SOURCEPATH ..\data
 
 START RESOURCE Podcast.rss
--- a/application/sis/make_s3_sis.cmd	Thu Oct 28 18:44:18 2010 +0100
+++ b/application/sis/make_s3_sis.cmd	Thu Oct 28 22:27:12 2010 +0100
@@ -1,3 +1,3 @@
 del *.sis
-makesis -d\symbian\pdk3.0.2\ podcatcher_udeb.pkg
+makesis -d\symbian\3.0.3\ podcatcher_udeb.pkg
 signsis podcatcher_udeb.sis podcatcher_udeb_signed.sis podcast.cer podcast.key
--- a/engine/eabi/podcastengineu.def	Thu Oct 28 18:44:18 2010 +0100
+++ b/engine/eabi/podcastengineu.def	Thu Oct 28 22:27:12 2010 +0100
@@ -201,4 +201,8 @@
 	_ZN12PodcastUtils11IsVideoShowER7TDesC16 @ 200 NONAME
 	_ZN11CShowEngine15MoveDownloadUpLEj @ 201 NONAME
 	_ZN11CShowEngine17MoveDownloadDownLEj @ 202 NONAME
+	_ZN13CPodcastModelD0Ev @ 203 NONAME
+	_ZN13CPodcastModelD1Ev @ 204 NONAME
+	_ZN13CPodcastModelD2Ev @ 205 NONAME
+	_ZN17CConnectionEngine14RemoveObserverEP19MConnectionObserver @ 206 NONAME
 
--- a/engine/group/engine.mmp	Thu Oct 28 18:44:18 2010 +0100
+++ b/engine/group/engine.mmp	Thu Oct 28 22:27:12 2010 +0100
@@ -16,8 +16,7 @@
  *
  */
  
-// MPX integration can not be enabled for self signed versions 
-#define ENABLE_MPX_INTEGRATION
+#include "..\..\group\defines.h"
  
 TARGET podcastengine.dll
 TARGETTYPE DLL
@@ -25,12 +24,19 @@
 
 SOURCEPATH ..\src
 USERINCLUDE ..\inc
+USERINCLUDE ..\..\group
 SYSTEMINCLUDE \epoc32\include 
 SYSTEMINCLUDE \epoc32\include\mw
 SYSTEMINCLUDE \epoc32\include\platform
 SYSTEMINCLUDE \epoc32\include\platform\mw
 SYSTEMINCLUDE \epoc32\include\stdapis
 
+#ifdef ENABLE_MPX_INTEGRATION
+CAPABILITY NetworkServices UserEnvironment WriteUserData ReadDeviceData WriteDeviceData MultimediaDD
+#else
+CAPABILITY NetworkServices UserEnvironment
+#endif
+
 SOURCE			HttpClient.cpp
 SOURCE			HttpEventHandler.cpp 
 SOURCE			FeedParser.cpp 
@@ -78,10 +84,3 @@
 LIBRARY avkon.lib
 LIBRARY centralrepository.lib
 LIBRARY sysutil.lib 
-
-#ifdef ENABLE_MPX_INTEGRATION
-CAPABILITY NetworkServices UserEnvironment WriteUserData ReadDeviceData WriteDeviceData MultimediaDD
-MACRO ENABLE_MPX_INTEGRATION
-#else
-CAPABILITY NetworkServices UserEnvironment
-#endif
--- a/engine/inc/PodcastModel.h	Thu Oct 28 18:44:18 2010 +0100
+++ b/engine/inc/PodcastModel.h	Thu Oct 28 22:27:12 2010 +0100
@@ -25,7 +25,7 @@
 #include <es_sock.h>
 #include <http/rhttpsession.h>
 #include <cmmanager.h>
-
+#include "defines.h"
 #include "FeedInfo.h"
 #include "ShowInfo.h"
 #include "debug.h"
--- a/engine/src/SettingsEngine.cpp	Thu Oct 28 18:44:18 2010 +0100
+++ b/engine/src/SettingsEngine.cpp	Thu Oct 28 22:27:12 2010 +0100
@@ -21,6 +21,7 @@
 #include "SettingsEngine.h"
 #include "FeedEngine.h"
 #include "ShowEngine.h"
+#include "defines.h"
 
 const TUid KMainSettingsStoreUid = {0x1000};
 const TUid KMainSettingsUid = {0x1002};
--- a/engine/src/ShowEngine.cpp	Thu Oct 28 18:44:18 2010 +0100
+++ b/engine/src/ShowEngine.cpp	Thu Oct 28 22:27:12 2010 +0100
@@ -26,6 +26,7 @@
 #include <httperr.h>
 #include "debug.h"
 #include "PodcastUtils.h"
+#include "defines.h"
 
 #ifdef ENABLE_MPX_INTEGRATION 
 #include <mpxcollectionhelperfactory.h>