Skip to content

Commit

Permalink
renamed duplicate cube/const.h to cube/cube_const.h (issue 525)
Browse files Browse the repository at this point in the history
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@602 d0cd1f9f-072b-0410-8dd7-cf729c803f20
  • Loading branch information
zdenop@gmail.com committed Aug 11, 2011
1 parent 9b9efa8 commit 16f0481
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cube/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include_HEADERS = \
altlist.h beam_search.h bmp_8.h cached_file.h \
char_altlist.h char_bigrams.h char_samp.h char_samp_enum.h \
char_samp_set.h char_set.h classifier_base.h classifier_factory.h \
con_comp.h const.h conv_net_classifier.h cube_line_object.h \
con_comp.h cube_const.h conv_net_classifier.h cube_line_object.h \
cube_line_segmenter.h cube_object.h cube_search_object.h \
cube_tuning_params.h cube_utils.h feature_base.h feature_bmp.h \
feature_chebyshev.h feature_hybrid.h hybrid_neural_net_classifier.h \
Expand Down
1 change: 1 addition & 0 deletions cube/char_bigrams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "cube_utils.h"
#include "ndminx.h"
#include "unicharset.h"
#include "cube_const.h"

namespace tesseract {

Expand Down
1 change: 1 addition & 0 deletions cube/char_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "string_32.h"
#include "tessdatamanager.h"
#include "unicharset.h"
#include "cube_const.h"

namespace tesseract {

Expand Down
2 changes: 1 addition & 1 deletion cube/con_comp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <stdlib.h>
#include <string.h>
#include "con_comp.h"
#include "const.h"
#include "cube_const.h"

namespace tesseract {

Expand Down
6 changes: 6 additions & 0 deletions cube/const.h → cube/cube_const.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@
#define HIST_WND_RATIO 0.1f
#define SEG_PT_WND_RATIO 0.1f

#ifdef __MSW32__
#ifdef __GNUC__
#include <climits>
#endif
#endif

#endif // CUBE_CONST_H
6 changes: 3 additions & 3 deletions vs2008/cube.vcproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Version="9,00"
Name="cube"
ProjectGUID="{CC778B5F-7B9B-4466-9E9A-B8222C6FF16F}"
RootNamespace="cube"
Expand Down Expand Up @@ -402,11 +402,11 @@
>
</File>
<File
RelativePath="..\cube\const.h"
RelativePath="..\cube\conv_net_classifier.h"
>
</File>
<File
RelativePath="..\cube\conv_net_classifier.h"
RelativePath="..\cube\cube_const.h"
>
</File>
<File
Expand Down
2 changes: 1 addition & 1 deletion vs2010/cube.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<ClInclude Include="..\cube\classifier_base.h" />
<ClInclude Include="..\cube\classifier_factory.h" />
<ClInclude Include="..\cube\con_comp.h" />
<ClInclude Include="..\cube\const.h" />
<ClInclude Include="..\cube\cube_const.h" />
<ClInclude Include="..\cube\conv_net_classifier.h" />
<ClInclude Include="..\cube\cube_line_object.h" />
<ClInclude Include="..\cube\cube_line_segmenter.h" />
Expand Down

0 comments on commit 16f0481

Please sign in to comment.