

#ifndef _tabdlg_h_ /* Sun Sep  8 15:40:13 1996 */
#define _tabdlg_h_


// We think of a tabbed dialog as an ordered sequence of pages.

class YACL_UI UI_TabbedDialog: public UI_Dialog {

public:
    UI_TabbedDialog (UI_VisualObject* parent);

    bool AddPage (short pageIndex, UI_ViewDescriptor desc[],
                  const char* tabTitle, UI_ViewID id);

    bool RemovePage (short pageIndex);

    short CurrentPageIndex () const;

    UI_ViewID ViewIdOfPage (short index) const;

    short IndexOfPage (UI_ViewID id) const;
    

};
#endif /* _tabdlg_h_ */
