Skip to content

Commit

Permalink
[Draft] Add Tizen 8.0 bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
JSUYA committed Mar 12, 2024
1 parent 7dca81f commit fcd4645
Show file tree
Hide file tree
Showing 15 changed files with 253,736 additions and 16 deletions.
193 changes: 193 additions & 0 deletions configs/8.0/entrypoints.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
// Account
#include <account.h>
#include <fido.h> // will deprecated
#include <fido_uaf_authenticator.h> // will deprecated
#include <fido_uaf_client.h> // will deprecated
#include <oauth2.h>
#include <sync_manager.h>
#include <sync_adapter.h>

// Application Framework
#include <app.h>
#include <app_alarm.h>
#include <app_common.h>
#include <app_control.h>
#include <app_control_uri.h>
#include <app_event.h>
#include <job_scheduler.h>
#include <app_preference.h>
#include <app_resource_manager.h>
#include <app_manager.h>
#include <badge.h>
#include <bundle.h>
#include <cion.h>
#include <data_control.h>
#include <message_port.h>
#include <notification.h>
#include <notification_ex.h>
#include <package_manager.h>
#include <package_archive_info.h>
#include <rpc-port.h>
#include <rpc-port-parcel.h>
#include <service_app.h>

// Base
#include <tizen.h>
#include <tizen_error.h>
#include <tizen_type.h>

// Content
#include <download.h>
#include <mime_type.h>
#include <media_content.h>

// Context
#include <context_history.h>
#include <context_trigger.h>

// Location
#include <geofence/geofence_manager.h> // will deprecated
#include <geofence/geofence_type.h> // will deprecated
#include <locations.h>

// Machine Learning
#include <nnstreamer.h>
#include <ml-api-service.h>
#include <nnstreamer-single.h>
#include <nntrainer.h>

// Messaging
#include <email.h> //will deprecated
#include <push-service.h>

// Multimedia
#include <audio_io.h>
#include <camera.h>
#include <image_util.h>
#include <media_codec.h>
#include <media_controller_server.h>
#include <media_controller_metadata.h>
#include <media_controller_playlist.h>
#include <media_controller_client.h>
#include <mediademuxer.h>
#include <mediamuxer.h>
#include <media_streamer.h> //will deprecated
#include <media_packet.h>
#include <media_format.h>
#include <mv_3d.h>
#include <mv_barcode.h>
#include <mv_common.h>
#include <mv_face.h>
#include <mv_face_recognition.h>
#include <mv_image.h>
#include <mv_inference.h>
#include <mv_roi_tracker.h>
#include <mv_surveillance.h>
#include <media_editor.h>
#include <metadata_editor.h>
#include <metadata_extractor.h>
#include <player.h>
#include <radio.h>
#include <recorder.h>
#include <scmirroring_sink.h>
#include <sound_manager.h>
#include <sound_pool.h>
#include <streamrecorder.h> //will deprecated
#include <thumbnail_util.h>
#include <tone_player.h>
#include <wav_player.h>
#include <webrtc.h>

// Network
#include <asp.h>
#include <bluetooth.h>
#include <net_connection.h>
#include <dns-sd.h>
#include <http.h>
#include <inm.h>
#include <iotcon.h>
#include <ssdp.h>
#include <stc.h>
#include <softap.h>
#include <vpn_service.h>
#include <wifi-manager.h>
#include <wifi-direct.h>

// Security
#include <csr-engine-manager.h> // will deprecated
#include <csr-content-screening.h> // will deprecated
#include <csr-content-screening-types.h> // will deprecated
#include <csr-error.h> // will deprecated
#include <csr-web-protection.h> // will deprecated
#include <csr-web-protection-types.h> // will deprecated
#include <device_certificate_manager.h>
#include <dpm/password.h> // will deprecated
#include <dpm/device-policy-manager.h> // will deprecated
#include <dpm/restriction.h> // will deprecated
#include <dpm/security.h> // will deprecated
#include <dpm/zone.h> // will deprecated
#include <ckmc/ckmc-manager.h>
#include <ckmc/ckmc-type.h>
#include <privacy_privilege_manager.h> // will deprecated
#include <privilege_information.h> // will deprecated
#include <yaca_crypto.h>
#include <yaca_encrypt.h>
#include <yaca_seal.h>
#include <yaca_types.h>
#include <yaca_error.h>
#include <yaca_sign.h>
#include <yaca_digest.h>
#include <yaca_key.h>
#include <yaca_rsa.h>
#include <yaca_simple.h>

