The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours.
Further details in the announcement
context.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _SVNCPP_CONTEXT_HPP_
00027 #define _SVNCPP_CONTEXT_HPP_
00028
00029
00030 #include <string>
00031
00032
00033 #include "svn_client.h"
00034
00035
00036 #include "svncpp/pool.hpp"
00037
00038
00039 namespace svn
00040 {
00041
00042 class ContextListener;
00043
00049 class Context
00050 {
00051 public:
00059 Context (const std::string & configDir = "");
00060
00066 Context (const Context &src);
00067
00071 virtual ~Context ();
00072
00078 void setAuthCache (bool value);
00079
00083 void setLogin (const char * username, const char * password);
00084
00088 operator svn_client_ctx_t * ();
00089
00093 svn_client_ctx_t * ctx ();
00094
00099 void reset ();
00100
00106 void setLogMessage (const char * msg);
00107
00113 const char *
00114 getLogMessage () const;
00115
00121 const char *
00122 getUsername () const;
00123
00129 const char *
00130 getPassword () const;
00131
00139 void
00140 setListener (ContextListener * listener);
00141
00147 ContextListener *
00148 getListener () const;
00149
00150 private:
00151 struct Data;
00152 Data * m;
00153
00157 Context & operator = (const Context &);
00158 };
00159 }
00160
00161 #endif
00162
00163
00164
00165
00166
Generated on Tue Mar 4 00:40:36 2008 for SvnCpp by
1.5.3