LibreOffice Module sc (master) 1
xmldataprovider.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <dataprovider.hxx>
13
14namespace sc
15{
16class XMLFetchThread;
17
19{
20private:
24
25public:
27 virtual ~XMLDataProvider() override;
28
29 virtual void Import() override;
30
31 virtual const OUString& GetURL() const override;
32
33 void ImportFinished();
34};
35}
36
37/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Abstract class for all data provider.
virtual ~XMLDataProvider() override
rtl::Reference< XMLFetchThread > mxXMLFetchThread
XMLDataProvider(ScDocument *pDoc, sc::ExternalDataSource &rDataSource)
virtual const OUString & GetURL() const override
ScDocumentUniquePtr mpDoc
virtual void Import() override
std::unique_ptr< ScDocument, o3tl::default_delete< ScDocument > > ScDocumentUniquePtr
Definition: document.hxx:2720
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15