LibreOffice Module sc (master)  1
sqldataprovider.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 #ifndef INCLUDED_SC_SOURCE_UI_DATAPROVIDER_SQLDATAPROVIDER_HXX
11 #define INCLUDED_SC_SOURCE_UI_DATAPROVIDER_SQLDATAPROVIDER_HXX
12 
13 #include <dataprovider.hxx>
14 
15 namespace sc
16 {
17 class SQLFetchThread;
18 
20 {
21 private:
24 
26 
27 public:
29  virtual ~SQLDataProvider() override;
30 
31  virtual void Import() override;
32 
33  virtual const OUString& GetURL() const override;
34 
35  void ImportFinished();
36 };
37 }
38 
39 #endif
40 
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
rtl::Reference< SQLFetchThread > mxSQLFetchThread
Abstract class for all data provider.
virtual ~SQLDataProvider() override
virtual void Import() override
ScDocumentUniquePtr mpDoc
std::unique_ptr< ScDocument, o3tl::default_delete< ScDocument > > ScDocumentUniquePtr
Definition: document.hxx:2612
virtual const OUString & GetURL() const override
SQLDataProvider(ScDocument *pDoc, sc::ExternalDataSource &rDataSource)