// Social
#include <calendar.h>
#include <contacts.h>
#include <phone_number.h>

// System
#include <device/battery.h>
#include <device/callback.h>
#include <device/display.h>
#include <device/haptic.h>
#include <device/ir.h>
#include <device/led.h>
#include <device/power.h>
#include <device/temperature.h>
#include <diagnostics.h>
#include <dlog.h>
#include <feedback.h>
#include <media_key.h>
#include <resource-monitor.h>
#include <peripheral_io.h>
#include <runtime_info.h>
#include <sensor.h>
#include <storage.h>
#include <system_info.h>
#include <system_settings.h>
#include <trace.h>
#include <usb_host.h>
#include <update_control.h>

// UI
#include <eom.h> // will deprecated
#include <tbm_surface.h>

// UIX
#include <autofill.h>
#include <autofill_common.h>
#include <autofill_manager.h>
#include <autofill_service.h>
#include <inputmethod.h>
#include <inputmethod_manager.h>
#include <multi_assistant.h>
#include <multi_assistant_common.h>
#include <stt.h>
#include <stte.h>
#include <tts.h>
#include <ttse.h>
#include <voice_control.h>
#include <vce.h>
#include <voice_control_manager.h>

151 changes: 151 additions & 0 deletions configs/8.0/ffigen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
preamble: |
// Copyright 2024 Samsung Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: type=lint, unused_element, unused_field, subtype_of_base_or_final_is_not_base_final_or_sealed
name: 'Tizen80Native'
description: 'Dart bindings for Tizen native APIs.'
output: '../../lib/src/bindings/8.0/generated_bindings.dart'

llvm-path:
- '/usr/lib/llvm-12'

headers:
entry-points:
- 'entrypoints.h'
include-directives:
- '**/account.h'
- '**/autofill_common.h'
- '**/autofill.h'
- '**/autofill_manager.h'
- '**/autofill_service.h'
- '**/bundle.h'
- '**/diagnostics.h'
- '**/fido.h'
- '**/fido_uaf_authenticator.h'
- '**/fido_uaf_client.h'
- '**/inputmethod.h'
- '**/inputmethod_manager.h'
- '**/multi_assistant_common.h'
- '**/multi_assistant.h'
- '**/oauth2.h'
- '**/peripheral_io.h'
- '**/privilege_information.h'
- '**/push-service.h'
- '**/stte.h'
- '**/stt.h'
- '**/sync_adapter.h'
- '**/sync_manager.h'
- '**/tbm_surface.h'
- '**/tizen_error.h'
- '**/tizen.h'
- '**/trace.h'
- '**/ttse.h'
- '**/tts.h'
- '**/usb_host.h'
- '**/vce.h'
- '**/voice_control.h'
- '**/voice_control_manager.h'
- '**/vpn_service.h'
- '**/appcore-agent/*.h'
- '**/appfw/*.h'
- '**/asp/*.h'
- '**/badge/*.h'
- '**/calendar-service2/*.h'
- '**/cbhm/*.h'
- '**/cion/*.h'
- '**/ckm/ckmc/*.h'
- '**/contacts-svc/*.h'
- '**/content/*.h'
- '**/context-service/*.h'
- '**/csr/*.h'
- '**/device/*.h'
- '**/device-certificate-manager/*.h'
- '**/dlog/*.h'
- '**/dpm/*.h'
- '**/eom/*.h'
- '**/feedback/*.h'
- '**/geofence/*.h'
- '**/iotcon/*.h'
- '**/location/*.h'
- '**/media/*.h'
- '**/media-content/*.h'
- '**/messaging/*.h'
- '**/metadata-editor/*.h'
- '**/network/*.h'
- '**/nnstreamer/*.h'
- '**/nntrainer/*.h'
- '**/notification/*.h'
- '**/notification-ex/api/*.h'
- '**/nsd/*.h'
- '**/phonenumber-utils/*.h'
- '**/privacy-privilege-manager/*.h'
- '**/rpc-port/*.h'
- '**/sensor/*.h'
- '**/storage/*.h'
- '**/system/*.h'
- '**/web/*.h'
- '**/wifi-direct/*.h'
- '**/yaca/*.h'

