11 * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd.
13 * Licensed under the Apache License, Version 2.0 (the License);
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
17 * http://www.apache.org/license/
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an AS IS BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
26 #ifndef __ADVENTURE_INTERNAL_H__
27 #define __ADVENTURE_INTERNAL_H__
31 #define _(str) gettext(str)
33 #define gettext_noop(str) (str)
34 #define N_(str) gettext_noop(str)
35 #define D_(str) dgettext("sys_string", str)
43 #define HAPI __attribute__((visibility("hidden")))
49 APPL_ERROR_DB_FAILED = -2,
50 APPL_ERROR_OUT_OF_MEMORY = -3,
51 APPL_ERROR_INVALID_PARAMETER = -4,
52 APPL_ERROR_NO_DATA = -5,
55 #endif /* __ADVENTURE_INTERNAL_H__ */