3 * ====================================================================
4 * Copyright (c) 2003-2006 CollabNet. All rights reserved.
6 * This software is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at http://subversion.tigris.org/license-1.html.
9 * If newer versions of this license are posted there, you may use a
10 * newer version instead, at your option.
12 * This software consists of voluntary contributions made by many
13 * individuals. For exact contribution history, see the revision
14 * history and logs, available at http://subversion.tigris.org/.
15 * ====================================================================
19 * @brief Interface of the class Notify2
29 * This class passes notification from subversion to a Java object
36 * The Java object to receive the notifications. This is a global
37 * reference because it has to live longer than the
38 * SVNClient.notification call.
41 Notify2(jobject p_notify
);
44 static Notify2
*makeCNotify(jobject notify
);
48 * Implementation of the svn_wc_notify_func_t API.
50 * @param baton notification instance is passed using this parameter
51 * @param notify all the information about the event
52 * @param pool An APR pool from which to allocate memory.
54 static void notify(void *baton
,
55 const svn_wc_notify_t
*notify
,
59 * Handler for Subversion notifications.
61 * @param notify all the information about the event
62 * @param pool An APR pool from which to allocate memory.
64 void onNotify(const svn_wc_notify_t
*notify
,