Bump version to 6.4-15
[LibreOffice.git] / svx / source / inc / svdobjuserdatalist.hxx
blob19d25e175d0a70c446591c68571123a3e5f27890
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_SVX_SVDOBJUSERDATALIST_HXX
11 #define INCLUDED_SVX_SVDOBJUSERDATALIST_HXX
13 #include <svx/svdobj.hxx>
15 #include <vector>
16 #include <memory>
18 class SdrObjUserData;
20 class SdrObjUserDataList
22 typedef std::vector<std::unique_ptr<SdrObjUserData> > ListType;
23 ListType maList;
25 public:
26 SdrObjUserDataList();
27 ~SdrObjUserDataList();
29 size_t GetUserDataCount() const;
30 SdrObjUserData& GetUserData(size_t nNum);
31 void AppendUserData(std::unique_ptr<SdrObjUserData> pData);
32 void DeleteUserData(size_t nNum);
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */