In a recent paper we reported an experimental study of two N-alkylimidazolium salts. These ionic compounds exhibit liquid crystalline behaviour with melting points above 50 degrees C in bulk. However, if they are sheared, a (possibly non-equilibrium) lamellar phase forms at room temperature. Upon shearing a thin film of the material between microscope slides, textures were observed that are strikingly similar to liquid (wet) foams. The images obtained from polarising optical microscopy (POM) were found to share many of the known quantitative properties of a two-dimensional foam coarsening process. Here we report an experimental study of this foam using a shearing system coupled with POM. The structure and evolution of the foam are investigated through the image analysis of time sequences of micrographs obtained for well-controlled sets of physical parameters (sample thickness, shear rate and temperature). In particular, we find that there is a threshold shear rate below which no foam can form. Above this threshold, a steady-state foam pattern is obtained where the mean cell area generally decreases with increasing shear rate. Furthermore, the steady-state internal cell angles and distribution of the cell number of sides deviate from their equilibrium (i.e. zero-shear) values.