Slice the eggplant and peeled potatoes in small pieces and place in a bowl. Add chopped garlic, salt and pepper and mix. Put in a greased form.
Whip the cream and the egg. Pour in a third of grated cheese, mix and fill with plenty of vegetables. Bake for about 30 minutes at 180 ° C. Sprinkle the casserole with the remaining grated cheese and cook another 10-20 minutes.