mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
bf41e1487a
* Gtk to gtkmm: main.cc * Gtk to gtkmm: details.cc * Gtk to gtkmm: tr-window.cc * Gtk to gtkmm: tr-prefs.cc * Gtk to gtkmm: open-dialog.cc * Gtk to gtkmm: file-list.cc * Gtk to gtkmm: filter.cc * Gtk to gtkmm: torrent-cell-renderer.cc * Gtk to gtkmm: msgwin.cc * Gtk to gtkmm: makemeta-ui.cc * Gtk to gtkmm: relocate.cc * Gtk to gtkmm: stats.cc * Gtk to gtkmm: dialogs.cc * Gtk to gtkmm: hig.cc * Gtk to gtkmm: favicon.cc * Gtk to gtkmm: icons.cc * Gtk to gtkmm: tr-icon.cc * Gtk to gtkmm: actions.cc * Gtk to gtkmm: notify.cc * Gtk to gtkmm: util.cc * Gtk to gtkmm: tr-core.cc * Gtk to gtkmm: conf.cc * Glibmm <2.62 compatibility (missing Glib::ustring::sprintf) * Glibmm <2.56 compatibility (missing Glib::RefPtr<>::get) * Bump glibmm to 2.50.1+ (C++17 fix in Glib::Variant) * Fix empty timestamps on message log export (broken by #1444) * Fix LGTM build issues * Review fixes
34 lines
700 B
C++
34 lines
700 B
C++
/*
|
|
* This file Copyright (C) 2009-2021 Mnemosyne LLC
|
|
*
|
|
* It may be used under the GNU GPL versions 2 or 3
|
|
* or any future license endorsed by Mnemosyne LLC.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include <gtkmm.h>
|
|
|
|
class TrCore;
|
|
|
|
class RelocateDialog : public Gtk::Dialog
|
|
{
|
|
public:
|
|
~RelocateDialog() override;
|
|
|
|
static std::unique_ptr<RelocateDialog> create(
|
|
Gtk::Window& parent,
|
|
Glib::RefPtr<TrCore> const& core,
|
|
std::vector<int> const& torrent_ids);
|
|
|
|
protected:
|
|
RelocateDialog(Gtk::Window& parent, Glib::RefPtr<TrCore> const& core, std::vector<int> const& torrent_ids);
|
|
|
|
private:
|
|
class Impl;
|
|
std::unique_ptr<Impl> const impl_;
|
|
};
|