Skip to content
Snippets Groups Projects
Select Git revision
  • e3a26eab8a92709388debb9cb2763c33de0e7ae3
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
41 results

array.c

Blame
  • enums.h 551 B
    #ifndef ENUMS_H
    #define ENUMS_H
    
    namespace SaleStatus {
    /**
     * @brief Possible sale statuses for a product.
     *
     * `for_sale` and `not_for_sale` are self explanitory.
     *
     * `hidden` (almost) completely hides the product from all menus,
     * and is used since product's can't be removed (since that would
     * wreck havok on the logs).
     *
     * `system` have previously been used for some internal shenanigans,
     * but isn't any more.
     */
    enum SaleStatus : int {
        not_for_sale = 1,
        for_sale = 0,
        hidden = 2,
        system = -1,
    };
    };
    
    #endif // ENUMS_H