diff options
author | Aditya <adityasahu1511@gmail.com> | 2020-09-01 14:56:51 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-09-02 09:25:21 +0200 |
commit | c640f745e8023660e89bca3e97308c0d53834b77 (patch) | |
tree | 775064a2038ed0696d6b1712e83bccad662fb856 /include/svx/galleryobjectstorage.hxx | |
parent | lok: send state updates for shape editing commands (diff) | |
download | core-c640f745e8023660e89bca3e97308c0d53834b77.tar.gz core-c640f745e8023660e89bca3e97308c0d53834b77.zip |
svx: Refactor GalleryObject member aURL
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 <quikee@gmail.com>
Diffstat (limited to 'include/svx/galleryobjectstorage.hxx')
-rw-r--r-- | include/svx/galleryobjectstorage.hxx | 32 |
1 files changed, 32 insertions, 0 deletions
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 <tools/urlobj.hxx> + +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: */ |