1/*
2 * Copyright (C) 2014,2015 Thundersoft Corporation
3 * All rights Reserved
4 *
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
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
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.
16 */
17
18#ifndef __TS_MAKEUP_DATA_H__
19#define __TS_MAKEUP_DATA_H__
20
21    #define TS_OK                (0x00000000)    //Successful
22    #define TS_ERROR_PARAM       (0x00000001)    //Parameters error
23    #define TS_ERROR_IO          (0x00000002)    //Input or output error
24    #define TS_ERROR_INTERNAL    (0x00000003)    //Internal error
25    #define TS_NO_MEMORY         (0x00000004)    //No memory error
26
27
28    /*
29     * Data struct : rectangle
30     */
31    typedef struct __tag_tsrect
32    {
33        long left;
34        long top;
35        long right;
36        long bottom;
37    } TSRect;
38
39    /*
40     * Data struct : point
41     */
42    typedef struct __tag_tsmakeuppoint
43    {
44        long x;
45        long y;
46    } TSPoint;
47
48
49#endif // __TS_MAKEUP_DATA_H__
50