1*3edf6992SAndrea Pescetti /**************************************************************
2*3edf6992SAndrea Pescetti  *
3*3edf6992SAndrea Pescetti  * Licensed to the Apache Software Foundation (ASF) under one
4*3edf6992SAndrea Pescetti  * or more contributor license agreements.  See the NOTICE file
5*3edf6992SAndrea Pescetti  * distributed with this work for additional information
6*3edf6992SAndrea Pescetti  * regarding copyright ownership.  The ASF licenses this file
7*3edf6992SAndrea Pescetti  * to you under the Apache License, Version 2.0 (the
8*3edf6992SAndrea Pescetti  * "License"); you may not use this file except in compliance
9*3edf6992SAndrea Pescetti  * with the License.  You may obtain a copy of the License at
10*3edf6992SAndrea Pescetti  *
11*3edf6992SAndrea Pescetti  *   http://www.apache.org/licenses/LICENSE-2.0
12*3edf6992SAndrea Pescetti  *
13*3edf6992SAndrea Pescetti  * Unless required by applicable law or agreed to in writing,
14*3edf6992SAndrea Pescetti  * software distributed under the License is distributed on an
15*3edf6992SAndrea Pescetti  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*3edf6992SAndrea Pescetti  * KIND, either express or implied.  See the License for the
17*3edf6992SAndrea Pescetti  * specific language governing permissions and limitations
18*3edf6992SAndrea Pescetti  * under the License.
19*3edf6992SAndrea Pescetti  *
20*3edf6992SAndrea Pescetti  *************************************************************/
21*3edf6992SAndrea Pescetti 
22*3edf6992SAndrea Pescetti #ifndef INCLUDED_SERFLOCKREFRESHPROCIMPL_HXX
23*3edf6992SAndrea Pescetti #define INCLUDED_SERFLOCKREFRESHPROCIMPL_HXX
24*3edf6992SAndrea Pescetti 
25*3edf6992SAndrea Pescetti #include "SerfLockReqProcImpl.hxx"
26*3edf6992SAndrea Pescetti 
27*3edf6992SAndrea Pescetti namespace http_dav_ucp
28*3edf6992SAndrea Pescetti {
29*3edf6992SAndrea Pescetti 
30*3edf6992SAndrea Pescetti     class SerfLockRefreshProcImpl : public SerfLockReqProcImpl
31*3edf6992SAndrea Pescetti     {
32*3edf6992SAndrea Pescetti     protected:
33*3edf6992SAndrea Pescetti         const char*         mpLockToken;
34*3edf6992SAndrea Pescetti 
35*3edf6992SAndrea Pescetti     public:
36*3edf6992SAndrea Pescetti         SerfLockRefreshProcImpl( const char* inSourcePath,
37*3edf6992SAndrea Pescetti                                  const DAVRequestHeaders& inRequestHeaders,
38*3edf6992SAndrea Pescetti                                  const ucb::Lock& inLock,
39*3edf6992SAndrea Pescetti                                  const char* inLockToken,
40*3edf6992SAndrea Pescetti                                  const char* inTimeout,
41*3edf6992SAndrea Pescetti                                  DAVPropertyValue & outLock);
42*3edf6992SAndrea Pescetti 
43*3edf6992SAndrea Pescetti         virtual ~SerfLockRefreshProcImpl();
44*3edf6992SAndrea Pescetti 
45*3edf6992SAndrea Pescetti         virtual
46*3edf6992SAndrea Pescetti         serf_bucket_t * createSerfRequestBucket( serf_request_t * inSerfRequest );
47*3edf6992SAndrea Pescetti     };
48*3edf6992SAndrea Pescetti 
49*3edf6992SAndrea Pescetti } // namespace http_dav_ucp
50*3edf6992SAndrea Pescetti 
51*3edf6992SAndrea Pescetti #endif // INCLUDED_SERFLOCKREFRESHPROCIMPL_HXX
52