2 // Open Service Platform
3 // Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
20 * @file FUixVision_QrCodeObjectImpl.h
21 * @brief This is the header file for the %Tizen::Uix::Vision::_QrCodeObjectImpl class.
24 #ifndef _FUIX_VISION_INTERNAL_QR_CODE_RECOGNITION_INFO_IMPL_H_
25 #define _FUIX_VISION_INTERNAL_QR_CODE_RECOGNITION_INFO_IMPL_H_
27 #include <FUixVisionQrCodeObject.h>
29 #include <FGraphics.h>
30 #include "QRCodeRecognitionInfo.h"
32 namespace Tizen { namespace Uix { namespace Vision
35 class _QrCodeObjectImpl
38 _QrCodeObjectImpl(void);
39 ~_QrCodeObjectImpl(void);
42 int GetId(void) const;
43 unsigned char GetVersion(void) const;
44 Tizen::Uix::Vision::QrCodeErrorCorrectionLevel GetErrorCorrectionLevel(void);
45 Tizen::Base::String GetText(void) const;
46 const Tizen::Graphics::FloatMatrix4* GetTransformMatrix(void) const;
47 const Tizen::Base::Collection::ArrayListT<Tizen::Graphics::FloatPoint>* GetRectangle(void) const;
48 void SetSariPointer(const sari2::QRCodeRecognitionInfo& sari);
51 static Tizen::Uix::Vision::QrCodeObject* CreateQRCodeObjectStorageN(const unsigned int size);
52 static Tizen::Uix::Vision::QrCodeObject* CreateQRCodeObjectN();
53 static void ReleaseQrCodeObject(QrCodeObject* pQrCodeObject);
54 static void ReleaseQrCodeObjectArray(QrCodeObject* pQrCodeObject);
55 static _QrCodeObjectImpl* GetInstance(QrCodeObject* pQrObject);
56 static const _QrCodeObjectImpl* GetInstance(const QrCodeObject* pQrObject);
60 Tizen::Uix::Vision::QrCodeErrorCorrectionLevel __qrCodeErrorCorrectionLevel;
61 sari2::QRCodeRecognitionInfo __qrCodeObject;
62 Tizen::Base::Collection::ArrayListT<Tizen::Graphics::FloatPoint>* __pRectangleList;
63 Tizen::Graphics::FloatMatrix4* __Matrix;
67 } } } //Tizen::Uix::Vision
69 #endif //_FUIX_VISION_INTERNAL_QR_CODE_OBJECT_IMPL_H_