Tizen 2.1 base
[apps/core/preloaded/print-service.git] / include / pt_optionmapping.h
1 /*
2 *       Printservice
3 *
4 * Copyright 2012  Samsung Electronics Co., Ltd
5
6 * Licensed under the Flora License, Version 1.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9
10 * http://floralicense.org/license/
11
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 */
19
20 #ifndef PT_OPTIONMAPPING_H
21 #define PT_OPTIONMAPPING_H
22
23 #include "pt_debug.h"
24 #include "pt_common.h"
25
26 typedef struct {
27         const char *keyword;
28         int quality;
29         int papertype;
30         int grayscale;
31 } pt_choice_keyword;
32
33 typedef struct {
34         const char *key;
35         void (*fn)(ppd_option_t *op);
36         const pt_choice_keyword *keywords;
37 } KeyActions;
38
39 #define PT_OPTIONCUBE_TEST_PRINT
40
41 #endif // PT_OPTIONMAPPING_H