Line data Source code
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_VCL_OUTDEVSTATESTACK_HXX
11 : #define INCLUDED_VCL_OUTDEVSTATESTACK_HXX
12 :
13 : #include <vcl/outdevstate.hxx>
14 :
15 : #include <boost/ptr_container/ptr_deque.hpp>
16 :
17 841703 : class OutDevStateStack
18 : {
19 : typedef boost::ptr_deque<OutDevState> DataType;
20 : DataType maData;
21 : public:
22 : bool empty() const;
23 : size_t size() const;
24 : void push_back( OutDevState* p );
25 : void pop_back();
26 : OutDevState& back();
27 : };
28 :
29 : #endif
30 :
31 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|