CurrencyCode.h 340 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2021, Tim Flynn <trflynn89@pm.me>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/HashMap.h>
  8. #include <AK/Optional.h>
  9. #include <AK/StringView.h>
  10. namespace Unicode {
  11. struct CurrencyCode {
  12. Optional<int> minor_unit {};
  13. };
  14. Optional<CurrencyCode> get_currency_code(StringView currency);
  15. }