localconnectivityservice/generichid/src/hidparser.cpp
branchRCL_3
changeset 44 7a45d2ea2f56
parent 0 c3e98f10fcf4
equal deleted inserted replaced
41:fb2c519f85e0 44:7a45d2ea2f56
  1266 // ---------------------------------------------------------------------------
  1266 // ---------------------------------------------------------------------------
  1267 //
  1267 //
  1268 TInt CParser::HandleGlobalReportCount( const TItem& aItem )
  1268 TInt CParser::HandleGlobalReportCount( const TItem& aItem )
  1269     {
  1269     {
  1270     TRACE_INFO((_L("Global report count %d\n"), aItem.Data()));
  1270     TRACE_INFO((_L("Global report count %d\n"), aItem.Data()));
  1271     TInt retVal = 0;
  1271     TInt retVal = ENoError;
  1272     iGlobal.iCount = aItem.Data();
  1272     iGlobal.iCount = aItem.Data();
  1273     if (aItem.Data() == 0)
  1273     if (aItem.Data() == 0)
  1274         {
  1274         {
  1275         retVal = EZeroReportCount;
  1275         TRACE_INFO((_L("Global report count zero\n")));	     
  1276         }
  1276         }
  1277     iItemsDefined |= EReportCount;
  1277     iItemsDefined |= EReportCount;
  1278 
  1278 
  1279     if (iGlobalItemsDefined & EReportCount)
  1279     if (iGlobalItemsDefined & EReportCount)
  1280         {
  1280         {