mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user