cordova.define("org.apache.cordova.plugin.version.version", function(require, exports, module) { /**
 * 
 * Phonegap Version plugin for Android
 * Giuseppe Catalfamo 2013
 * gcatalfamo@gmail.com
 *
 */
var Version = function() {};
var exec = require('cordova/exec');
Version.prototype.getVersionCode = function(successCallback, failureCallback) {
    return exec(successCallback, failureCallback, 'Version', 'GetVersionCode', []);
};
Version.prototype.getVersionName = function(successCallback, failureCallback) {
    return exec(successCallback, failureCallback, 'Version', 'GetVersionName', []);
};

if(!window.plugins) {
   	window.plugins = {};
}
if (!window.plugins.version) {
    window.plugins.version = new Version();
}

if (typeof module != 'undefined' && module.exports) {
		module.exports = Version;
}
});
