/*
	Licensed Material - Property of IBM

	(C) Copyright 2015 IBM Corp.

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
*/


'use strict';

//private
var parseConfigXML = require('mdo-cordova-support').parse;
/**
    Tries to find metadata out of existing Native Client Project
    returns metadata
	{
		clientMetadata['app.version']
		clientMetadata['app.name']
		clientMetadata['app.description']
		clientMetadata['app.dotId']
		clientMetadata['author.name']
		clientMetadata['author.email']
		clientMetadata['author.href']
		clientMetadata['app.mainfile']
	}
*/
module.exports = function (directory){
	return parseConfigXML(directory);
};