compiler-opts:
- '-m32'
- '-Wno-incomplete-setjmp-declaration'
- '-I./rootstraps/8.0/usr/include/'
- '-I./rootstraps/8.0/usr/include/appcore-agent/'
- '-I./rootstraps/8.0/usr/include/appfw/'
- '-I./rootstraps/8.0/usr/include/asp/'
- '-I./rootstraps/8.0/usr/include/badge/'
- '-I./rootstraps/8.0/usr/include/calendar-service2/'
- '-I./rootstraps/8.0/usr/include/cbhm/'
- '-I./rootstraps/8.0/usr/include/cion/'
- '-I./rootstraps/8.0/usr/include/ckm/'
- '-I./rootstraps/8.0/usr/include/contacts-svc/'
- '-I./rootstraps/8.0/usr/include/content/'
- '-I./rootstraps/8.0/usr/include/context-service/'
- '-I./rootstraps/8.0/usr/include/csr/'
- '-I./rootstraps/8.0/usr/include/device-certificate-manager/'
- '-I./rootstraps/8.0/usr/include/dlog/'
- '-I./rootstraps/8.0/usr/include/eom/'
- '-I./rootstraps/8.0/usr/include/feedback/'
- '-I./rootstraps/8.0/usr/include/geofence/'
- '-I./rootstraps/8.0/usr/include/iotcon/'
- '-I./rootstraps/8.0/usr/include/location/'
- '-I./rootstraps/8.0/usr/include/media/'
- '-I./rootstraps/8.0/usr/include/media-content/'
- '-I./rootstraps/8.0/usr/include/messaging/'
- '-I./rootstraps/8.0/usr/include/metadata-editor/'
- '-I./rootstraps/8.0/usr/include/network/'
- '-I./rootstraps/8.0/usr/include/nnstreamer/'
- '-I./rootstraps/8.0/usr/include/nntrainer/'
- '-I./rootstraps/8.0/usr/include/notification/'
- '-I./rootstraps/8.0/usr/include/notification-ex/api/'
- '-I./rootstraps/8.0/usr/include/nsd/'
- '-I./rootstraps/8.0/usr/include/phonenumber-utils/'
- '-I./rootstraps/8.0/usr/include/privacy-privilege-manager/'
- '-I./rootstraps/8.0/usr/include/rpc-port/'
- '-I./rootstraps/8.0/usr/include/sensor/'
- '-I./rootstraps/8.0/usr/include/storage/'
- '-I./rootstraps/8.0/usr/include/system/'
- '-I./rootstraps/8.0/usr/include/web/'
- '-I./rootstraps/8.0/usr/include/wifi-direct/'
- '-I./rootstraps/8.0/usr/include/yaca/'

# include EFL directories
- '-I./rootstraps/8.0/usr/include/ecore-imf-1/'
- '-I./rootstraps/8.0/usr/include/efl-1/'
- '-I./rootstraps/8.0/usr/include/eina-1/'
- '-I./rootstraps/8.0/usr/include/eina-1/eina/'
- '-I./rootstraps/8.0/usr/include/emile-1/'
- '-I./rootstraps/8.0/usr/include/eo-1/'
- '-I./rootstraps/8.0/usr/include/evas-1/'

# include glib directories
- '-I./rootstraps/8.0/usr/include/glib-2.0/'
- '-I./rootstraps/8.0/usr/lib/glib-2.0/include/'

enums:
rename:
'_+(.*)': '$1'
Loading

0 comments on commit fcd4645

Please sign in to comment.