chxavconvertutil.cpp
Upload User: dangjiwu
Upload Date: 2013-07-19
Package Size: 42019k
Code Size: 0k
Category:

Symbian

Development Platform:

Visual C++

  1. /*============================================================================*
  2.  *
  3.  * (c) 1995-2002 RealNetworks, Inc. Patents pending. All rights reserved.
  4.  *
  5.  *============================================================================*/
  6.  
  7. #include <stdlib.h>
  8. #include "chxavconvertutil.h"
  9. bool CHXAvConvertUtil::StringToInt(const char* pBuf, int& value)
  10. {
  11.     char* pEnd = 0;
  12.     value = (int)strtol(pBuf, &pEnd, 10);
  13.     return (*pBuf && *pEnd == '');
  14. }