DEFINITION MODULE Page1;

        (****************************************************************)
        (*                                                              *)
        (*                  Admin program for MajorMajor                *)
        (*                     Page 1 of the notebook                   *)
        (*                                                              *)
        (*    Started:        16 June 2000                              *)
        (*    Last edited:    29 September 2019                         *)
        (*    Status:         OK                                        *)
        (*                                                              *)
        (****************************************************************)


IMPORT OS2, CommonSettings, Languages;

PROCEDURE SetINIFileName (name: ARRAY OF CHAR);

    (* Sets the INI file name. *)

PROCEDURE CreatePage (notebook: OS2.HWND;
                       VAR (*OUT*) PageID: CARDINAL): OS2.HWND;

    (* Creates page 1 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: OS2.HWND);

    (* Stores the values on page 1 back into the INI file.  *)

PROCEDURE WeaselOnThisMachine(): BOOLEAN;

    (* Returns TRUE iff the mail server is Weasel on this machine. *)

END Page1.

