DEFINITION MODULE AdminDialogue;

        (****************************************************************)
        (*                                                              *)
        (*                Admin program for MajorMajor                  *)
        (*                     The Admin dialogue                       *)
        (*                                                              *)
        (*    Started:        22 June 2000                              *)
        (*    Last edited:    19 September 2020                         *)
        (*    Status:         OK                                        *)
        (*                                                              *)
        (****************************************************************)


IMPORT CommonSettings;

FROM OS2 IMPORT HWND;
FROM Languages IMPORT LangHandle;

PROCEDURE SetINIFileName (name: ARRAY OF CHAR);

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

PROCEDURE Create (owner: HWND;  VAR (*OUT*) PageID: CARDINAL): HWND;

    (* Creates the dialogue box. *)

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

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

PROCEDURE SetLanguage (lang: LangHandle);

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

PROCEDURE StoreData (hwnd: HWND);

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

END AdminDialogue.

