#ifndef __SM_LAYOUT

#define __SM_LAYOUT


#include "MBStaticList.h"

class Window;

interface ILayout
{
  public:
  
                  ILayout     ();
    virtual       ~ILayout    ();

    int           Init        ();
    int           Shutdown    ();
        
    int           Add         (Window* pWindow);
    int           Remove      (Window* pWindow);

    virtual void  Update      ();

  protected:
    MBStaticList<Window*>     m_Sons;
};


#endif
