a50897107b
For now just introduce the GraphicExternalLink internally in ImpGraphic, and use it for the origin URL. In a future patch this will store additional data about the link. Change-Id: I7b4edac80d0e71603d37243ff28bcac1b18fdc01 Reviewed-on: https://gerrit.libreoffice.org/52393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
31 lines
767 B
C++
31 lines
767 B
C++
/* -*- 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/.
|
|
*/
|
|
|
|
#ifndef INCLUDED_VCL_GRAPHIC_EXTERNAL_LINK_HXX
|
|
#define INCLUDED_VCL_GRAPHIC_EXTERNAL_LINK_HXX
|
|
|
|
#include <memory>
|
|
#include <vcl/dllapi.h>
|
|
|
|
class VCL_DLLPUBLIC GraphicExternalLink
|
|
{
|
|
public:
|
|
OUString msURL;
|
|
|
|
GraphicExternalLink() {}
|
|
|
|
GraphicExternalLink(OUString const& rURL)
|
|
: msURL(rURL)
|
|
{
|
|
}
|
|
};
|
|
|
|
#endif // INCLUDED_VCL_GRAPHIC_EXTERNAL_LINK_HXX
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|