src/global.h

changeset 190
bb6c06910f0f
parent 182
545d31130844
child 191
7446ee2fb427
equal deleted inserted replaced
189:722a4eed545d 190:bb6c06910f0f
522 * that belong with the loaded product data and are present to 522 * that belong with the loaded product data and are present to
523 * make things easier. 523 * make things easier.
524 */ 524 */
525 int fermentables_row; ///< Current row, -1 is invalid. 525 int fermentables_row; ///< Current row, -1 is invalid.
526 bool fermentables_use100; ///< Use percentages instead of amount 526 bool fermentables_use100; ///< Use percentages instead of amount
527 bool fermentables_ok; ///< Inventory check
527 int hops_row; 528 int hops_row;
529 bool hops_ok;
528 int miscs_row; 530 int miscs_row;
531 bool miscs_ok;
529 int yeasts_row; 532 int yeasts_row;
533 bool yeasts_ok;
534 bool waters_ok;
530 int mashs_row; 535 int mashs_row;
531 double mashs_kg; ///< Kg fermentables in the mash. 536 double mashs_kg; ///< Kg fermentables in the mash.
532 int mashs_time; ///< Total mash time. 537 int mashs_time; ///< Total mash time.
533 double est_mash_sg; 538 double est_mash_sg;
534 double preboil_sg; 539 double preboil_sg;
570 575
571 extern const QStringList prod_stages; 576 extern const QStringList prod_stages;
572 extern const QStringList prod_split; 577 extern const QStringList prod_split;
573 extern const QStringList recipe_types; 578 extern const QStringList recipe_types;
574 extern const QStringList style_types; 579 extern const QStringList style_types;
580
581 enum FermentableTypes {
582 FERMENTABLE_TYPE_GRAIN,
583 FERMENTABLE_TYPE_SUGAR,
584 FERMENTABLE_TYPE_EXTRACT,
585 FERMENTABLE_TYPE_DRY_EXTRACT,
586 FERMENTABLE_TYPE_ADJUCT
587 };
588
575 extern const QStringList fermentable_types; 589 extern const QStringList fermentable_types;
590
591 enum FermentableGraintypes {
592 FERMENTABLE_GRAINTYPE_BASE,
593 FERMENTABLE_GRAINTYPE_ROAST,
594 FERMENTABLE_GRAINTYPE_CRYSTAL,
595 FERMENTABLE_GRAINTYPE_KILNED,
596 FERMENTABLE_GRAINTYPE_SOUR_MALT,
597 FERMENTABLE_GRAINTYPE_SPECIAL,
598 FERMENTABLE_GRAINTYPE_NO_MALT
599 };
600
576 extern const QStringList fermentable_graintypes; 601 extern const QStringList fermentable_graintypes;
602
603 enum FermentableAdded {
604 FERMENTABLE_ADDED_MASH,
605 FERMENTABLE_ADDED_BOIL,
606 FERMENTABLE_ADDED_FERMENTATION,
607 FERMENTABLE_ADDED_LAGERING,
608 FERMENTABLE_ADDED_BOTTLE,
609 FERMENTABLE_ADDED_KEGS
610 };
611
577 extern const QStringList fermentable_added; 612 extern const QStringList fermentable_added;
578 extern const QStringList hop_types; 613 extern const QStringList hop_types;
579 extern const QStringList hop_forms; 614 extern const QStringList hop_forms;
580 extern const QStringList hop_useat; 615 extern const QStringList hop_useat;
581 extern const QStringList misc_types; 616 extern const QStringList misc_types;

mercurial