Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/build/build-clang/     Datei vom 27.6.2026 mit Größe 1 kB image not shown  

SSL AndroidSystemFontIterator.h  Interaktion und
Portierbarkeitunbekannt

 
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef AndroidSystemFontIterator_h_
#define AndroidSystemFontIterator_h_

#include "mozilla/Maybe.h"

#include <android/font.h>
#include <android/system_fonts.h>

namespace mozilla {

class __attribute__((availability(android, introduced = 29)))
AndroidFont final {
 public:
  explicit AndroidFont(AFont* _Nullable aFont) : mFont(aFont) {};

  AndroidFont() = delete;
  AndroidFont(const AndroidFont&) = delete;

  AndroidFont(AndroidFont&& aSrc) {
    mFont = aSrc.mFont;
    aSrc.mFont = nullptr;
  }

  ~AndroidFont();

  const char* _Nullable GetFontFilePath();

 private:
  AFont* _Nullable mFont;
};

class __attribute__((availability(android, introduced = 29)))
AndroidSystemFontIterator final {
 public:
  AndroidSystemFontIterator();
  ~AndroidSystemFontIterator();

  static void Preload();

  Maybe<AndroidFont> Next();

 private:
  ASystemFontIterator* _Nullable mIterator;
};

}  // namespace mozilla

#endif

Messung
CHZG
861009995

[Verzeichnis aufwärts0.27unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-11-25]