# HG changeset patch # User William Roberts # Date 1287150549 -3600 # Node ID f1c1302a0b482915c250e85e1bee757de32bda51 # Parent dcd1a22c289930864a08bdc3f9beece2a428b2d1 Create stem_cone.dll, breaking dependency on mediaclientaudio.dll and mediaclient.dll diff -r dcd1a22c2899 -r f1c1302a0b48 breakdeps/CONE.MMP --- a/breakdeps/CONE.MMP Fri Oct 15 14:46:27 2010 +0100 +++ b/breakdeps/CONE.MMP Fri Oct 15 14:49:09 2010 +0100 @@ -13,28 +13,30 @@ // Description: // cone.dll Control environment // -// +// Modified to build stem_cone.dll to break dependency on mediaclientaudio.dll +// Assumes that the sf/mw/classicui package is accessible and adjusts the paths +// to refer back to /sf/mw/classicui/lafagnosticuifoundation/cone where needed /** @file */ -target cone.dll +target stem_cone.dll CAPABILITY All -Tcb targettype DLL UID 0x1000008D 0x10003A41 VENDORID 0x70000001 -userinclude ../inc -USERINCLUDE ../src -userinclude ../../../../../mw/classicui/lafagnosticuifoundation/cone/inc +userinclude /sf/mw/classicui/lafagnosticuifoundation/cone/inc +USERINCLUDE /sf/mw/classicui/lafagnosticuifoundation/cone/src +// userinclude ../../../../../mw/classicui/lafagnosticuifoundation/cone/inc MW_LAYER_SYSTEMINCLUDE_SYMBIAN -SOURCEPATH ../src +SOURCEPATH /sf/mw/classicui/lafagnosticuifoundation/cone/src source COEAUI.CPP COECCNTX.CPP COECNTRL.CPP -source COEFEP.CPP COEHELP.CPP COEMAIN.CPP coesndpy.cpp +source COEFEP.CPP COEHELP.CPP COEMAIN.CPP source COEUTILS.CPP Coemop.cpp COEMAINSECUREFEP.CPP source COEFONT.cpp COEFONTPROVIDER.cpp coetextdrawer.cpp source coecontrolarray.cpp CoeDataStorage.cpp @@ -46,9 +48,12 @@ source COEINPUT.CPP source CoeEnvExtra.cpp +SOURCEPATH . + +source coesndpy.cpp + library euser.lib efsrv.lib bafl.lib library gdi.lib ws32.lib egul.lib viewcli.lib -library mediaclientaudio.lib mediaclient.lib library ecom.lib centralrepository.lib estor.lib library hal.lib @@ -56,7 +61,7 @@ library instrumentationhandler.lib #endif -deffile CONE.DEF +deffile stem_cone.def START WINS baseaddress 0x40600000 diff -r dcd1a22c2899 -r f1c1302a0b48 breakdeps/coesndpy.cpp --- a/breakdeps/coesndpy.cpp Fri Oct 15 14:46:27 2010 +0100 +++ b/breakdeps/coesndpy.cpp Fri Oct 15 14:49:09 2010 +0100 @@ -13,15 +13,16 @@ // Description: // -#include -#include -#include +//#include +//#include +//#include #include #include #include #include "coepanic.h" #include +#if 0 const TUid KLafSoundPlayerUid={0x10005F1A}; class CCoeSoundPlayer; @@ -424,7 +425,7 @@ { iMdaServer=CMdaServer::NewL(); } - +#endif // // class CoeSoundPlayer // @@ -432,7 +433,7 @@ EXPORT_C void CoeSoundPlayer::PlaySound(const TBaSystemSoundType& aType,TInt aPlayCount, TTimeIntervalMicroSeconds32 aGap,TBool aInterrupt) { // static - TRAP_IGNORE(ManagerL()->PlaySoundL(aType,aPlayCount,aGap,aInterrupt)); + //TRAP_IGNORE(ManagerL()->PlaySoundL(aType,aPlayCount,aGap,aInterrupt)); } EXPORT_C void CoeSoundPlayer::CancelSound(const TBaSystemSoundType& aType) @@ -440,11 +441,12 @@ @param aType The sound to stop playing. */ { // static - TRAP_IGNORE(ManagerL()->CancelSound(aType)); + //TRAP_IGNORE(ManagerL()->CancelSound(aType)); } CCoeSoundPlayerManager* CoeSoundPlayer::ManagerL() { // static +#if 0 CCoeEnv* env=CCoeEnv::Static(); __ASSERT_ALWAYS(env,Panic(ECoePanicNullEnvironment)); CCoeSoundPlayerManager* manager= @@ -452,4 +454,6 @@ if (!manager) manager=CCoeSoundPlayerManager::NewL(); return manager; +#endif + return NULL; } diff -r dcd1a22c2899 -r f1c1302a0b48 eabi/stem_coneu.DEF --- a/eabi/stem_coneu.DEF Fri Oct 15 14:46:27 2010 +0100 +++ b/eabi/stem_coneu.DEF Fri Oct 15 14:49:09 2010 +0100 @@ -403,28 +403,28 @@ _ZTI12CCoeEnvExtra @ 402 NONAME ; ## _ZTI12CCoeRedrawer @ 403 NONAME ; ## _ZTI13CCoeFepLoader @ 404 NONAME ; ## - _ZTI14CCoeFilePlayer @ 405 NONAME ; ## - _ZTI14CCoeTonePlayer @ 406 NONAME ; ## + _ZTI14CCoeFilePlayer @ 405 NONAME ABSENT ; ## + _ZTI14CCoeTonePlayer @ 406 NONAME ABSENT ; ## Absentee1 @ 407 NONAME ABSENT - _ZTI15CCoeSoundPlayer @ 408 NONAME ; ## + _ZTI15CCoeSoundPlayer @ 408 NONAME ABSENT ; ## _ZTI15CCoeViewManager @ 409 NONAME ; ## _ZTI16CCoeViewObserver @ 410 NONAME ; ## Absentee1 @ 411 NONAME ABSENT _ZTI22CCoeBrushAndPenContext @ 412 NONAME ; ## - _ZTI22CCoeSoundPlayerManager @ 413 NONAME ; ## + _ZTI22CCoeSoundPlayerManager @ 413 NONAME ABSENT ; ## _ZTIN12CCoeEnvExtra19CHighPriorityActiveE @ 414 NONAME ; ## _ZTV12CCoeEnvExtra @ 415 NONAME ; ## _ZTV12CCoeRedrawer @ 416 NONAME ; ## _ZTV13CCoeFepLoader @ 417 NONAME ; ## - _ZTV14CCoeFilePlayer @ 418 NONAME ; ## - _ZTV14CCoeTonePlayer @ 419 NONAME ; ## + _ZTV14CCoeFilePlayer @ 418 NONAME ABSENT ; ## + _ZTV14CCoeTonePlayer @ 419 NONAME ABSENT ; ## Absentee2 @ 420 NONAME ABSENT - _ZTV15CCoeSoundPlayer @ 421 NONAME ; ## + _ZTV15CCoeSoundPlayer @ 421 NONAME ABSENT ; ## _ZTV15CCoeViewManager @ 422 NONAME ; ## _ZTV16CCoeViewObserver @ 423 NONAME ; ## Absentee1 @ 424 NONAME ABSENT _ZTV22CCoeBrushAndPenContext @ 425 NONAME ; ## - _ZTV22CCoeSoundPlayerManager @ 426 NONAME ; ## + _ZTV22CCoeSoundPlayerManager @ 426 NONAME ABSENT ; ## _ZTVN12CCoeEnvExtra19CHighPriorityActiveE @ 427 NONAME ; ## _ZN7CCoeEnv11InstallFepLE4TUid @ 428 NONAME _ZN7CCoeEnv11InstallFepLE4TUidi @ 429 NONAME