00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _SVNCPP_NOTIFY_H_
00015 #define _SVNCPP_NOTIFY_H_
00016
00017
00018 #include "svn_types.h"
00019 #include "svn_wc.h"
00020
00021 namespace svn
00022 {
00023
00033 class Notify
00034 {
00035 public:
00036 Notify();
00037 virtual ~Notify();
00038
00052 virtual void onNotify (
00053 const char *path,
00054 svn_wc_notify_action_t action,
00055 svn_node_kind_t kind,
00056 const char *mime_type,
00057 svn_wc_notify_state_t content_state,
00058 svn_wc_notify_state_t prop_state,
00059 svn_revnum_t revision);
00060
00072 static void notify (
00073 void *baton,
00074 const char *path,
00075 svn_wc_notify_action_t action,
00076 svn_node_kind_t kind,
00077 const char *mime_type,
00078 svn_wc_notify_state_t content_state,
00079 svn_wc_notify_state_t prop_state,
00080 svn_revnum_t revision);
00081 };
00082
00083 }
00084
00085 #endif
00086
00087
00088
00089
00090