Skip to content

Commit

Permalink
Merge pull request #3690 from stweil/SPDX
Browse files Browse the repository at this point in the history
Clean header comments in public include files
  • Loading branch information
egorpugin committed Dec 25, 2021
2 parents 5057483 + 3ab060f commit bf7c134
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 34 deletions.
3 changes: 0 additions & 3 deletions include/tesseract/baseapi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: baseapi.h
// Description: Simple API for calling tesseract.
Expand All @@ -14,8 +13,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_API_BASEAPI_H_
#define TESSERACT_API_BASEAPI_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/capi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: capi.h
// Description: C-API TessBaseAPI
Expand All @@ -13,8 +12,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef API_CAPI_H_
#define API_CAPI_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/export.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: export.h
// Description: Place holder
Expand All @@ -13,8 +12,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_PLATFORM_H_
#define TESSERACT_PLATFORM_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/ltrresultiterator.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: ltrresultiterator.h
// Description: Iterator for tesseract results in strict left-to-right
Expand All @@ -15,8 +14,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_CCMAIN_LTR_RESULT_ITERATOR_H_
#define TESSERACT_CCMAIN_LTR_RESULT_ITERATOR_H_
Expand Down
2 changes: 1 addition & 1 deletion include/tesseract/ocrclass.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**********************************************************************
// SPDX-License-Identifier: Apache-2.0
/**********************************************************************
* File: ocrclass.h
* Description: Class definitions and constants for the OCR API.
* Author: Hewlett-Packard Co
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/osdetect.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: osdetect.h
// Description: Orientation and script detection.
Expand All @@ -15,8 +14,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_CCMAIN_OSDETECT_H_
#define TESSERACT_CCMAIN_OSDETECT_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/pageiterator.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: pageiterator.h
// Description: Iterator for tesseract page structure that avoids using
Expand All @@ -15,8 +14,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_CCMAIN_PAGEITERATOR_H_
#define TESSERACT_CCMAIN_PAGEITERATOR_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/publictypes.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: publictypes.h
// Description: Types used in both the API and internally
Expand All @@ -14,8 +13,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_CCSTRUCT_PUBLICTYPES_H_
#define TESSERACT_CCSTRUCT_PUBLICTYPES_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/renderer.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: renderer.h
// Description: Rendering interface to inject into TessBaseAPI
Expand All @@ -13,8 +12,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_API_RENDERER_H_
#define TESSERACT_API_RENDERER_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/resultiterator.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: resultiterator.h
// Description: Iterator for tesseract results that is capable of
Expand All @@ -16,8 +15,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_CCMAIN_RESULT_ITERATOR_H_
#define TESSERACT_CCMAIN_RESULT_ITERATOR_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/unichar.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: unichar.h
// Description: Unicode character/ligature class.
Expand All @@ -14,8 +13,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_CCUTIL_UNICHAR_H_
#define TESSERACT_CCUTIL_UNICHAR_H_
Expand Down
3 changes: 0 additions & 3 deletions include/tesseract/version.h.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
///////////////////////////////////////////////////////////////////////
// SPDX-License-Identifier: Apache-2.0
// File: version.h
// Description: Version information
Expand All @@ -13,8 +12,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
///////////////////////////////////////////////////////////////////////

#ifndef TESSERACT_API_VERSION_H_
#define TESSERACT_API_VERSION_H_
Expand Down

0 comments on commit bf7c134

Please sign in to comment.