#pragma once // IComponentFactory.h struct IComponent; struct IComponentFactory { static IComponent* create(); };