1 // Copyright (c) 2011  GeometryFactory Sarl (France).
2 // All rights reserved.
3 //
4 // This file is part of CGAL (www.cgal.org).
5 //
6 // $URL: https://github.com/CGAL/cgal/blob/v5.3/GraphicsView/include/CGAL/Qt/resources.h $
7 // $Id: resources.h 0779373 2020-03-26T13:31:46+01:00 Sébastien Loriot
8 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial
9 //
10 //
11 // Author(s)     : Laurent Rineau <Laurent.Rineau@geometryfactory.com>
12 
13 #ifndef CGAL_QT_RESOURCES_H
14 #define CGAL_QT_RESOURCES_H
15 
16 #include <CGAL/license/GraphicsView.h>
17 
18 
19 #include <CGAL/export/Qt.h>
20 
21 // cannot use namespaces because of the Q_INIT_RESOURCE macro
22 CGAL_QT_EXPORT void CGAL_Qt_init_resources();
23 
24 #define CGAL_QT_INIT_RESOURCES do { CGAL_Qt_init_resources(); } while(0)
25 // The do{}while(0) trick is used to make that macro value a regular
26 // statement and not a compound statement.
27 
28 #ifdef CGAL_HEADER_ONLY
29 #include <CGAL/Qt/resources_impl.h>
30 #endif // CGAL_HEADER_ONLY
31 
32 #endif // CGAL_QT_RESOURCES_H
33