[Clientapps-cvs] guiplayer wince-420.pcf, NONE, 1.1 chelixsitesupplier.cpp, 1.2, 1.3 dllpaths.cpp, 1.3, 1.4

[Clientapps-cvs] guiplayer wince-420.pcf, NONE, 1.1 chelixsitesupplier.cpp, 1.2, 1.3 dllpaths.cpp, 1.3, 1.4

rishimathew at helixcommunity.org rishimathew at helixcommunity.org
Fri May 7 15:11:05 PDT 2004


Update of /cvsroot/clientapps/guiplayer
In directory cvs-new:/tmp/cvs-serv28600

Modified Files:
	chelixsitesupplier.cpp dllpaths.cpp 
Added Files:
	wince-420.pcf 
Log Message:
Adding support for Wince4.2 on X86


--- NEW FILE: wince-420.pcf ---
# 
# ***** BEGIN LICENSE BLOCK ***** 
# Version: RCSL 1.0/RPSL 1.0 
#  
# Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. 
#      
# The contents of this file, and the files included with this file, are 
# subject to the current version of the RealNetworks Public Source License 
# Version 1.0 (the "RPSL") available at 
# http://www.helixcommunity.org/content/rpsl unless you have licensed 
# the file under the RealNetworks Community Source License Version 1.0 
# (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, 
# in which case the RCSL will apply. You may also obtain the license terms 
# directly from RealNetworks.  You may not use this file except in 
# compliance with the RPSL or, if you have a valid RCSL with RealNetworks 
# applicable to this file, the RCSL.  Please see the applicable RPSL or 
# RCSL for the rights, obligations and limitations governing use of the 
# contents of the file.  
#  
# This file is part of the Helix DNA Technology. RealNetworks is the 
# developer of the Original Code and owns the copyrights in the portions 
# it created. 
#  
# This file, and the files included with this file, is distributed and made 
# available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 
# EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, 
# INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS 
# FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 
# 
# Technology Compatibility Kit Test Suite(s) Location: 
#    http://www.helixcommunity.org/content/tck 
# 
# Contributor(s): 
#  
# ***** END LICENSE BLOCK ***** 
#

project.AddModuleIncludes('common/runtime')

project.AddSources('win/chelixappwin.cpp',
		   'wince/chelixwindowwin.cpp',
		   'win/controls.rc', 
		   'win/winmain.cpp')
project.AddIncludes('win')

if not project.IsDefined("NO_COMMCTRL_SUPPORT_"):
	project.AddSystemLibraries('commctrl.lib')

program_name = 'helixplay'
ProgramTarget(program_name)

Index: dllpaths.cpp
===================================================================
RCS file: /cvsroot/clientapps/guiplayer/dllpaths.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dllpaths.cpp	13 Feb 2003 15:09:38 -0000	1.3
+++ dllpaths.cpp	7 May 2004 22:11:03 -0000	1.4
@@ -8,8 +8,11 @@
 #ifndef _MACINTOSH
 #include <sys/types.h>
 #endif
-#include <sys/stat.h>
+#include "hlxclib/sys/stat.h"
 
+#ifdef _WINCE
+#define strdup _strdup
+#endif  //_WINCE
 
 ENABLE_DLLACCESS_PATHS(helixplay)
 
@@ -61,7 +64,7 @@
 {
     char helix_libs[2048]; /* Flawfinder: ignore */
     char pathbuffer[2048]; /* Flawfinder: ignore */
-    const char *fullname;
+    const char *fullname = NULL;
 
     const char *envar = (const char *)getenv("HELIX_LIBS");
     if (!envar)
@@ -71,10 +74,14 @@
 	// from the executable path in argv[0]
 	//
 
-	fullname = findpath(getenv("PATH"), cEnvDelim, cPathDelim, pFullAppPath);
+	envar = getenv("PATH");
+    fullname = envar?findpath(envar, cEnvDelim, cPathDelim, pFullAppPath):pFullAppPath;
 	if (fullname == NULL)
 	{
 	    fprintf(stderr, "helixplay: can't locate install directory\nPlease set HELIX_LIBS environment variable.\n");
+#ifdef _WINCE
+		return HXR_FAIL;
+#endif  //_WINCE
 	    exit(1);
 	}
 

Index: chelixsitesupplier.cpp
===================================================================
RCS file: /cvsroot/clientapps/guiplayer/chelixsitesupplier.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- chelixsitesupplier.cpp	24 Oct 2002 20:50:48 -0000	1.2
+++ chelixsitesupplier.cpp	7 May 2004 22:11:03 -0000	1.3
@@ -38,7 +38,7 @@
 #include "spihxvalues.h"
 #include "spihxbuffer.h"
 
-
+#include "hxstrutl.h"
 
 CHelixSiteSupplier::CHelixSiteSupplier(CHelixPlayer* pParent,
 				       IUnknown* pContext)




More information about the Clientapps-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.