Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

renaming .h files to .hpp

  • Loading branch information...
commit 8d6ef676d4106bedd45a8f2a810f5d724147c180 1 parent 8ef8e7e
@kallaballa authored
Showing with 200 additions and 200 deletions.
  1. 0  src/ctrl-cut/{CtrlCutException.h → CtrlCutException.hpp}
  2. +5 −5 src/ctrl-cut/Document.cpp
  3. +2 −2 src/cups-filter/cups-filter.pro
  4. +4 −4 src/gui/Commands.cpp
  5. +1 −1  src/gui/{Commands.h → Commands.hpp}
  6. +6 −6 src/gui/CtrlCutScene.cpp
  7. +1 −1  src/gui/{CtrlCutScene.h → CtrlCutScene.hpp}
  8. +1 −1  src/gui/CtrlCutView.cpp
  9. +1 −1  src/gui/{CtrlCutView.h → CtrlCutView.hpp}
  10. +1 −1  src/gui/{EventFilter.h → EventFilter.hpp}
  11. 0  src/gui/{GroupItem.h → GroupItem.hpp}
  12. +1 −1  src/gui/LaserDialog.cpp
  13. 0  src/gui/{LaserDialog.h → LaserDialog.hpp}
  14. +1 −1  src/gui/LpdClient.cpp
  15. 0  src/gui/{LpdClient.h → LpdClient.hpp}
  16. +9 −9 src/gui/MainWindow.cpp
  17. +4 −4 src/gui/{MainWindow.h → MainWindow.hpp}
  18. +1 −1  src/gui/NavigationView.cpp
  19. 0  src/gui/{NavigationView.h → NavigationView.hpp}
  20. +1 −1  src/gui/Simplify.cpp
  21. +1 −1  src/gui/{Simplify.h → Simplify.hpp}
  22. +1 −1  src/gui/StreamUtils.cpp
  23. 0  src/gui/{StreamUtils.h → StreamUtils.hpp}
  24. +1 −1  src/gui/event/CtrlCutEvent.cpp
  25. 0  src/gui/event/{CtrlCutEvent.h → CtrlCutEvent.hpp}
  26. +2 −2 src/gui/gui.cpp
  27. +24 −24 src/gui/gui.pro
  28. +2 −2 src/gui/helpers/CutItem.cpp
  29. +1 −1  src/gui/helpers/{CutItem.h → CutItem.hpp}
  30. +3 −3 src/gui/helpers/DocumentHolder.cpp
  31. 0  src/gui/helpers/{DocumentHolder.h → DocumentHolder.hpp}
  32. +1 −1  src/gui/helpers/EngraveCanvas.cpp
  33. +1 −1  src/gui/helpers/{EngraveCanvas.h → EngraveCanvas.hpp}
  34. +1 −1  src/gui/helpers/EngraveItem.cpp
  35. +1 −1  src/gui/helpers/{EngraveItem.h → EngraveItem.hpp}
  36. +1 −1  src/gui/helpers/PathItem.cpp
  37. +1 −1  src/gui/helpers/{PathItem.h → PathItem.hpp}
  38. +1 −1  src/gui/helpers/Qt.cpp
  39. 0  src/gui/helpers/{Qt.h → Qt.hpp}
  40. +1 −1  src/gui/settings/{CutSettingsTableModel.h → CutSettingsTableModel.hpp}
  41. +1 −1  src/gui/settings/{DocumentSettingsTableModel.h → DocumentSettingsTableModel.hpp}
  42. +1 −1  src/gui/settings/{EngraveSettingsTableModel.h → EngraveSettingsTableModel.hpp}
  43. 0  src/gui/settings/{SettingsTableModel.h → SettingsTableModel.hpp}
  44. +22 −22 src/imgtools/{CImg.h → CImg.hpp}
  45. +1 −1  src/imgtools/{MMapMatrix.h → MMapMatrix.hpp}
  46. +2 −2 src/imgtools/{PPMFile.h → PPMFile.hpp}
  47. +1 −1  src/imgtools/colorcnt.cpp
  48. +2 −2 src/imgtools/cropppm.cpp
  49. +2 −2 src/imgtools/noise.cpp
  50. +1 −1  src/imgtools/testimage.cpp
  51. +8 −8 src/lpd-epilog/lpd-epilog.pro
  52. 0  src/pclint/{2D.h → 2D.hpp}
  53. +22 −22 src/pclint/{CImg.h → CImg.hpp}
  54. +2 −2 src/pclint/{CLI.h → CLI.hpp}
  55. +1 −1  src/pclint/Canvas.cpp
  56. +2 −2 src/pclint/{Canvas.h → Canvas.hpp}
  57. 0  src/pclint/{HPGL.h → HPGL.hpp}
  58. +6 −6 src/pclint/{Interpreter.h → Interpreter.hpp}
  59. +2 −2 src/pclint/{Pcl.h → Pcl.hpp}
  60. +1 −1  src/pclint/{PclIntConfig.h → PclIntConfig.hpp}
  61. +2 −2 src/pclint/{Plot.h → Plot.hpp}
  62. +6 −6 src/pclint/{Plotter.h → Plotter.hpp}
  63. +5 −5 src/pclint/{Raster.h → Raster.hpp}
  64. +1 −1  src/pclint/SDLCanvas.cpp
  65. +1 −1  src/pclint/{SDLCanvas.h → SDLCanvas.hpp}
  66. +1 −1  src/pclint/{Statistic.h → Statistic.hpp}
  67. +5 −5 src/pclint/pclint.cpp
  68. 0  src/test/{TestBundledProperties.h → TestBundledProperties.hpp}
  69. +3 −3 src/test/TestCopy.cpp
  70. 0  src/test/{TestCopy.h → TestCopy.hpp}
  71. +3 −3 src/test/{TestPlanarEmbedding.h → TestPlanarEmbedding.hpp}
  72. +3 −3 src/test/test.cpp
  73. +2 −2 test-code/ps_to_eps.cpp
  74. +1 −1  test-code/ps_to_eps.pro
  75. +2 −2 test-code/vectortest.cpp
  76. +6 −6 test-code/vectortest.pro
