refactor: remove tr_sessionGetConfigDir() (#3506)

* refactor: remove tr_sessionGetConfigDir() from GTK client

* refactor: remove tr_sessionGetConfigDir() from daemon

* refactor: remove tr_sessionGetConfigDir()

* refactor: remove tr_getTorrentDir()

* fixup! refactor: remove tr_sessionGetConfigDir()
This commit is contained in:
Charles Kerr
2022-07-21 20:12:45 -05:00
committed by GitHub
parent 3f5b439fcc
commit c50da43ae0
18 changed files with 97 additions and 105 deletions

View File

@@ -32,7 +32,7 @@ public:
TR_DISABLE_COPY_MOVE(Session)
static Glib::RefPtr<Session> create(tr_session* session);
static Glib::RefPtr<Session> create(tr_session* session, std::string_view config_dir);
tr_session* close();
@@ -130,7 +130,7 @@ public:
sigc::signal<void(bool)>& signal_port_tested();
protected:
explicit Session(tr_session* session);
explicit Session(tr_session* session, std::string_view config_dir);
private:
class Impl;