From c640f745e8023660e89bca3e97308c0d53834b77 Mon Sep 17 00:00:00 2001 From: Aditya Date: Tue, 1 Sep 2020 14:56:51 +0200 Subject: svx: Refactor GalleryObject member aURL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The member aURL does not belong here and needs to be refactored, the reason is that there can be two type of URLs - XML and binary URL. Change-Id: Ieb4e57a6f144070f95282a7fd02d08bda6d11f3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101084 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/svx/galleryobjectstorage.hxx | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 include/svx/galleryobjectstorage.hxx (limited to 'include/svx/galleryobjectstorage.hxx') diff --git a/include/svx/galleryobjectstorage.hxx b/include/svx/galleryobjectstorage.hxx new file mode 100644 index 000000000000..cdca68b14a8f --- /dev/null +++ b/include/svx/galleryobjectstorage.hxx @@ -0,0 +1,32 @@ +/* -*- 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 + +#include + +class GalleryObjectStorage +{ +public: + virtual ~GalleryObjectStorage() = 0; + virtual const INetURLObject& getURL() const = 0; + virtual void setURL(INetURLObject aURL) = 0; +}; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit