Main Page   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals  

svn::ContextListener Class Reference

#include <context_listener.hpp>


Public Methods

virtual bool contextGetLogin (std::string &username, std::string &password)=0
virtual void contextNotify (const char *path, svn_wc_notify_action_t action, svn_node_kind_t kind, const char *mime_type, svn_wc_notify_state_t content_state, svn_wc_notify_state_t prop_state, svn_revnum_t revision)=0
virtual bool contextGetLogMessage (std::string &msg)=0
virtual bool contextAskQuestion (const std::string &question, std::string &answer, bool hide)=0


Detailed Description

This is the interface that is used by Context for callbacks. To use this you will have to inherit from this interface and overwrite the virtual methods.


Member Function Documentation

virtual bool svn::ContextListener::contextAskQuestion const std::string &    question,
std::string &    answer,
bool    hide
[pure virtual]
 

this method will be called if the context or the subversion api wants to ask the user a question. The question and the answers will be strings

Parameters:
question 
anwswer 
hide  true if the answer is something like a password
Returns:
continue action
Return values:
true  continue

virtual bool svn::ContextListener::contextGetLogin std::string &    username,
std::string &    password
[pure virtual]
 

this method will be called to retrieve authentication information

Parameters:
username 
password 
Returns:
continue action?
Return values:
true  continue

virtual bool svn::ContextListener::contextGetLogMessage std::string &    msg [pure virtual]
 

this method will be called to retrieve a log message

Parameters:
msg  log message
Returns:
continue action?
Return values:
true  continue

virtual void svn::ContextListener::contextNotify const char *    path,
svn_wc_notify_action_t    action,
svn_node_kind_t    kind,
const char *    mime_type,
svn_wc_notify_state_t    content_state,
svn_wc_notify_state_t    prop_state,
svn_revnum_t    revision
[pure virtual]
 

this method will be called to notify about the progress of an ongoing action

Parameters:
path 
action 
kind 
mime_type 
content_state 
prop_state 
revision 


The documentation for this class was generated from the following file:
Generated on Thu Aug 28 13:22:39 2003 for SvnCpp by doxygen1.2.15