List Info

Thread: CR: Fix to resolve build error in clientapps for symbian81




CR: Fix to resolve build error in clientapps for symbian81
user name
2006-05-26 12:50:11

Date : 26 May 2006

Issue : Build Failures in (clientapps) symbian 81 platform

Overview:

- Replaced CHXURL object with HXURLRep in CHXAvUtil as CHXURL  needs context which is not available here.
- Replaced clntcore with hxmedplyeng in install.pcf
- CHXLitePrefs class is having RegisterContext function in place of  SetContext function


Platform: symbian 8.1

Branch : Head

File Modified:

-  clientapps/symbiancommon/chxavutil.cpp
-  clientapps/symbianplayer/install.pcf
-  clientapps/symbianplayer/platform/symbian/chxclientenginemanager.cpp

Files Added: Nil

CVS Diff:

Index: symbiancommon/chxavutil.cpp
===================================================================
RCS file: /cvsroot/clientapps/symbiancommon/chxavutil.cpp,v
retrieving revision 1.15
diff -u -r1.15 chxavutil.cpp
--- symbiancommon/chxavutil.cpp 24 Mar 2004 00:01:27 -0000   ;   1.15
+++ symbiancommon/chxavutil.cpp 26 May 2006 12:05:05 -0000
-223,16 +223,12
 CHXAvUtil::AllocStdPathFromPlayerUrlL(const CHXString& strBadPath)
 {
   ;  // pass through CHXURL to get path
-    CHXURL url(strBadPath);
+    HXURLRep url(strBadPath);
 
; &nbsp; comptr<IHXValues&gt; headers;
- &nbsp;  headers.Take(url.GetProperties());
  ; HX_ASSERT(headers);
- &nbsp; 
 &nbsp; &nbsp; //dbg:umpObject(headers);
 
&nbsp; &nbsp;  CHXString strPath;
- &nbsp;  val::GetString(headers, PROPERTY_FULLPATH, strPath, val::buffer);
+ &nbsp;  strPath = url.Path();
 
  ; &nbsp; // possibly unescape (so it is more readable)
 ; &nbsp;  CHXAvEscapedString escapedString(strPath);
-263,16 +259,13
 CHXAvUtil::AllocHostFromPlayerUrlL(const CHXString&amp; strUrl)
 {
 &nbsp; &nbsp; // pass through CHXURL to get path
-&nbsp; &nbsp; CHXURL url(strUrl);
  ; HXURLRep url(strUrl);
 
- &nbsp;  comptr<IHXValues&gt; headers;
- &nbsp;  headers.Take(url.GetProperties());
  ; HX_ASSERT(headers);
  ; &nbsp;
 &nbsp; &nbsp; //dbg:umpObject(headers);
 
&nbsp; &nbsp;  CHXString strHost;
- &nbsp;  val::GetString(headers, PROPERTY_HOST, strHost, val::buffer);
+ &nbsp;  strHost = url.Host();
 
  ; &nbsp; // possibly unescape (so it is more readable)
 ; &nbsp;  CHXAvEscapedString escapedString(strHost);
Index: symbianplayer/install.pcf
===================================================================
RCS file: /cvsroot/clientapps/symbianplayer/install.pcf,v
retrieving revision 1.15
diff -u -r1.15 install.pcf
--- symbianplayer/install.pcf   ;22 Mar 2006 22:35:41 -0000&nbsp;   ; &nbsp;1.15
+++ symbianplayer/install.pcf   ;26 May 2006 12:05:06 -0000
-139,7 +139,7
 'amrn' &nbsp;   ; &nbsp; &nbsp; : 'datatype/amr/codec/amr-nb/[target]/amrn.dll',
&nbsp;'amrw'&nbsp; &nbsp; &nbsp;   ;  : 'datatype/amr/codec/amr-wb/[target]/amrw.dll',
&nbsp;'audplin'  ; &nbsp; &nbsp; : 'datatype/group/audio/[target]/audplin.dll',
-'clntcore'   ; &nbsp; : 'client/core/[target]/clntcore.dll',
+'hxmedplyeng'  ; : 'client/core/[target]/hxmedplyeng.dll',
&nbsp;'comimgff' &nbsp; &nbsp;  : 'datatype/image/unified/fileformat/[target]/comimgff.dll',
&nbsp;'comimgrend' &nbsp;  : 'datatype/image/unified/renderer/[target]/comimgrend.dll',
&nbsp;'cook'&nbsp; &nbsp;   ; &nbsp;  : 'datatype/rm/audio/codec/ra8lbr/[target]/cook.dll',
-204,7 +204,7
 &nbsp;   ; &nbsp; return newList
 
 # always add client core dll
-Add('clntcore')
+Add('hxmedplyeng')
 
&nbsp;if project.IsDefined("HELIX_FEATURE_SYMBIAN_MDF_AUDIO_SW&quot;):
&nbsp; &nbsp;  Add('arma')
Index: symbianplayer/platform/symbian/chxclientenginemanager.cpp
===================================================================
RCS file: /cvsroot/clientapps/symbianplayer/platform/symbian/chxclientenginemanager.cpp,v
retrieving revision 1.13
diff -u -r1.13 chxclientenginemanager.cpp
--- symbianplayer/platform/symbian/chxclientenginemanager.cpp  &nbsp; 4 May 2005 17:35:27 -0000   ; &nbsp; &nbsp;1.13
+++ symbianplayer/platform/symbian/chxclientenginemanager.cpp &nbsp; &nbsp;26 May 2006 12:05:06 -0000
-243,7 +243,7
 &nbsp; &nbsp; CHXString strConfigPath = CHXAvStringUtils:escToString(*pFullPathConfig);
 
&nbsp; &nbsp;  m_prefs = new (ELeave) CHXLitePrefs(strConfigPath);
-&nbsp; &nbsp; m_prefs-&gt;SetContext(m_factory);
  ; m_prefs-&gt;RegisterContext(m_factory);
&nbsp; &nbsp; 
 &nbsp; &nbsp; CHXAvCleanString productName(R_AVP_PRODUCT_NAME);
&nbsp; &nbsp;  CHXString productNameStr = CHXAvStringUtils:escToString(productName());
CR: Fix to resolve build error in clientapps forsymbian81
user name
2006-05-26 14:37:43
Looks good to me. 

> -----Original Message-----
> From: clientapps-dev-bounceshelixcommunity.org 
> [mailto:clientapps-dev-bounceshelixcommunity.org] On
Behalf 
> Of Pankaj Gupta
> Sent: Friday, May 26, 2006 8:50 AM
> To: clientapps-devhelixcommunity.org
> Subject: [Clientapps-dev] CR: Fix to resolve build
error in 
> clientapps forsymbian81
> 
> Modified by: pguptareal.com
> 
> Date : 26 May 2006
> 
> Issue : Build Failures in (clientapps) symbian 81
platform
> 
> Overview:
> 
> - Replaced CHXURL object with HXURLRep in CHXAvUtil as
CHXURL 
>  needs context which is not available here.
> - Replaced clntcore with hxmedplyeng in install.pcf
> - CHXLitePrefs class is having RegisterContext function
in 
> place of  SetContext function
> 
> 
> Platform: symbian 8.1
> 
> Branch : Head
> 
> File Modified:
> 
> -  clientapps/symbiancommon/chxavutil.cpp
> -  clientapps/symbianplayer/install.pcf
> -  
>
clientapps/symbianplayer/platform/symbian/chxclientengineman
ager.cpp
> 
> Files Added: Nil
> 
> CVS Diff:
> 
> Index: symbiancommon/chxavutil.cpp
>
============================================================
=======
> RCS file:
/cvsroot/clientapps/symbiancommon/chxavutil.cpp,v
> retrieving revision 1.15
> diff -u -r1.15 chxavutil.cpp
> --- symbiancommon/chxavutil.cpp 24 Mar 2004 00:01:27
-0000      1.15
> +++ symbiancommon/chxavutil.cpp 26 May 2006 12:05:05
-0000
>  -223,16 +223,12 
>  CHXAvUtil::AllocStdPathFromPlayerUrlL(const
CHXString& strBadPath)
>  {
>      // pass through CHXURL to get path
> -    CHXURL url(strBadPath);
> +    HXURLRep url(strBadPath);
>  
> -    comptr<IHXValues> headers;
> -    headers.Take(url.GetProperties());
> -    HX_ASSERT(headers);
> -    
>      //dbg:umpObjec
t(headers);
>  
>      CHXString strPath;
> -    val::GetString(headers, PROPERTY_FULLPATH,
strPath, val::buffer);
> +    strPath = url.Path();
>  
>      // possibly unescape (so it is more readable)
>      CHXAvEscapedString escapedString(strPath);
>  -263,16 +259,13 
>  CHXAvUtil::AllocHostFromPlayerUrlL(const
CHXString& strUrl)
>  {
>      // pass through CHXURL to get path
> -    CHXURL url(strUrl);
> +    HXURLRep url(strUrl);
>  
> -    comptr<IHXValues> headers;
> -    headers.Take(url.GetProperties());
> -    HX_ASSERT(headers);
>      
>      //dbg:umpObjec
t(headers);
>  
>      CHXString strHost;
> -    val::GetString(headers, PROPERTY_HOST, strHost,
val::buffer);
> +    strHost = url.Host();
>  
>      // possibly unescape (so it is more readable)
>      CHXAvEscapedString escapedString(strHost);
> Index: symbianplayer/install.pcf
>
============================================================
=======
> RCS file:
/cvsroot/clientapps/symbianplayer/install.pcf,v
> retrieving revision 1.15
> diff -u -r1.15 install.pcf
> --- symbianplayer/install.pcf   22 Mar 2006 22:35:41
-0000      1.15
> +++ symbianplayer/install.pcf   26 May 2006 12:05:06
-0000
>  -139,7 +139,7 
>  'amrn'          :
'datatype/amr/codec/amr-nb/[target]/amrn.dll',
>  'amrw'          :
'datatype/amr/codec/amr-wb/[target]/amrw.dll',
>  'audplin'       :
'datatype/group/audio/[target]/audplin.dll',
> -'clntcore'      :
'client/core/[target]/clntcore.dll',
> +'hxmedplyeng'   :
'client/core/[target]/hxmedplyeng.dll',
>  'comimgff'      : 
>
'datatype/image/unified/fileformat/[target]/comimgff.dll',
>  'comimgrend'    : 
>
'datatype/image/unified/renderer/[target]/comimgrend.dll',
>  'cook'          :
'datatype/rm/audio/codec/ra8lbr/[target]/cook.dll',
>  -204,7 +204,7 
>         return newList
>  
>  # always add client core dll
> -Add('clntcore')
> +Add('hxmedplyeng')
>  
>  if
project.IsDefined("HELIX_FEATURE_SYMBIAN_MDF_AUDIO_SW
"):
>      Add('arma')
> Index:
symbianplayer/platform/symbian/chxclientenginemanager.cpp
>
============================================================
=======
> RCS file: 
>
/cvsroot/clientapps/symbianplayer/platform/symbian/chxclient
en
> ginemanager.cpp,v
> retrieving revision 1.13
> diff -u -r1.13 chxclientenginemanager.cpp
> ---
symbianplayer/platform/symbian/chxclientenginemanager.cpp 
>    4 May 2005 17:35:27 -0000       1.13
> +++
symbianplayer/platform/symbian/chxclientenginemanager.cpp 
>    26 May 2006 12:05:06 -0000
>  -243,7 +243,7 
>      CHXString strConfigPath = 
> CHXAvStringUtils:escToStr
ing(*pFullPathConfig);
>  
>      m_prefs = new (ELeave)
CHXLitePrefs(strConfigPath);
> -    m_prefs->SetContext(m_factory);
> +    m_prefs->RegisterContext(m_factory);
>      
>      CHXAvCleanString productName(R_AVP_PRODUCT_NAME);
>      CHXString productNameStr = 
> CHXAvStringUtils:escToStr
ing(productName());
> 
> 


_______________________________________________
Clientapps-dev mailing list
Clientapps-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/
clientapps-dev
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )