2 * Copyright (C) 2005 QSDN,Inc. All rights reserved.
3 * Copyright (C) 2005 Atsushi Konno All rights reserved.
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.
17 #ifndef __CHXJ_SPECIFIED_DEVICE_H__
18 #define __CHXJ_SPECIFIED_DEVICE_H__
27 CHXJ_SPEC_XHtml_Mobile_1_0,
33 #define CHXJ_PIC_OK (0x01)
34 #define CHXJ_PIC_NG (0x00)
39 typedef struct _device_table_t {
40 struct _device_table_t* next;
41 const char* device_id;
42 const char* device_name;
43 spec_type html_spec_type;
46 /*--------------------------------------------------------------------------*/
47 /* Walll Paper Size */
48 /*--------------------------------------------------------------------------*/
51 /*--------------------------------------------------------------------------*/
53 /*--------------------------------------------------------------------------*/
55 /*--------------------------------------------------------------------------*/
56 /* Correspondence image format */
57 /* 1: It is possible to display it. */
58 /* 0: It is not possible to display it. */
59 /*--------------------------------------------------------------------------*/
65 /*--------------------------------------------------------------------------*/
67 /*--------------------------------------------------------------------------*/
70 /*--------------------------------------------------------------------------*/
71 /* Color number type */
74 /* 256 : 256 Colors */
75 /* 4096 : 4096 Colors */
76 /* 65536 : 65536 Colors */
77 /* 262144 : 262144 Colors */
78 /* 15680000: 15680000 over colors */
79 /*--------------------------------------------------------------------------*/
85 typedef struct device_table_list_t {
86 struct device_table_list_t* next;
91 } device_table_list_t;
93 device_table* chxj_specified_device(request_rec* r, const char* user_agent);