/* Copyright (C) 2019-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: WxdkdrawRead.cpt */ /** @file WxdkdrawRead.h Header file for the WxdkdrawRead module. */ #ifndef WXDKDRAWREAD_H_INCLUDED /** Avoid multiple inclusions. */ #define WXDKDRAWREAD_H_INCLUDED 1 #line 8 "WxdkdrawRead.cpt" #ifndef WXDKDRAWTYPES_H_INCLUDED #include "WxdkdrawTypes.h" #endif /* PROTOTYPES (start) */ /** Initialize status structure to "no error occured". After initializing the status structure set the wxe component to the wxChar encoding obtained from the Dk4WxApplicationHelper class, method GetWxEncoding(). @param pstat Status structure to initialize. */ void wxdrd_status_init(wxdrd_status_t *pstat); /** Read drawing from file. @param fin Input file opened for text reading. @param pstat Status structure, must be initialized. @return Valid pointer on success, NULL on error. */ Wxd_drawing_t * wxdrd_read_file(FILE *fin, wxdrd_status_t *pstat); /** Read library element from file. @param pdrw Drawing to insert the library element. @param fin Input file opened for text reading. @param pstat Status structure, must be initialized. @return Pointer to new group object on success, NULL on error. */ Wxd_object_t * wxdrd_read_symbol(Wxd_drawing_t *pdrw, FILE *fin, wxdrd_status_t *pstat); /* PROTOTYPES (end) */ /* vim: set ai sw=4 ts=4 : */ #endif