diff options
-rw-r--r-- | include/svx/gallerybinaryengineentry.hxx | 3 | ||||
-rw-r--r-- | include/svx/galleryfilestorageentry.hxx | 28 | ||||
-rw-r--r-- | svx/Library_svxcore.mk | 1 | ||||
-rw-r--r-- | svx/source/gallery2/galleryfilestorageentry.cxx | 24 |
4 files changed, 55 insertions, 1 deletions
diff --git a/include/svx/gallerybinaryengineentry.hxx b/include/svx/gallerybinaryengineentry.hxx index 965cc19bdcb2..cd3023f71150 100644 --- a/include/svx/gallerybinaryengineentry.hxx +++ b/include/svx/gallerybinaryengineentry.hxx @@ -24,10 +24,11 @@ #include <svx/galtheme.hxx> #include <svx/gallerybinaryengine.hxx> #include <svx/gallerystoragelocations.hxx> +#include <svx/galleryfilestorageentry.hxx> class GalleryStorageLocations; -class GalleryBinaryEngineEntry +class GalleryBinaryEngineEntry : public GalleryFileStorageEntry { private: GalleryStorageLocations& m_rGalleryStorageLocations; diff --git a/include/svx/galleryfilestorageentry.hxx b/include/svx/galleryfilestorageentry.hxx new file mode 100644 index 000000000000..0f00cfb5a6ee --- /dev/null +++ b/include/svx/galleryfilestorageentry.hxx @@ -0,0 +1,28 @@ +/* -*- 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 . + */ + +#pragma once + +class GalleryFileStorageEntry +{ +public: + virtual ~GalleryFileStorageEntry() = 0; +}; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/Library_svxcore.mk b/svx/Library_svxcore.mk index 367aeea7dcb8..c5a54708a70a 100644 --- a/svx/Library_svxcore.mk +++ b/svx/Library_svxcore.mk @@ -157,6 +157,7 @@ $(eval $(call gb_Library_add_exception_objects,svxcore,\ svx/source/gallery2/gallerystoragelocations \ svx/source/gallery2/galleryobjectcollection \ svx/source/gallery2/galleryfilestorage \ + svx/source/gallery2/galleryfilestorageentry \ svx/source/gallery2/galleryobjectstorage \ svx/source/gallery2/galleryobjectbinarystorage \ svx/source/gallery2/galleryobjectxmlstorage \ diff --git a/svx/source/gallery2/galleryfilestorageentry.cxx b/svx/source/gallery2/galleryfilestorageentry.cxx new file mode 100644 index 000000000000..d04f49bf805f --- /dev/null +++ b/svx/source/gallery2/galleryfilestorageentry.cxx @@ -0,0 +1,24 @@ +/* -*- 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 . + */ + +#include <svx/galleryfilestorageentry.hxx> + +GalleryFileStorageEntry::~GalleryFileStorageEntry(){}; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |