webdavcontent.hxx (6df1ea1f) webdavcontent.hxx (59ddfc10)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 38 unchanged lines hidden (view full) ---

47} } } }
48
49namespace com { namespace sun { namespace star { namespace ucb {
50 struct OpenCommandArgument2;
51 struct PostCommandArgument2;
52 struct TransferInfo;
53} } } }
54
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 38 unchanged lines hidden (view full) ---

47} } } }
48
49namespace com { namespace sun { namespace star { namespace ucb {
50 struct OpenCommandArgument2;
51 struct PostCommandArgument2;
52 struct TransferInfo;
53} } } }
54
55namespace webdav_ucp
55namespace http_dav_ucp
56{
57
58//=========================================================================
59
60// UNO service name for the content.
61#define WEBDAV_CONTENT_SERVICE_NAME "com.sun.star.ucb.WebDAVContent"
62
63//=========================================================================
64
65class ContentProvider;
66class ContentProperties;
67class CachableContentProperties;
68
69class Content : public ::ucbhelper::ContentImplHelper,
70 public com::sun::star::ucb::XContentCreator
71{
72 enum ResourceType
73 {
74 UNKNOWN,
56{
57
58//=========================================================================
59
60// UNO service name for the content.
61#define WEBDAV_CONTENT_SERVICE_NAME "com.sun.star.ucb.WebDAVContent"
62
63//=========================================================================
64
65class ContentProvider;
66class ContentProperties;
67class CachableContentProperties;
68
69class Content : public ::ucbhelper::ContentImplHelper,
70 public com::sun::star::ucb::XContentCreator
71{
72 enum ResourceType
73 {
74 UNKNOWN,
75 FTP,
76 NON_DAV,
77 DAV
78 };
79
80 std::auto_ptr< DAVResourceAccess > m_xResAccess;
81 std::auto_ptr< CachableContentProperties >
82 m_xCachedProps; // locally cached props
83 rtl::OUString m_aEscapedTitle;

--- 214 unchanged lines hidden ---
75 NON_DAV,
76 DAV
77 };
78
79 std::auto_ptr< DAVResourceAccess > m_xResAccess;
80 std::auto_ptr< CachableContentProperties >
81 m_xCachedProps; // locally cached props
82 rtl::OUString m_aEscapedTitle;

--- 214 unchanged lines hidden ---