#include <context.hpp>
Public Member Functions | |
| Context (const std::string &configDir="") | |
| Context (const Context &src) | |
| virtual | ~Context () |
| void | setAuthCache (bool value) |
| void | setLogin (const char *username, const char *password) |
| operator svn_client_ctx_t * () | |
| svn_client_ctx_t * | ctx () |
| void | reset () |
| void | setLogMessage (const char *msg) |
| const char * | getLogMessage () const |
| const char * | getUsername () const |
| const char * | getPassword () const |
| void | setListener (ContextListener *listener) |
| ContextListener * | getListener () const |
| svn::Context::Context | ( | const std::string & | configDir = "" |
) |
default constructor
| configDir | location where the subversion api stores its configuration |
| svn::Context::Context | ( | const Context & | src | ) |
copy constructor
| src |
| virtual svn::Context::~Context | ( | ) | [virtual] |
destructor
| svn_client_ctx_t* svn::Context::ctx | ( | ) |
return the svn_client_ctx object
| ContextListener* svn::Context::getListener | ( | ) | const |
get the listener
| const char* svn::Context::getLogMessage | ( | ) | const |
get log message
| const char* svn::Context::getPassword | ( | ) | const |
get password
| const char* svn::Context::getUsername | ( | ) | const |
get username
| svn::Context::operator svn_client_ctx_t * | ( | ) |
operator to get svn_client_ctx object
| void svn::Context::reset | ( | ) |
this will be called at the beginning of an action. the log message will be reset.
| void svn::Context::setAuthCache | ( | bool | value | ) |
enable/disable authentication caching
| value | true=enable/false=disable |
| void svn::Context::setListener | ( | ContextListener * | listener | ) |
set the listener for the context. The listener will be called to poll authentication information and other information like this
| listener |
| void svn::Context::setLogin | ( | const char * | username, | |
| const char * | password | |||
| ) |
set username/password for authentication
| void svn::Context::setLogMessage | ( | const char * | msg | ) |
set log message
| msg |
1.5.8