var XApp_plugin = function(xobj, options){
	// __construct();
	
	this.options = $.extend(true, {}, XApp_plugin.fn.options, xobj.options, this.options, options);
};
	
XApp_plugin.prototype = {

	options : {
		// base options
		recursive: false,
		ui: false
	},
	
	onload : function(plugin_name)
	{
		// onload plugin (used to extend plugins)
	},
		
	init : function(xobj)
	{
		// base init
		this.$el = xobj.$el;
		
		if( this.options.ui ) {
			this.$el.addClass('ui-widget');
		}
	}
		
};

XApp_plugin.fn = XApp_plugin.prototype;
