2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
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.
16 #include <native_service/frameworkunified_dispatcher.h>
17 #include <native_service/frameworkunified_application.h>
18 #include <peripheral_service/ps_services.h>
19 #include <native_service/ns_version_if.h>
20 #include <system_service/ss_system_if.h>
21 #include <vehicle_service/positioning_base_library.h>
24 #include "vehicle_version.h"
26 const CHAR kAppName[PS_APPNAME_MAX] = "Positioning";
28 CFrameworkunifiedVersion g_FrameworkunifiedVersion(MAJORNO, // NOLINT(readability/nolint)
29 MINORNO, // NOLINT(readability/nolint)
32 /* FRAMEWORKUNIFIEDLOGPARAM : g_FrameworkunifiedLogParams : definition for LOG */
33 FRAMEWORKUNIFIEDLOGPARAM g_FrameworkunifiedLogParams = { // NOLINT(readability/nolint)
34 FRAMEWORKUNIFIEDLOGOPTIONS,
36 ZONE_TEXT_10, ZONE_TEXT_11, ZONE_TEXT_12,
37 ZONE_TEXT_13, ZONE_TEXT_14, ZONE_TEXT_15,
38 ZONE_TEXT_16, ZONE_TEXT_17, ZONE_TEXT_18,
39 ZONE_TEXT_19, ZONE_TEXT_20, ZONE_TEXT_21,
40 ZONE_TEXT_22, ZONE_TEXT_23, ZONE_TEXT_24,
41 ZONE_TEXT_25, ZONE_TEXT_26, ZONE_TEXT_27,
42 ZONE_TEXT_28, ZONE_TEXT_29, ZONE_TEXT_30,
44 ZONE_POS_SYS_IN, ZONE_POS_GPS_IN, ZONE_POS_CMD_IN, ZONE_POS_NAV_IN
46 FRAMEWORKUNIFIEDLOGZONES
50 int main(int argc, char *argv[]) {
51 EFrameworkunifiedStatus e_status = eFrameworkunifiedStatusOK;
52 FrameworkunifiedDefaultCallbackHandler cb_funcs;
53 FRAMEWORKUNIFIED_MAKE_DEFAULT_CALLBACK(cb_funcs);
55 FRAMEWORKUNIFIED_SET_ZONES();
56 e_status = FrameworkunifiedDispatcher(kAppName, &cb_funcs);
59 } // LCOV_EXCL_BR_LINE 10:The final line