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

context_listener.hpp

Go to the documentation of this file.
00001 /*
00002  * ====================================================================
00003  * Copyright (c) 2002, 2003 The RapidSvn Group.  All rights reserved.
00004  *
00005  * This software is licensed as described in the file LICENSE.txt,
00006  * which you should have received as part of this distribution.
00007  *
00008  * This software consists of voluntary contributions made by many
00009  * individuals.  For exact contribution history, see the revision
00010  * history and logs, available at http://rapidsvn.tigris.org/.
00011  * ====================================================================
00012  */
00013 
00014 #ifndef _SVNCPP_CONTEXT_LISTENER_HPP_
00015 #define _SVNCPP_CONTEXT_LISTENER_HPP_ 
00016 
00017 // stl
00018 #include <string>
00019 
00020 // Subversion api
00021 #include "svn_client.h"
00022 
00023 // svncpp
00024 #include "pool.hpp"
00025 
00026 // forward declarations
00027 
00028 namespace svn
00029 {
00036   class ContextListener
00037   {
00038   public:
00048     virtual bool 
00049     contextGetLogin (std::string & username, 
00050                      std::string & password) = 0;
00051 
00064     virtual void
00065     contextNotify (const char *path,
00066             svn_wc_notify_action_t action,
00067             svn_node_kind_t kind,
00068             const char *mime_type,
00069             svn_wc_notify_state_t content_state,
00070             svn_wc_notify_state_t prop_state,
00071             svn_revnum_t revision) = 0;
00072 
00081     virtual bool
00082     contextGetLogMessage (std::string & msg) = 0;
00083 
00096     virtual bool
00097     contextAskQuestion (const std::string & question,
00098                         std::string & answer,
00099                         bool hide) = 0;
00100   };
00101 }
00102 
00103 #endif
00104 /* -----------------------------------------------------------------
00105  * local variables:
00106  * eval: (load-file "../../rapidsvn-dev.el")
00107  * end:
00108  */

Generated on Thu Aug 28 13:22:35 2003 for SvnCpp by doxygen1.2.15