Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/app/desktop-launcher/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 692 B image not shown  

Quelle  file_sink.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 FILE_SINK_H
#define FILE_SINK_H

#include <nsWindowsHelpers.h>
#include <string>
#include <windows.h>
#include "data_sink.h"

class FileSink : public DataSink {
 public:
  // Open the download receiver
  bool open(std::wstring& filename);
  // Send data to the download receiver
  bool accept(char* buf, int bytesToWrite) override;
  // Make our handle read-only so we can run the file
  bool freeze();

 private:
  nsAutoHandle fileHandle;
  std::wstring mFilename;
};

#endif

Messung V0.5 in Prozent
C=86 H=100 G=93

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.