View
0  src/ctrl-cut/CtrlCutException.h → src/ctrl-cut/CtrlCutException.hpp
File renamed without changes
View
10 src/ctrl-cut/Document.cpp
@@ -23,7 +23,7 @@
#include "config/CutSettings.hpp"
#include "encoder/HPGLEncoder.hpp"
#include "encoder/PclEncoder.hpp"
-#include "CtrlCutException.h"
+#include "CtrlCutException.hpp"
#include "boost/filesystem.hpp"
#include "svg/Svg2Ps.hpp"
@@ -58,10 +58,10 @@ void Document::write(std::ostream &out) {
int resolution = this->get(D_SET::RESOLUTION);
int raster_power = 0;
int raster_speed = 0;
- bool enable_raster = this->get(D_SET::ENABLE_ENGRAVING);
+ bool enable_engraving = this->get(D_SET::ENABLE_ENGRAVING);
bool enable_vector = this->get(D_SET::ENABLE_CUT);
- enable_raster= false;
- if(enable_raster && !this->engraveList.empty()) {
+
+ if(enable_engraving && !this->engraveList.empty()) {
raster_power = this->front_engrave()->settings.get(E_SET::EPOWER);
raster_speed = this->front_engrave()->settings.get(E_SET::ESPEED);
}
@@ -116,7 +116,7 @@ void Document::write(std::ostream &out) {
* information to the print job.
*/
- if (enable_raster && !this->engraveList.empty()) {
+ if (enable_engraving && !this->engraveList.empty()) {
for (EngraveIt it = this->engraveList.begin(); it != this->engraveList.end(); it++) {
PclEncoder::encode(out, **it);
}
View
4 src/cups-filter/cups-filter.pro
@@ -14,8 +14,8 @@ CONFIG += libctrl-cut
include(common.pri)
DEFINES += ETLOG DEBUG=4
-HEADERS += ./CupsGetOpt.h \
- ./CupsOptions.h \
+HEADERS += ./CupsGetOpt.hpp \
+ ./CupsOptions.hpp \
SOURCES += ./CupsGetOpt.cpp \
./CupsFilter.cpp \
View
8 src/gui/Commands.cpp
@@ -18,10 +18,10 @@
*/
#include <QtGui>
#include <Document.hpp>
-#include <CtrlCutScene.h>
-#include "helpers/CutItem.h"
-#include "helpers/EngraveItem.h"
-#include "Commands.h"
+#include <CtrlCutScene.hpp>
+#include "helpers/CutItem.hpp"
+#include "helpers/EngraveItem.hpp"
+#include "Commands.hpp"
#include <cut/model/Reduce.hpp>
MoveCommand::MoveCommand(CtrlCutScene* scene, QGraphicsItem *item, const QPointF &oldPos,
View
2  src/gui/Commands.h → src/gui/Commands.hpp
@@ -22,7 +22,7 @@
#include <QUndoCommand>
#include <QGraphicsItem>
-#include "helpers/DocumentHolder.h"
+#include "helpers/DocumentHolder.hpp"
class Document;
class CtrlCutScene;
View
12 src/gui/CtrlCutScene.cpp
@@ -16,16 +16,16 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "CtrlCutScene.h"
+#include "CtrlCutScene.hpp"
#include "Document.hpp"
-#include "helpers/CutItem.h"
-#include "helpers/EngraveItem.h"
-#include "event/CtrlCutEvent.h"
-#include "Commands.h"
+#include "helpers/CutItem.hpp"
+#include "helpers/EngraveItem.hpp"
+#include "event/CtrlCutEvent.hpp"
+#include "Commands.hpp"
#include <QGraphicsItem>
#include <QKeyEvent>
#include <QGraphicsSceneMouseEvent>
-#include "helpers/DocumentHolder.h"
+#include "helpers/DocumentHolder.hpp"
#include <QGraphicsItem>
CtrlCutScene::CtrlCutScene(QObject *parent) :
View
2  src/gui/CtrlCutScene.h → src/gui/CtrlCutScene.hpp
@@ -22,7 +22,7 @@
#include <QGraphicsScene>
#include <QObject>
#include <QGraphicsItem>
-#include "helpers/DocumentHolder.h"
+#include "helpers/DocumentHolder.hpp"
class CtrlCutScene : public QGraphicsScene
{
View
2  src/gui/CtrlCutView.cpp
@@ -1,4 +1,4 @@
-#include "CtrlCutView.h"
+#include "CtrlCutView.hpp"
#include <QDragEnterEvent>
#include <QUrl>
#include <QDebug>
View
2  src/gui/CtrlCutView.h → src/gui/CtrlCutView.hpp
@@ -1,7 +1,7 @@
#ifndef CTRLCUTVIEW_H_
#define CTRLCUTVIEW_H_
-#include "NavigationView.h"
+#include "NavigationView.hpp"
class CtrlCutView : public NavigationView
{
View
2  src/gui/EventFilter.h → src/gui/EventFilter.hpp
@@ -22,7 +22,7 @@
#include <QObject>
#include <QFileOpenEvent>
-#include "MainWindow.h"
+#include "MainWindow.hpp"
class EventFilter : public QObject
{
View
0  src/gui/GroupItem.h → src/gui/GroupItem.hpp
File renamed without changes
View
2  src/gui/LaserDialog.cpp
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "LaserDialog.h"
+#include "LaserDialog.hpp"
#include "config/EngraveSettings.hpp"
#include "config/CutSettings.hpp"
#include "config/DocumentSettings.hpp"
View
0  src/gui/LaserDialog.h → src/gui/LaserDialog.hpp
File renamed without changes
View
2  src/gui/LpdClient.cpp
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "LpdClient.h"
+#include "LpdClient.hpp"
LpdClient::LpdClient(QObject *parent) : QObject(parent), lpdstate(LPD_IDLE)
{
View
0  src/gui/LpdClient.h → src/gui/LpdClient.hpp
File renamed without changes
View
18 src/gui/MainWindow.cpp
@@ -16,17 +16,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "MainWindow.h"
-#include "settings/CutSettingsTableModel.h"
-#include "settings/EngraveSettingsTableModel.h"
-#include "settings/DocumentSettingsTableModel.h"
-#include "LaserDialog.h"
+#include "MainWindow.hpp"
+#include "settings/CutSettingsTableModel.hpp"
+#include "settings/EngraveSettingsTableModel.hpp"
+#include "settings/DocumentSettingsTableModel.hpp"
+#include "LaserDialog.hpp"
#include "Document.hpp"
-#include "CtrlCutScene.h"
-#include "helpers/CutItem.h"
-#include "helpers/EngraveItem.h"
+#include "CtrlCutScene.hpp"
+#include "helpers/CutItem.hpp"
+#include "helpers/EngraveItem.hpp"
#include <qapplication.h>
-#include "Commands.h"
+#include "Commands.hpp"
#include <QGraphicsItem>
MainWindow *MainWindow::inst = NULL;
View
8 src/gui/MainWindow.h → src/gui/MainWindow.hpp
@@ -25,10 +25,10 @@
#include <QAbstractSocket>
#include <QtGui>
#include <assert.h>
-#include "LpdClient.h"
-#include "StreamUtils.h"
-#include "GroupItem.h"
-#include "helpers/Qt.h"
+#include "LpdClient.hpp"
+#include "StreamUtils.hpp"
+#include "GroupItem.hpp"
+#include "helpers/Qt.hpp"
class MainWindow : public QMainWindow, private Ui::MainWindow
{
View
2  src/gui/NavigationView.cpp
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "NavigationView.h"
+#include "NavigationView.hpp"
#include <QGraphicsScene>
#include <QGraphicsTextItem>
View
0  src/gui/NavigationView.h → src/gui/NavigationView.hpp
File renamed without changes
View
2  src/gui/Simplify.cpp
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "LaserDialog.h"
+#include "LaserDialog.hpp"
#include "config/EngraveSettings.hpp"
#include "config/CutSettings.hpp"
#include "config/DocumentSettings.hpp"
View
2  src/gui/Simplify.h → src/gui/Simplify.hpp
@@ -20,7 +20,7 @@
#define LASERDIALOG_H_
#include <QDialog>
-#include "ui_LaserDialog.h"
+#include "ui_LaserDialog.hpp"
#include "Document.hpp"
class SimplifyDialog : public QDialog, private Ui::SimplifyDialog
View
2  src/gui/StreamUtils.cpp
@@ -1,4 +1,4 @@
-#include "StreamUtils.h"
+#include "StreamUtils.hpp"
#include <QBuffer>
#include <stdio.h>
View
0  src/gui/StreamUtils.h → src/gui/StreamUtils.hpp
File renamed without changes
View
2  src/gui/event/CtrlCutEvent.cpp
@@ -1,4 +1,4 @@
-#include "CtrlCutEvent.h"
+#include "CtrlCutEvent.hpp"
CtrlCutEvent::ActionMap CtrlCutEvent::actionMap;
View
0  src/gui/event/CtrlCutEvent.h → src/gui/event/CtrlCutEvent.hpp
File renamed without changes
View
4 src/gui/gui.cpp
@@ -18,8 +18,8 @@
*/
#include <QApplication>
-#include "MainWindow.h"
-#include "EventFilter.h"
+#include "MainWindow.hpp"
+#include "EventFilter.hpp"
#include "util/Logger.hpp"
#include "config/DocumentSettings.hpp"
View
48 src/gui/gui.pro
@@ -37,30 +37,30 @@ FORMS += CtrlCut.ui LaserDialog.ui SimulatorDialog.ui
RESOURCES += ctrl-cut.qrc
-HEADERS += ./MainWindow.h \
- ./event/CtrlCutEvent.h \
- ./CtrlCutScene.h \
- ./NavigationView.h \
- ./Commands.h \
- ./GroupItem.h \
- ./EventFilter.h \
- ./LpdClient.h \
- ./CtrlCutView.h \
- ./LaserDialog.h \
- ./StreamUtils.h \
- ./settings/SettingsTableModel.h \
- ./settings/CutSettingsTableModel.h \
- ./settings/EngraveSettingsTableModel.h \
- ./settings/DocumentSettingsTableModel.h \
- ./helpers/Qt.h \
- ./helpers/PathItem.h \
- ./helpers/CutItem.h \
- ./helpers/EngraveCanvas.h \
- ./helpers/EngraveItem.h \
- ./helpers/DocumentHolder.h \
- ./settings/CutSettingsTableModel.h \
- ./settings/EngraveSettingsTableModel.h \
- ./settings/DocumentSettingsTableModel.h \
+HEADERS += ./MainWindow.hpp \
+ ./event/CtrlCutEvent.hpp \
+ ./CtrlCutScene.hpp \
+ ./NavigationView.hpp \
+ ./Commands.hpp \
+ ./GroupItem.hpp \
+ ./EventFilter.hpp \
+ ./LpdClient.hpp \
+ ./CtrlCutView.hpp \
+ ./LaserDialog.hpp \
+ ./StreamUtils.hpp \
+ ./settings/SettingsTableModel.hpp \
+ ./settings/CutSettingsTableModel.hpp \
+ ./settings/EngraveSettingsTableModel.hpp \
+ ./settings/DocumentSettingsTableModel.hpp \
+ ./helpers/Qt.hpp \
+ ./helpers/PathItem.hpp \
+ ./helpers/CutItem.hpp \
+ ./helpers/EngraveCanvas.hpp \
+ ./helpers/EngraveItem.hpp \
+ ./helpers/DocumentHolder.hpp \
+ ./settings/CutSettingsTableModel.hpp \
+ ./settings/EngraveSettingsTableModel.hpp \
+ ./settings/DocumentSettingsTableModel.hpp \
./settings/SettingsTableModel.h
SOURCES += ./gui.cpp \
./event/CtrlCutEvent.cpp \
View
4 src/gui/helpers/CutItem.cpp
@@ -16,8 +16,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "CutItem.h"
-#include "PathItem.h"
+#include "CutItem.hpp"
+#include "PathItem.hpp"
#include "cut/model/Translate.hpp"
#include <qgraphicsitem.h>
#include <boost/foreach.hpp>
View
2  src/gui/helpers/CutItem.h → src/gui/helpers/CutItem.hpp
@@ -21,7 +21,7 @@
#include "cut/model/Cut.hpp"
#include "config/CutSettings.hpp"
-#include "Qt.h"
+#include "Qt.hpp"
class CutItem: public AbstractCtrlCutItem {
public:
View
6 src/gui/helpers/DocumentHolder.cpp
@@ -16,10 +16,10 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "DocumentHolder.h"
+#include "DocumentHolder.hpp"
#include "Document.hpp"
-#include "helpers/CutItem.h"
-#include "helpers/EngraveItem.h"
+#include "helpers/CutItem.hpp"
+#include "helpers/EngraveItem.hpp"
DocumentHolder::DocumentHolder() : doc(NULL){
View
0  src/gui/helpers/DocumentHolder.h → src/gui/helpers/DocumentHolder.hpp
File renamed without changes
View
2  src/gui/helpers/EngraveCanvas.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "EngraveCanvas.h"
+#include "EngraveCanvas.hpp"
#include <qpainter.h>
EngraveCanvas::EngraveCanvas(Coord_t maxWidth) :
AbstractCtrlCutItem(), maxWidth(maxWidth), startX(-1), currentX(-1), currentY(-1), currentRow(NULL) {
View
2  src/gui/helpers/EngraveCanvas.h → src/gui/helpers/EngraveCanvas.hpp
@@ -24,7 +24,7 @@
#include "engrave/Engrave.hpp"
#include "config/EngraveSettings.hpp"
#include <qgraphicsitem.h>
-#include "helpers/Qt.h"
+#include "helpers/Qt.hpp"
class EngraveCanvas: public AbstractCtrlCutItem {
public:
View
2  src/gui/helpers/EngraveItem.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "EngraveItem.h"
+#include "EngraveItem.hpp"
EngraveItem::EngraveItem(Engraving& engraving) : AbstractCtrlCutItem(), engraving(engraving) {
QGraphicsItemGroup::setFlags(
View
2  src/gui/helpers/EngraveItem.h → src/gui/helpers/EngraveItem.hpp
@@ -24,7 +24,7 @@
#include "engrave/Engrave.hpp"
#include "config/EngraveSettings.hpp"
#include <qgraphicsitem.h>
-#include "helpers/Qt.h"
+#include "helpers/Qt.hpp"
class EngraveItem: public AbstractCtrlCutItem {
public:
View
2  src/gui/helpers/PathItem.cpp
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "PathItem.h"
+#include "PathItem.hpp"
#include "config/PathSettings.hpp"
#include <qgraphicsitem.h>
View
2  src/gui/helpers/PathItem.h → src/gui/helpers/PathItem.hpp
@@ -21,7 +21,7 @@
#include "cut/model/Cut.hpp"
#include "config/PathSettings.hpp"
-#include "Qt.h"
+#include "Qt.hpp"
#include <QGraphicsPolygonItem>
class PathItem: public QGraphicsPolygonItem {
View
2  src/gui/helpers/Qt.cpp
@@ -1 +1 @@
-#include "Qt.h"
+#include "Qt.hpp"
View
0  src/gui/helpers/Qt.h → src/gui/helpers/Qt.hpp
File renamed without changes
View
2  src/gui/settings/CutSettingsTableModel.h → src/gui/settings/CutSettingsTableModel.hpp
@@ -1,7 +1,7 @@
#ifndef CUTSETTINGSTABLEMODEL_H_
#define CUTSETTINGSTABLEMODEL_H_
-#include "SettingsTableModel.h"
+#include "SettingsTableModel.hpp"
#include "config/CutSettings.hpp"
View
2  src/gui/settings/DocumentSettingsTableModel.h → src/gui/settings/DocumentSettingsTableModel.hpp
@@ -1,7 +1,7 @@
#ifndef DOCUMENTSETTINGSTABLEMODEL_H_
#define DOCUMENTSETTINGSTABLEMODEL_H_
-#include "SettingsTableModel.h"
+#include "SettingsTableModel.hpp"
#include "config/DocumentSettings.hpp"
class DocumentSettingsTableModel : public SettingsTableModel
View
2  src/gui/settings/EngraveSettingsTableModel.h → src/gui/settings/EngraveSettingsTableModel.hpp
@@ -1,7 +1,7 @@
#ifndef ENGRAVESETTINGSTABLEMODEL_H_
#define ENGRAVESETTINGSTABLEMODEL_H_
-#include "SettingsTableModel.h"
+#include "SettingsTableModel.hpp"
#include "config/EngraveSettings.hpp"
class EngraveSettingsTableModel : public SettingsTableModel
View
0  src/gui/settings/SettingsTableModel.h → src/gui/settings/SettingsTableModel.hpp
File renamed without changes
View
44 src/imgtools/CImg.h → src/imgtools/CImg.hpp
@@ -63,7 +63,7 @@
#
# If you find that default configuration variables are
# not adapted to your case, you can override their values
- # before including the header file "CImg.h"
+ # before including the header file "CImg.hpp"
# (use the #define directive).
#
------------------------------------------------------------*/
@@ -215,7 +215,7 @@
// OpenMP directives can be used in few CImg functions to get
// advantages of multi-core CPUs. Using OpenMP is not mandatory.
#ifdef cimg_use_openmp
-#include "omp.h"
+#include "omp.hpp"
#define _cimg_static
#else
#define _cimg_static static
@@ -230,8 +230,8 @@
// (with function 'CImg<T>::load_camera()'.
// Using OpenCV is not mandatory.
#ifdef cimg_use_opencv
-#include "cv.h"
-#include "highgui.h"
+#include "cv.hpp"
+#include "highgui.hpp"
#endif
// LibPNG configuration.
@@ -243,7 +243,7 @@
// to get a builtin support of PNG files. Using LibPNG is not mandatory.
#ifdef cimg_use_png
extern "C" {
-#include "png.h"
+#include "png.hpp"
}
#endif
@@ -256,8 +256,8 @@ extern "C" {
// to get a builtin support of JPEG files. Using LibJPEG is not mandatory.
#ifdef cimg_use_jpeg
extern "C" {
-#include "jpeglib.h"
-#include "setjmp.h"
+#include "jpeglib.hpp"
+#include "setjmp.hpp"
}
#endif
@@ -270,7 +270,7 @@ extern "C" {
// to get a builtin support of TIFF files. Using LibTIFF is not mandatory.
#ifdef cimg_use_tiff
extern "C" {
-#include "tiffio.h"
+#include "tiffio.hpp"
}
#endif
@@ -291,9 +291,9 @@ extern "C" {
#define __STDC_CONSTANT_MACROS // ...or stdint.h doesn't define UINT64_C, needed for libavutil
#endif
extern "C" {
-#include "avformat.h"
-#include "avcodec.h"
-#include "swscale.h"
+#include "avformat.hpp"
+#include "avcodec.hpp"
+#include "swscale.hpp"
}
#endif
@@ -306,7 +306,7 @@ extern "C" {
// to allow compressed data in '.cimg' files. Using Zlib is not mandatory.
#ifdef cimg_use_zlib
extern "C" {
-#include "zlib.h"
+#include "zlib.hpp"
}
#endif
@@ -319,7 +319,7 @@ extern "C" {
// to get a builtin support of various image formats (PNG,JPEG,TIFF,...).
// Using Magick++ is not mandatory.
#ifdef cimg_use_magick
-#include "Magick++.h"
+#include "Magick++.hpp"
#endif
// FFTW3 configuration.
@@ -331,7 +331,7 @@ extern "C" {
// efficiently compute the Fast Fourier Transform of image data.
#ifdef cimg_use_fftw3
extern "C" {
-#include "fftw3.h"
+#include "fftw3.hpp"
}
#endif
@@ -348,7 +348,7 @@ extern "C" {
#undef None
#define _cimg_redefine_None
#endif
-#include "Board.h"
+#include "Board.hpp"
#endif
// OpenEXR configuration
@@ -358,11 +358,11 @@ extern "C" {
//
// OpenEXR can be used to read/write .exr file formats.
#ifdef cimg_use_openexr
-#include "ImfRgbaFile.h"
-#include "ImfInputFile.h"
-#include "ImfChannelList.h"
-#include "ImfMatrixAttribute.h"
-#include "ImfArray.h"
+#include "ImfRgbaFile.hpp"
+#include "ImfInputFile.hpp"
+#include "ImfChannelList.hpp"
+#include "ImfMatrixAttribute.hpp"
+#include "ImfArray.hpp"
#endif
// Lapack configuration.
@@ -1922,7 +1922,7 @@ extern "C" {
Anyway, it should not happen often and you should reasonnably start most of your
%CImg-based programs with
\code
- #include "CImg.h"
+ #include "CImg.hpp"
using namespace cimg_library;
\endcode
to simplify the declaration of %CImg Library variables afterwards.
@@ -2045,7 +2045,7 @@ namespace cimg_library {
The example below shows how to cleanly handle %CImg Library exceptions :
\code
#define cimg_verbosity 0 // Disable modal window in CImg exceptions.
- #define "CImg.h"
+ #define "CImg.hpp"
int main() {
try {
...; // Here, do what you want.
View
2  src/imgtools/MMapMatrix.h → src/imgtools/MMapMatrix.hpp
@@ -25,7 +25,7 @@
#include <fstream>
#include <string>
#include <iostream>
-#include "stdint.h"
+#include "stdint.hpp"
#include <cctype>
#include <limits>
#include <sstream>
View
4 src/imgtools/PPMFile.h → src/imgtools/PPMFile.hpp
@@ -22,9 +22,9 @@
#define PPMREADBUFLEN 256
-#include "stdio.h"
+#include "stdio.hpp"
#include <fstream>
-#include "MMapMatrix.h"
+#include "MMapMatrix.hpp"
using namespace std;
View
2  src/imgtools/colorcnt.cpp
@@ -21,7 +21,7 @@
#include <iostream>
#include <set>
#include <string>
-#include "CImg.h"
+#include "CImg.hpp"
using namespace cimg_library;
View
4 src/imgtools/cropppm.cpp
@@ -20,8 +20,8 @@
#include <stdint.h>
#include <iostream>
#include <fstream>
-#include "MMapMatrix.h"
-#include "PPMFile.h"
+#include "MMapMatrix.hpp"
+#include "PPMFile.hpp"
using std::ofstream;
using std::cout;
View
4 src/imgtools/noise.cpp
@@ -2,8 +2,8 @@
#include <iostream>
#include <set>
#include <string>
-#include "CImg.h"
-#include "noise.h"
+#include "CImg.hpp"
+#include "noise.hpp"
using namespace cimg_library;
View
2  src/imgtools/testimage.cpp
@@ -2,7 +2,7 @@
#include <iostream>
#include <set>
#include <string>
-#include "CImg.h"
+#include "CImg.hpp"
using namespace cimg_library;
View
16 src/lpd-epilog/lpd-epilog.pro
@@ -9,12 +9,12 @@ QMAKE_CXXFLAGS += -I/usr/include/cups/
SOURCES += lpd.c network.c runloop.c
HEADERS += \
- config.h \
- http-private.h \
- backend-private.h \
- debug.h \
- i18n.h \
- ipp-private.h \
- md5.h \
- ppd-private.h \
+ config.hpp \
+ http-private.hpp \
+ backend-private.hpp \
+ debug.hpp \
+ i18n.hpp \
+ ipp-private.hpp \
+ md5.hpp \
+ ppd-private.hpp \
cups-string.h
View
0  src/pclint/2D.h → src/pclint/2D.hpp
File renamed without changes
View
44 src/pclint/CImg.h → src/pclint/CImg.hpp
@@ -63,7 +63,7 @@
#
# If you find that default configuration variables are
# not adapted to your case, you can override their values
- # before including the header file "CImg.h"
+ # before including the header file "CImg.hpp"
# (use the #define directive).
#
------------------------------------------------------------*/
@@ -215,7 +215,7 @@
// OpenMP directives can be used in few CImg functions to get
// advantages of multi-core CPUs. Using OpenMP is not mandatory.
#ifdef cimg_use_openmp
-#include "omp.h"
+#include "omp.hpp"
#define _cimg_static
#else
#define _cimg_static static
@@ -230,8 +230,8 @@
// (with function 'CImg<T>::load_camera()'.
// Using OpenCV is not mandatory.
#ifdef cimg_use_opencv
-#include "cv.h"
-#include "highgui.h"
+#include "cv.hpp"
+#include "highgui.hpp"
#endif
// LibPNG configuration.
@@ -243,7 +243,7 @@
// to get a builtin support of PNG files. Using LibPNG is not mandatory.
#ifdef cimg_use_png
extern "C" {
-#include "png.h"
+#include "png.hpp"
}
#endif
@@ -256,8 +256,8 @@ extern "C" {
// to get a builtin support of JPEG files. Using LibJPEG is not mandatory.
#ifdef cimg_use_jpeg
extern "C" {
-#include "jpeglib.h"
-#include "setjmp.h"
+#include "jpeglib.hpp"
+#include "setjmp.hpp"
}
#endif
@@ -270,7 +270,7 @@ extern "C" {
// to get a builtin support of TIFF files. Using LibTIFF is not mandatory.
#ifdef cimg_use_tiff
extern "C" {
-#include "tiffio.h"
+#include "tiffio.hpp"
}
#endif
@@ -291,9 +291,9 @@ extern "C" {
#define __STDC_CONSTANT_MACROS // ...or stdint.h doesn't define UINT64_C, needed for libavutil
#endif
extern "C" {
-#include "avformat.h"
-#include "avcodec.h"
-#include "swscale.h"
+#include "avformat.hpp"
+#include "avcodec.hpp"
+#include "swscale.hpp"
}
#endif
@@ -306,7 +306,7 @@ extern "C" {
// to allow compressed data in '.cimg' files. Using Zlib is not mandatory.
#ifdef cimg_use_zlib
extern "C" {
-#include "zlib.h"
+#include "zlib.hpp"
}
#endif
@@ -319,7 +319,7 @@ extern "C" {
// to get a builtin support of various image formats (PNG,JPEG,TIFF,...).
// Using Magick++ is not mandatory.
#ifdef cimg_use_magick
-#include "Magick++.h"
+#include "Magick++.hpp"
#endif
// FFTW3 configuration.
@@ -331,7 +331,7 @@ extern "C" {
// efficiently compute the Fast Fourier Transform of image data.
#ifdef cimg_use_fftw3
extern "C" {
-#include "fftw3.h"
+#include "fftw3.hpp"
}
#endif
@@ -348,7 +348,7 @@ extern "C" {
#undef None
#define _cimg_redefine_None
#endif
-#include "Board.h"
+#include "Board.hpp"
#endif
// OpenEXR configuration
@@ -358,11 +358,11 @@ extern "C" {
//
// OpenEXR can be used to read/write .exr file formats.
#ifdef cimg_use_openexr
-#include "ImfRgbaFile.h"
-#include "ImfInputFile.h"
-#include "ImfChannelList.h"
-#include "ImfMatrixAttribute.h"
-#include "ImfArray.h"
+#include "ImfRgbaFile.hpp"
+#include "ImfInputFile.hpp"
+#include "ImfChannelList.hpp"
+#include "ImfMatrixAttribute.hpp"
+#include "ImfArray.hpp"
#endif
// Lapack configuration.
@@ -1922,7 +1922,7 @@ extern "C" {
Anyway, it should not happen often and you should reasonnably start most of your
%CImg-based programs with
\code
- #include "CImg.h"
+ #include "CImg.hpp"
using namespace cimg_library;
\endcode
to simplify the declaration of %CImg Library variables afterwards.
@@ -2045,7 +2045,7 @@ namespace cimg_library {
The example below shows how to cleanly handle %CImg Library exceptions :
\code
#define cimg_verbosity 0 // Disable modal window in CImg exceptions.
- #define "CImg.h"
+ #define "CImg.hpp"
int main() {
try {
...; // Here, do what you want.
View
4 src/pclint/CLI.h → src/pclint/CLI.hpp
@@ -24,8 +24,8 @@
#include <stdlib.h>
#include <iostream>
#include <boost/lexical_cast.hpp>
-#include "Plot.h"
-#include "CImg.h"
+#include "Plot.hpp"
+#include "CImg.hpp"
using std::cin;
using std::cout;
View
2  src/pclint/Canvas.cpp
@@ -1,4 +1,4 @@
-#include "Canvas.h"
+#include "Canvas.hpp"
Canvas::Canvas(dim bedWidth, dim bedHeight, dim screenWidth, dim screenHeight,
BoundingBox* clip) :
View
4 src/pclint/Canvas.h → src/pclint/Canvas.hpp
@@ -7,9 +7,9 @@
#include <SDL_gfxPrimitives.h>
#include <SDL_image.h>
#endif
-#include "2D.h"
+#include "2D.hpp"
#include <string>
-#include "CImg.h"
+#include "CImg.hpp"
using std::string;
using cimg_library::CImg;
View
0  src/pclint/HPGL.h → src/pclint/HPGL.hpp
File renamed without changes
View
12 src/pclint/Interpreter.h → src/pclint/Interpreter.hpp
@@ -24,12 +24,12 @@
#include <string>
#include <iostream>
#include <sstream>
-#include "Pcl.h"
-#include "Raster.h"
-#include "Plot.h"
-#include "CLI.h"
-#include "PclIntConfig.h"
-#include "Plotter.h"
+#include "Pcl.hpp"
+#include "Raster.hpp"
+#include "Plot.hpp"
+#include "CLI.hpp"
+#include "PclIntConfig.hpp"
+#include "Plotter.hpp"
using std::string;
using std::stringstream;
View
4 src/pclint/Pcl.h → src/pclint/Pcl.hpp
@@ -29,8 +29,8 @@
#include <boost/thread/thread.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/barrier.hpp>
-#include "2D.h"
-#include "PclIntConfig.h"
+#include "2D.hpp"
+#include "PclIntConfig.hpp"
using std::cout;
using std::cerr;
using std::endl;
View
2  src/pclint/PclIntConfig.h → src/pclint/PclIntConfig.hpp
@@ -20,7 +20,7 @@
#ifndef CONFIG_H_
#define CONFIG_H_
-#include "2D.h"
+#include "2D.hpp"
#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)
View
4 src/pclint/Plot.h → src/pclint/Plot.hpp
@@ -32,8 +32,8 @@
#include <string>
#include <limits>
#include <boost/format.hpp>
-#include "PclIntConfig.h"
-#include "HPGL.h"
+#include "PclIntConfig.hpp"
+#include "HPGL.hpp"
using std::ios;
using std::cin;
View
12 src/pclint/Plotter.h → src/pclint/Plotter.hpp
@@ -27,12 +27,12 @@
#include <sstream>
#include <string>
#include <limits>
-#include "2D.h"
-#include "PclIntConfig.h"
-#include "HPGL.h"
-#include "Statistic.h"
-#include "Canvas.h"
-#include "CLI.h"
+#include "2D.hpp"
+#include "PclIntConfig.hpp"
+#include "HPGL.hpp"
+#include "Statistic.hpp"
+#include "Canvas.hpp"
+#include "CLI.hpp"
using std::cin;
using std::cerr;
View
10 src/pclint/Raster.h → src/pclint/Raster.hpp
@@ -22,11 +22,11 @@
#include <stdlib.h>
#include <stdint.h>
-#include "CImg.h"
-#include "Pcl.h"
-#include "2D.h"
-#include "Plot.h"
-#include "Plotter.h"
+#include "CImg.hpp"
+#include "Pcl.hpp"
+#include "2D.hpp"
+#include "Plot.hpp"
+#include "Plotter.hpp"
class Run {
private:
View
2  src/pclint/SDLCanvas.cpp
@@ -1,4 +1,4 @@
-#include "SDLCanvas.h"
+#include "SDLCanvas.hpp"
SDLCanvas::SDLCanvas(dim bedWidth, dim bedHeight, dim screenWidth, dim screenHeight, BoundingBox* clip) :
Canvas(bedWidth, bedHeight, screenWidth, screenHeight, clip), voffscreen(bedWidth, bedHeight, 1, 1, 255), roffscreen(bedWidth, bedHeight, 1, 1, 255) {
View
2  src/pclint/SDLCanvas.h → src/pclint/SDLCanvas.hpp
@@ -7,7 +7,7 @@
#include <SDL_gfxPrimitives.h>
#include <SDL_image.h>
#endif
-#include "Canvas.h"
+#include "Canvas.hpp"
using std::string;
using cimg_library::CImg;
View
2  src/pclint/Statistic.h → src/pclint/Statistic.hpp
@@ -21,7 +21,7 @@
#define STATISTIC_H_
#include <assert.h>
-#include "2D.h"
+#include "2D.hpp"
#include <boost/format.hpp>
enum STAT_SLOT { SLOT_RASTER, SLOT_VECTOR, SLOT_GLOBAL };
View
10 src/pclint/pclint.cpp
@@ -22,11 +22,11 @@
#include <stdlib.h>
#include <iostream>
#include <fstream>
-#include "CImg.h"
-#include "Interpreter.h"
-#include "2D.h"
-#include "PclIntConfig.h"
-#include "Plotter.h"
+#include "CImg.hpp"
+#include "Interpreter.hpp"
+#include "2D.hpp"
+#include "PclIntConfig.hpp"
+#include "Plotter.hpp"
#include <stdlib.h>
#ifdef PCLINT_USE_SDL
#include <SDL.h>
View
0  src/test/TestBundledProperties.h → src/test/TestBundledProperties.hpp
File renamed without changes
View
6 src/test/TestCopy.cpp
@@ -1,6 +1,6 @@
-#include "TestCopy.h"
-#include "Document.h"
-#include "config/DocumentSettings.h"
+#include "TestCopy.hpp"
+#include "Document.hpp"
+#include "config/DocumentSettings.hpp"
bool any_compare(const boost::any& a1, const boost::any& a2) {
/* cout << "compare " << *boost::unsafe_any_cast<void*>(&a1)
View
0  src/test/TestCopy.h → src/test/TestCopy.hpp
File renamed without changes
View
6 src/test/TestPlanarEmbedding.h → src/test/TestPlanarEmbedding.hpp
@@ -1,9 +1,9 @@
#ifndef TESTPLANAREMBEDDING_H_
#define TESTPLANAREMBEDDING_H_
-#include "cut/model/CutModel.h"
-#include "cut/graph/Traverse.h"
-#include "cut/geom/Geometry.h"
+#include "cut/model/CutModel.hpp"
+#include "cut/graph/Traverse.hpp"
+#include "cut/geom/Geometry.hpp"
#include <boost/graph/properties.hpp>
class TestPanarEmbedding {
View
6 src/test/test.cpp
@@ -1,6 +1,6 @@
-#include "TestPlanarEmbedding.h"
-#include "TestBundledProperties.h"
-#include "TestCopy.h"
+#include "TestPlanarEmbedding.hpp"
+#include "TestBundledProperties.hpp"
+#include "TestCopy.hpp"
int main() {
TestCopy::test();
View
4 test-code/ps_to_eps.cpp
@@ -2,8 +2,8 @@
#include <stdlib.h>
#include <strings.h>
-#include "laser_config.h"
-#include "eps_converter.h"
+#include "laser_config.hpp"
+#include "eps_converter.hpp"
/** Temporary buffer, used to eps_converter */
char buf[102400];
View
2  test-code/ps_to_eps.pro
@@ -8,7 +8,7 @@ SOURCES = ps_to_eps.cpp \
../src/eps_converter.cpp \
../src/laser_config.cpp
-HEADERS = ../src/eps_converter.h \
+HEADERS = ../src/eps_converter.hpp \
../src/laser_config.h
View
4 test-code/vectortest.cpp
@@ -2,8 +2,8 @@
#include <stdlib.h>
#define PJL_PARAM
-#include "pjl.h"
-#include "VectorPass.h"
+#include "pjl.hpp"
+#include "VectorPass.hpp"
int main(int argc, char *argv[])
{
View
12 test-code/vectortest.pro
@@ -11,12 +11,12 @@ SOURCES = vectortest.cpp \
../src/PolyLine.cpp \
../src/OnionSkin.cpp
-HEADERS = ../src/LaserPass.h \
- ../src/VectorPass.h \
- ../src/Joint.h \
- ../src/LineSegment.h \
- ../src/PolyLine.h \
- ../src/pjl.h \
+HEADERS = ../src/LaserPass.hpp \
+ ../src/VectorPass.hpp \
+ ../src/Joint.hpp \
+ ../src/LineSegment.hpp \
+ ../src/PolyLine.hpp \
+ ../src/pjl.hpp \
../src/OnionSkin.h
Please sign in to comment.
Something went wrong with that request. Please try again.