1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00
transmission/gtk/FilterBar.h
Mike Gelfand eaeed301fa
Rename GTK client files to match the classes they contain (#2073)
This also brings naming closer to Qt client which simplifies things a
bit.
2021-11-01 03:11:23 +03:00

28 lines
547 B
C++

/*
* This file Copyright (C) 2012-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 <gtkmm.h>
typedef struct tr_session tr_session;
class FilterBar : public Gtk::Box
{
public:
FilterBar(tr_session* session, Glib::RefPtr<Gtk::TreeModel> const& torrent_model);
~FilterBar() override;
Glib::RefPtr<Gtk::TreeModel> get_filter_model() const;
private:
class Impl;
std::unique_ptr<Impl> const impl_;
};