diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-23 12:00:45 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-23 13:22:58 -0500 |
commit | 8d007c83ea064baebf6a77ca9ad1418c66892249 (patch) | |
tree | 205b4a1ccc0a16aaf42f3d63bcc7150e6f3eff6b /sfx2/source/inc/childwinimpl.hxx | |
parent | 8da8927a0198f41fc3bcd6d512e3b570d4b8803f (diff) |
Move this header into source/inc.
Change-Id: I9127aaea3330b5c972ae7b3bf09912bc306d0f3c
Diffstat (limited to 'sfx2/source/inc/childwinimpl.hxx')
-rw-r--r-- | sfx2/source/inc/childwinimpl.hxx | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/sfx2/source/inc/childwinimpl.hxx b/sfx2/source/inc/childwinimpl.hxx new file mode 100644 index 000000000000..8b414e743baf --- /dev/null +++ b/sfx2/source/inc/childwinimpl.hxx @@ -0,0 +1,61 @@ +/* -*- 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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_SFX2_CHILDWINIMPL_HXX +#define INCLUDED_SFX2_CHILDWINIMPL_HXX + +#include <sfx2/childwin.hxx> + +#include <boost/ptr_container/ptr_vector.hpp> + +class SfxChildWinContextArr_Impl +{ + typedef boost::ptr_vector<SfxChildWinContextFactory> DataType; + DataType maData; + +public: + size_t size() const; + const SfxChildWinContextFactory& operator []( size_t i ) const; + SfxChildWinContextFactory& operator []( size_t i ); + void push_back( SfxChildWinContextFactory* p ); +}; + +class SfxChildWinFactArr_Impl +{ + typedef boost::ptr_vector<SfxChildWinFactory> DataType; + DataType maData; + +public: + typedef DataType::iterator iterator; + typedef DataType::const_iterator const_iterator; + + size_t size() const; + const SfxChildWinFactory& operator []( size_t i ) const; + SfxChildWinFactory& operator []( size_t i ); + void push_back( SfxChildWinFactory* p ); + void erase( iterator it ); + + iterator begin(); + const_iterator begin() const; +}; + +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |