Kaydet (Commit) a6432227 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

No need for a separate <vcl/graph.h>

Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
üst e67a834c
......@@ -124,7 +124,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -141,7 +141,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -129,7 +129,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -108,7 +108,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/impdel.hxx>
......
......@@ -138,7 +138,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/help.hxx>
......
......@@ -116,7 +116,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/keycod.hxx>
......
......@@ -109,7 +109,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/impdel.hxx>
......
......@@ -127,7 +127,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -24,7 +24,6 @@
#include <vcl/bitmapex.hxx>
#include <vcl/animate.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/graph.h>
#include <vcl/window.hxx>
#include <vcl/graph.hxx>
#include <vcl/metaact.hxx>
......
......@@ -113,7 +113,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -94,7 +94,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/keycodes.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/region.hxx>
......
......@@ -127,7 +127,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -128,7 +128,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/i18nhelp.hxx>
......
/* -*- 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 .
*/
#ifndef INCLUDED_VCL_GRAPH_H
#define INCLUDED_VCL_GRAPH_H
#include <rtl/ustring.hxx>
#include <vcl/dllapi.h>
enum GraphicType
{
GRAPHIC_NONE,
GRAPHIC_BITMAP,
GRAPHIC_GDIMETAFILE,
GRAPHIC_DEFAULT
};
class ReaderData;
class VCL_DLLPUBLIC GraphicReader
{
protected:
OUString maUpperName;
ReaderData* mpReaderData;
GraphicReader() :
mpReaderData( NULL ) {}
public:
virtual ~GraphicReader();
const OUString& GetUpperFilterName() const { return maUpperName; }
// TODO: when incompatible changes are possible again
// the preview size hint should be redone
void DisablePreviewMode();
void SetPreviewSize( const Size& );
Size GetPreviewSize() const;
};
#endif // INCLUDED_VCL_GRAPH_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -23,25 +23,54 @@
#include <tools/stream.hxx>
#include <vcl/dllapi.h>
#include <tools/solar.h>
#include <rtl/ustring.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/animate.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/graph.h>
#include <vcl/gfxlink.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <vcl/svgdata.hxx>
enum GraphicType
{
GRAPHIC_NONE,
GRAPHIC_BITMAP,
GRAPHIC_GDIMETAFILE,
GRAPHIC_DEFAULT
};
namespace com { namespace sun { namespace star { namespace graphic { class XGraphic;} } } }
namespace vcl { class Font; }
class GfxLink;
class ImpGraphic;
class OutputDevice;
class ReaderData;
// - Graphic -
class VCL_DLLPUBLIC GraphicReader
{
protected:
OUString maUpperName;
ReaderData* mpReaderData;
class ImpGraphic;
class OutputDevice;
namespace vcl { class Font; }
class GfxLink;
GraphicReader() :
mpReaderData( NULL ) {}
public:
virtual ~GraphicReader();
const OUString& GetUpperFilterName() const { return maUpperName; }
// TODO: when incompatible changes are possible again
// the preview size hint should be redone
void DisablePreviewMode();
void SetPreviewSize( const Size& );
Size GetPreviewSize() const;
};
class VCL_DLLPUBLIC GraphicConversionParameters
{
......
......@@ -86,7 +86,6 @@
#include <vcl/dllapi.h>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/svgdata.hxx>
......
......@@ -132,7 +132,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -141,7 +141,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -144,7 +144,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/idle.hxx>
#include <vcl/image.hxx>
......
......@@ -94,7 +94,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/outdev.hxx>
......
......@@ -137,7 +137,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
......@@ -125,7 +125,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/impdel.hxx>
#include <vcl/inputctx.hxx>
......
......@@ -126,7 +126,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/idle.hxx>
......
......@@ -139,7 +139,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/hatch.hxx>
......
......@@ -140,7 +140,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/group.hxx>
#include <vcl/hatch.hxx>
......
......@@ -134,7 +134,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/image.hxx>
......
......@@ -116,7 +116,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/image.hxx>
......
......@@ -24,7 +24,7 @@
#include <vcl/bitmapex.hxx>
#include <vcl/animate.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/svgdata.hxx>
// - ImpSwapInfo -
......
......@@ -127,7 +127,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment