'use strict';
var isA = require("Espresso/oop").isA;
var isA = require("Espresso/oop").isA;

var oop = require("Espresso/oop").oop;

var ComponentManagerEvent = require("Espresso/Component/Event/Manager/ComponentManagerEvent");

function PreRestartComponentEvent( manager, component ){
	if(!isA(this,"Espresso/Component/Event/ComponentManagerEvent"))
		init(this,ComponentManagerEvent,manager);
	oop(this,"Espresso/Component/Event/PreRestartComponentEvent");

	this.__.component = component;
}

function getComponent(){
	return this.__.component;
}

PreRestartComponentEvent.prototype = Object.create( ComponentManagerEvent.prototype );
PreRestartComponentEvent.prototype.getComponent = getComponent;

module.exports = PreRestartComponentEvent;
var oop = require("Espresso/oop").oop;
var init = require("Espresso/oop").init;

var trim = require("Espresso/trim").trim;