A novel approach employing more general structures, locally convex cones, which are natural generalizations of locally convex vector spaces, is introduced here. This setting allows developing a general theory of integration which simultaneously deals with all of the above-mentioned cases.