Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / inc / documentlinkmgr.hxx
blobead56985788e49a705f98965dcf51344e143251d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef SC_DOCUMENTLINKMGR_HXX
11 #define SC_DOCUMENTLINKMGR_HXX
13 #include <boost/noncopyable.hpp>
15 namespace sc {
17 class DataStream;
18 struct DocumentLinkManagerImpl;
20 class DocumentLinkManager : boost::noncopyable
22 DocumentLinkManagerImpl* mpImpl;
24 public:
25 DocumentLinkManager();
27 void setDataStream( DataStream* p );
28 DataStream* getDataStream();
29 const DataStream* getDataStream() const;
34 #endif
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */