DEFINITION MODULE ListsPage;

        (****************************************************************)
        (*                                                              *)
        (*                Admin program for MajorMajor                  *)
        (*           The "lists" page of the settings notebook          *)
        (*                                                              *)
        (*    Started:        16 June 2000                              *)
        (*    Last edited:    19 September 2020                         *)
        (*    Status:         OK                                        *)
        (*                                                              *)
        (****************************************************************)


IMPORT CommonSettings, Languages;

FROM OS2 IMPORT HWND;

PROCEDURE SetINIFileName (name: ARRAY OF CHAR);

    (* Sets the INI file name and mode. *)

PROCEDURE CreatePage (notebook: HWND;  W4style: BOOLEAN;
                                      VAR (*OUT*) PageID: CARDINAL): HWND;

    (* Creates the mailing lists page and adds it to the notebook. *)

PROCEDURE SetFont (VAR (*IN*) name: CommonSettings.FontName);

    (* Sets the font of the text on this page. *)

PROCEDURE SetLanguage (lang: Languages.LangHandle);

    (* Relabels this page in the new language. *)

PROCEDURE StoreData (hwnd: HWND);

    (* Stores the list of mailing lists back to the INI file. *)

PROCEDURE NotifyAChange;

    (* Posts a public event semaphore to say that there has been a      *)
    (* change in our INI data.                                          *)

END ListsPage.

