webdavprovider.hxx (6df1ea1f) | webdavprovider.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 --- 16 unchanged lines hidden (view full) --- 25#define _WEBDAV_UCP_PROVIDER_HXX 26 27#include <rtl/ref.hxx> 28#include <com/sun/star/beans/Property.hpp> 29#include "DAVSessionFactory.hxx" 30#include <ucbhelper/providerhelper.hxx> 31#include "PropertyMap.hxx" 32 | 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 --- 16 unchanged lines hidden (view full) --- 25#define _WEBDAV_UCP_PROVIDER_HXX 26 27#include <rtl/ref.hxx> 28#include <com/sun/star/beans/Property.hpp> 29#include "DAVSessionFactory.hxx" 30#include <ucbhelper/providerhelper.hxx> 31#include "PropertyMap.hxx" 32 |
33namespace webdav_ucp { | 33namespace http_dav_ucp { |
34 35//========================================================================= 36 37// UNO service name for the provider. This name will be used by the UCB to 38// create instances of the provider. 39#define WEBDAV_CONTENT_PROVIDER_SERVICE_NAME \ 40 "com.sun.star.ucb.WebDAVContentProvider" 41#define WEBDAV_CONTENT_PROVIDER_SERVICE_NAME_LENGTH 38 --- 12 unchanged lines hidden (view full) --- 54#define HTTPS_URL_SCHEME_LENGTH 5 55 56#define DAV_URL_SCHEME "dav" 57#define DAV_URL_SCHEME_LENGTH 3 58 59#define DAVS_URL_SCHEME "davs" 60#define DAVS_URL_SCHEME_LENGTH 4 61 | 34 35//========================================================================= 36 37// UNO service name for the provider. This name will be used by the UCB to 38// create instances of the provider. 39#define WEBDAV_CONTENT_PROVIDER_SERVICE_NAME \ 40 "com.sun.star.ucb.WebDAVContentProvider" 41#define WEBDAV_CONTENT_PROVIDER_SERVICE_NAME_LENGTH 38 --- 12 unchanged lines hidden (view full) --- 54#define HTTPS_URL_SCHEME_LENGTH 5 55 56#define DAV_URL_SCHEME "dav" 57#define DAV_URL_SCHEME_LENGTH 3 58 59#define DAVS_URL_SCHEME "davs" 60#define DAVS_URL_SCHEME_LENGTH 4 61 |
62 63 64#define FTP_URL_SCHEME "ftp" 65 | |
66#define HTTP_CONTENT_TYPE \ 67 "application/" HTTP_URL_SCHEME "-content" 68 69#define WEBDAV_CONTENT_TYPE HTTP_CONTENT_TYPE 70#define WEBDAV_COLLECTION_TYPE \ 71 "application/" WEBDAV_URL_SCHEME "-collection" 72 73//========================================================================= --- 47 unchanged lines hidden --- | 62#define HTTP_CONTENT_TYPE \ 63 "application/" HTTP_URL_SCHEME "-content" 64 65#define WEBDAV_CONTENT_TYPE HTTP_CONTENT_TYPE 66#define WEBDAV_COLLECTION_TYPE \ 67 "application/" WEBDAV_URL_SCHEME "-collection" 68 69//========================================================================= --- 47 unchanged lines hidden --- |