/* * Copyright 2006, 2023, Haiku. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * Stephan Aßmus * Zardshard */ #include "MessageExporter.h" #include #include #include #include #include "Container.h" #include "Defines.h" #include "Icon.h" #include "PathSourceShape.h" #include "ReferenceImage.h" #include "Shape.h" #include "Style.h" #include "Transformer.h" #include "VectorPath.h" // constructor MessageExporter::MessageExporter() { } // destructor MessageExporter::~MessageExporter() { } // Export status_t MessageExporter::Export(const Icon* icon, BPositionIO* stream) { status_t ret = B_OK; BMessage archive; const Container* paths = icon->Paths(); const Container