summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-04-30 10:48:44 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-05-03 08:22:45 +0200
commitc79dd92480cbc409a7061da7f3dd3abaaf9a4883 (patch)
tree9f37223b82cf5404da66bfc87568db2954825f74 /vcl/inc
parent18c97df0dcb348134d3ceac022a799338e02d7f5 (diff)
vcl: add Graphic serialization (writing) to TypeSerializer + tests
Change-Id: I3c4845550e776c4c2c891d94db71bacea27c9a37 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93328 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/TypeSerializer.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/TypeSerializer.hxx b/vcl/inc/TypeSerializer.hxx
index befd4edd7660..4ac7e06471ea 100644
--- a/vcl/inc/TypeSerializer.hxx
+++ b/vcl/inc/TypeSerializer.hxx
@@ -24,6 +24,7 @@
#include <tools/GenericTypeSerializer.hxx>
#include <vcl/gradient.hxx>
#include <vcl/gfxlink.hxx>
+#include <vcl/graph.hxx>
class VCL_DLLPUBLIC TypeSerializer : public tools::GenericTypeSerializer
{
@@ -35,6 +36,9 @@ public:
void readGfxLink(GfxLink& rGfxLink);
void writeGfxLink(const GfxLink& rGfxLink);
+
+ static void readGraphic(Graphic& rGraphic);
+ void writeGraphic(const Graphic& rGraphic);
};
#endif