Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  AndroidSystemFontIterator.h  Sprache: C


/* 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

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

letze Version des Elbe Quellennavigators


letze Version des Demonstrationsprogramms Goedel
letze Version des Bille Abgleichprogramms
Version

Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1,189,191
#Domains=946,202