PmDialogues.dcl 825 Bytes
Newer Older
Diederik van Arkel's avatar
Diederik van Arkel committed
1 2 3 4 5 6 7 8
definition module PmDialogues

import StdPSt
import PmTypes, PmProject, IdeState

projectOptions	:: !(PSt General) -> PSt General
projectDefaults	:: !(PSt General) -> PSt General

9 10 11
project_directory_up :: !(PSt General) -> PSt General
project_directory_down :: !(PSt General) -> PSt General

Diederik van Arkel's avatar
Diederik van Arkel committed
12 13 14 15 16
doPathsDialog	::					// Display a Paths dialogue
	!String										// Dialogue title string
	!Pathname									// Application path
	!Pathname									// Project path
	!(List Pathname)							// List of paths
17
	((List Pathname) (PSt .l) -> (PSt .l))	// Save paths function
Diederik van Arkel's avatar
Diederik van Arkel committed
18
	(PSt .l) -> (PSt .l)
Diederik van Arkel's avatar
Diederik van Arkel committed
19 20 21 22

doCompilerOptionsDialog ::			// Display Compiler Options dialogue
	!String										// Dialogue title string
	!CompilerOptions							// Compiler options
23
	(CompilerOptions (PSt .l) -> (PSt .l))	// Save options function
Diederik van Arkel's avatar
Diederik van Arkel committed
24
	!(PSt .l) -> (PSt .l)