6 #include "PackageTrust.h"
7 #include "package_meta.h"
9 // keeps the map sorted by name
10 struct packagemeta_ltcomp
12 bool operator() ( const packagemeta
*m1
, const packagemeta
*m2
)
13 { return casecompare(m1
->name
, m2
->name
) < 0; }
17 class PrereqPage
:public PropertyPage
21 virtual ~PrereqPage () { };
23 virtual void OnInit ();
24 virtual void OnActivate ();
25 virtual long OnNext ();
26 virtual long OnBack ();
27 virtual long OnUnattended ();
33 // returns true if no dependency problems exist
36 // formats 'unmet' as a string for display
37 void getUnmetString (std::string
&s
);
39 // finialize the transaction list
44 static void setTestPackages (bool t
) { use_test_packages
= t
; };
47 static bool use_test_packages
;
51 #endif /* SETUP_PREREQ_H */