Fix #95: Remove unused get_token() wrapper from pclsync_lib

- Eliminates thin wrapper that just called psync_get_token()
- Function was declared but never used
- Simplifies pclsync_lib API as per issue #95
This commit is contained in:
Levi Neely 2026-02-14 19:55:24 +01:00 committed by Levi Neely
parent 11074655db
commit 2c5e32e910
2 changed files with 0 additions and 3 deletions

View File

@ -113,8 +113,6 @@ clib::pclsync_lib &clib::pclsync_lib::get_lib() {
return g_lib;
}
char *clib::pclsync_lib::get_token() { return psync_get_token(); }
void clib::pclsync_lib::read_password() {
read_from_stdin(password_);
}

View File

@ -102,7 +102,6 @@ public:
static int add_sync_folder(const char *path);
static int remove_sync_folder(const char *path);
char *get_token();
int logout();
int unlink();
int login(const char *user, const char *pass, int save);