/* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once #include namespace Export { namespace Output { class Stats { public: Stats() = default; Stats(const Stats &other); void incrementFiles(); void incrementBytes(int count); int filesCount() const; int64 bytesCount() const; private: std::atomic _files; std::atomic _bytes; }; } // namespace Output } // namespace Export