launcher_linux.h 528 B

123456789101112131415161718192021222324252627
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. #include "core/launcher.h"
  9. namespace Platform {
  10. class Launcher : public Core::Launcher {
  11. public:
  12. Launcher(int argc, char *argv[]);
  13. int exec() override;
  14. private:
  15. bool launchUpdater(UpdaterLaunch action) override;
  16. bool _updating = false;
  17. };
  18. } // namespace Platform