v0.2.1
Fast, portable C library for geometry input/output
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
stream_qt.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** gmio
3 ** Copyright Fougue (24 Jun. 2016)
4 ** contact@fougue.pro
5 **
6 ** This software is a reusable library whose purpose is to provide complete
7 ** I/O support for various CAD file formats (eg. STL)
8 **
9 ** This software is governed by the CeCILL-B license under French law and
10 ** abiding by the rules of distribution of free software. You can use,
11 ** modify and/ or redistribute the software under the terms of the CeCILL-B
12 ** license as circulated by CEA, CNRS and INRIA at the following URL
13 ** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html".
14 ****************************************************************************/
15 
23 #ifndef __cplusplus
24 # error C++ compiler required
25 #endif
26 
27 #ifndef GMIO_SUPPORT_STREAM_QT_H
28 #define GMIO_SUPPORT_STREAM_QT_H
29 
30 #include "support_global.h"
31 #include "../gmio_core/stream.h"
32 #include <QtCore/QtGlobal>
33 
34 QT_BEGIN_NAMESPACE
35 class QIODevice;
36 QT_END_NAMESPACE
37 
40 #ifndef DOXYGEN
41  QT_PREPEND_NAMESPACE(QIODevice)* device
42 #else
43  QIODevice* device
44 #endif /* !DOXYGEN */
45  );
46 
47 #endif /* GMIO_SUPPORT_STREAM_QT_H */
48 
struct gmio_stream gmio_stream_qiodevice(QIODevice *device)
Returns a gmio_stream for QIODevice* (cookie will hold device)
Stream that can get input from an arbitrary data source or can write output to an arbitrary data sink...
Definition: stream.h:65
Global declarations for the support module.
Fougue © 2016