2 * Copyright (C) 2008 The Android Open Source Project
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef bts_UINT32RECT_EM_H
18 #define bts_UINT32RECT_EM_H
20 /* ---- includes ----------------------------------------------------------- */
22 #include "b_BasicEm/Context.h"
23 #include "b_BasicEm/Basic.h"
25 /* ---- related objects --------------------------------------------------- */
27 /* ---- typedefs ----------------------------------------------------------- */
29 /* ---- constants ---------------------------------------------------------- */
31 /* ---- object definition -------------------------------------------------- */
37 /* ---- private data --------------------------------------------------- */
39 /* ---- public data ---------------------------------------------------- */
41 /** upper left component */
44 /** upper left component */
47 /** lower right component */
50 /** lower right component */
54 /* ---- associated objects ------------------------------------------------- */
56 /* ---- external functions ------------------------------------------------- */
58 /* ---- \ghd{ constructor/destructor } ------------------------------------- */
60 /* ---- \ghd{ operators } -------------------------------------------------- */
62 /* ---- \ghd{ query functions } -------------------------------------------- */
64 /* ---- \ghd{ modify functions } ------------------------------------------- */
66 /* ---- \ghd{ memory I/O } ------------------------------------------------- */
68 /** size object needs when written to memory */
69 uint32 bts_Uint32Rect_memSize( struct bbs_Context* cpA,
70 const struct bts_Uint32Rect* ptrA );
72 /** writes object to memory; returns number of bytes written */
73 uint32 bts_Uint32Rect_memWrite( struct bbs_Context* cpA,
74 const struct bts_Uint32Rect* ptrA,
77 /** reads object from memory; returns number of bytes read */
78 uint32 bts_Uint32Rect_memRead( struct bbs_Context* cpA,
79 struct bts_Uint32Rect* ptrA,
80 const uint16* memPtrA );
82 /* ---- \ghd{ exec functions } --------------------------------------------- */
85 #endif /* bts_UINT32RECT_EM_H */