Tesseract
3.02
|
00001 00002 // File: image.h 00003 // Description: image class. 00004 // Author: Samuel Charron 00005 // 00006 // (C) Copyright 2006, Google Inc. 00007 // Licensed under the Apache License, Version 2.0 (the "License"); 00008 // you may not use this file except in compliance with the License. 00009 // You may obtain a copy of the License at 00010 // http://www.apache.org/licenses/LICENSE-2.0 00011 // Unless required by applicable law or agreed to in writing, software 00012 // distributed under the License is distributed on an "AS IS" BASIS, 00013 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 // See the License for the specific language governing permissions and 00015 // limitations under the License. 00016 // 00018 00019 #ifndef THIRD_PARTY_TESSERACT_IMAGE_IMAGE_H_ 00020 #define THIRD_PARTY_TESSERACT_IMAGE_IMAGE_H_ 00021 00022 namespace tesseract { 00023 00024 class CCUtil; 00025 00026 class Image { 00027 public: 00028 Image(CCUtil* ccutil_ptr); 00029 const CCUtil* getCCUtil() const { 00030 return ccutil_ptr_; 00031 } 00032 CCUtil* getCCUtil() { 00033 return ccutil_ptr_; 00034 } 00035 00036 private: 00037 CCUtil* ccutil_ptr_; 00038 }; 00039 } // namespace tesseract 00040 00041 #endif // THIRD_PARTY_TESSERACT_IMAGE_IMAGE_H_