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

notify.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_NOTIFY_H_
00015 #define _SVNCPP_NOTIFY_H_
00016 
00017 // subversion api
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  * local variables:
00088  * eval: (load-file "../../rapidsvn-dev.el")
00089  * end:
00090  */

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