3
* ====================================================================
4
* Licensed to the Apache Software Foundation (ASF) under one
5
* or more contributor license agreements. See the NOTICE file
6
* distributed with this work for additional information
7
* regarding copyright ownership. The ASF licenses this file
8
* to you under the Apache License, Version 2.0 (the
9
* "License"); you may not use this file except in compliance
10
* with the License. You may obtain a copy of the License at
12
* http://www.apache.org/licenses/LICENSE-2.0
14
* Unless required by applicable law or agreed to in writing,
15
* software distributed under the License is distributed on an
16
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
* KIND, either express or implied. See the License for the
18
* specific language governing permissions and limitations
20
* ====================================================================
23
* @file UpdateReporter.h
24
* @brief Interface of the class UpdateReporter
27
#ifndef JAVAHL_UPDATE_REPORTER_H
28
#define JAVAHL_UPDATE_REPORTER_H
34
#include "EditorProxy.h"
39
* This class wraps the update/status/switch/diff reporter in svn_ra.h
41
class StateReporter : public SVNBase
45
virtual ~StateReporter();
47
static StateReporter* getCppObject(jobject jreporter);
49
virtual void dispose(jobject jthis);
51
void setPath(jstring jpath, jlong jrevision, jobject jdepth,
52
jboolean jstart_empty, jstring jlock_token);
53
void deletePath(jstring jpath);
54
void linkPath(jstring jurl, jstring jpath, jlong jrevision, jobject jdepth,
55
jboolean jstart_empty, jstring jlock_token);
62
const svn_ra_reporter3_t* m_raw_reporter;
64
EditorProxy* m_editor;
66
friend class RemoteSession;
67
apr_pool_t* get_report_pool() const { return pool.getPool(); }
68
void set_reporter_data(const svn_ra_reporter3_t* raw_reporter,
71
svn_revnum_t m_target_revision;
74
#endif // JAVAHL_UPDATE_REPORTER_H