Robots that share their workspace with humans, like household or service robots, need to take into account the presence of humans when planning their actions. In this paper, we present a framework for human-aware planning in which we consider three kinds of human-robot interaction. We focus in particular on the core module of the framework, a human-aware planner that generates a sequence of actions for a robot, taking into account the status of the environment, the goals of the robot and the forecasted plan of the human. We present a first realization of this planner, together with two simple experiments that demonstrate the feasibility of our approach.