fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / inc / searchresults.hxx
blob22af42940f1c160fe32e049d1dd00107902db0d6
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 INCLUDED_SC_SOURCE_UI_INC_SEARCHRESULTS_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_SEARCHRESULTS_HXX
13 #include <vcl/dialog.hxx>
14 #include <sfx2/childwin.hxx>
16 class ScDocument;
17 class ScRangeList;
18 class SvSimpleTable;
20 namespace sc {
22 class SearchResultsDlg : public ModelessDialog
24 VclPtr<SvSimpleTable> mpList;
25 SfxBindings* mpBindings;
26 ScDocument* mpDoc;
28 DECL_LINK( ListSelectHdl, void * );
29 public:
30 SearchResultsDlg( SfxBindings* _pBindings, vcl::Window* pParent, sal_uInt16 nId );
31 virtual ~SearchResultsDlg();
32 virtual void dispose() SAL_OVERRIDE;
34 void FillResults( ScDocument* pDoc, const ScRangeList& rMatchedRanges );
36 virtual bool Close() SAL_OVERRIDE;
39 class SearchResultsDlgWrapper : public SfxChildWindow
41 public:
42 SearchResultsDlgWrapper(
43 vcl::Window* _pParent, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo );
45 virtual ~SearchResultsDlgWrapper();
47 SFX_DECL_CHILDWINDOW_WITHID(SearchResultsDlgWrapper);
52 #endif
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */