summaryrefslogtreecommitdiff
path: root/vcl/inc/outdevstatestack.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-25 19:18:01 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-25 21:14:46 -0500
commit96422e999fbfbfec22767649a973153afc4780f4 (patch)
tree94672e201d98a2d074013cd5168d4a2f206355f2 /vcl/inc/outdevstatestack.hxx
parent5c3f47e44c2a734bddd0c3fb7f1151d5096ac494 (diff)
Remove ptr_deque.hpp header include from vcl/outdev.hxx.
This header is also a very high impact header. Change-Id: Iab63f2ec2edebc14b47820c6377a7f83131cfd06
Diffstat (limited to 'vcl/inc/outdevstatestack.hxx')
-rw-r--r--vcl/inc/outdevstatestack.hxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/vcl/inc/outdevstatestack.hxx b/vcl/inc/outdevstatestack.hxx
new file mode 100644
index 000000000000..406d62b469e3
--- /dev/null
+++ b/vcl/inc/outdevstatestack.hxx
@@ -0,0 +1,31 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_VCL_OUTDEVSTATESTACK_HXX
+#define INCLUDED_VCL_OUTDEVSTATESTACK_HXX
+
+#include <vcl/outdevstate.hxx>
+
+#include <boost/ptr_container/ptr_deque.hpp>
+
+class OutDevStateStack
+{
+ typedef boost::ptr_deque<OutDevState> DataType;
+ DataType maData;
+public:
+ bool empty() const;
+ size_t size() const;
+ void push_back( OutDevState* p );
+ void pop_back();
+ OutDevState& back();
+};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */