From: <svn...@op...> - 2009-06-09 09:10:24
|
Author: bellmich Date: Tue Jun 9 11:10:20 2009 New Revision: 219 URL: http://libwbxml.opensync.org/changeset/219 Log: added missing Nokia ConML support to wbxml2xml Modified: wbxml2/trunk/tools/wbxml2xml_tool.c Modified: wbxml2/trunk/tools/wbxml2xml_tool.c ============================================================================== --- wbxml2/trunk/tools/wbxml2xml_tool.c Tue Jun 9 10:40:48 2009 (r218) +++ wbxml2/trunk/tools/wbxml2xml_tool.c Tue Jun 9 11:10:20 2009 (r219) @@ -143,6 +143,11 @@ return WBXML_LANG_AIRSYNC; #endif /* WBXML_SUPPORT_AIRSYNC */ +#if defined( WBXML_SUPPORT_CONML ) + if (WBXML_STRCMP(lang, "CONML") == 0) + return WBXML_LANG_CONML; +#endif /* WBXML_SUPPORT_CONML */ + return WBXML_LANG_UNKNOWN; } @@ -218,6 +223,9 @@ #if defined( WBXML_SUPPORT_AIRSYNC ) fprintf(stderr, " AIRSYNC : Microsoft AirSync\n"); #endif /* WBXML_SUPPORT_AIRSYNC */ +#if defined( WBXML_SUPPORT_CONML ) + fprintf(stderr, " CONML : Nokia ConML\n"); +#endif /* WBXML_SUPPORT_CONML */ fprintf(stderr, "\nNote: '-' can be used to mean stdin on input or stdout on output\n\n"); } |