31
31
static std::vector<int> splitString(const std::string &str, const std::string &delimiter);
32
32
static std::string linuxSeparator(const std::string &ps);
33
33
static std::string windowsSeparator(const std::string &ps);
34
36
static std::string getNicks(const CID& cid);
35
37
static std::string getNicks(const User::Ptr& user);
36
39
static std::string getHubNames(const CID& cid);
37
40
static std::string getHubNames(const User::Ptr& user);
38
41
static std::string getTextFromMenu(GtkMenuItem *item);
39
42
static std::vector<std::string>& getCharsets();
40
43
static void openURI(const std::string &uri);
46
static bool splitMagnet(const std::string &magnet, std::string &name, int64_t &size, std::string &tth);
42
51
static std::vector<std::string> charsets;