summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/elm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/native/elm')
-rw-r--r--lib/efl/native/elm/elm_app.rb13
-rw-r--r--lib/efl/native/elm/elm_calendar.rb5
2 files changed, 18 insertions, 0 deletions
diff --git a/lib/efl/native/elm/elm_app.rb b/lib/efl/native/elm/elm_app.rb
index 0f80811..dffd105 100644
--- a/lib/efl/native/elm/elm_app.rb
+++ b/lib/efl/native/elm/elm_app.rb
@@ -21,10 +21,19 @@ module Efl
#
ffi_lib 'elementary.so.1'
#
+ # ENUMS
+ # typedef enum {...} Elm_App_View_State;
+ enum :elm_app_view_state, [ :elm_app_view_state_unknown, 0, :elm_app_view_state_live, 1, :elm_app_view_state_paused, 2,
+ :elm_app_view_state_closed, 3, :elm_app_view_state_shallow, 4 ]
+ #
# FUNCTIONS
fcts = [
# EAPI void elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile);
[ :elm_app_info_set, [ :pointer, :string, :string ], :void ],
+ # EAPI void elm_app_name_set(const char *name);
+ [ :elm_app_name_set, [ :string ], :void ],
+ # EAPI void elm_app_desktop_entry_set(const char *path);
+ [ :elm_app_desktop_entry_set, [ :string ], :void ],
# EAPI void elm_app_compile_bin_dir_set(const char *dir);
[ :elm_app_compile_bin_dir_set, [ :string ], :void ],
# EAPI void elm_app_compile_lib_dir_set(const char *dir);
@@ -33,6 +42,10 @@ module Efl
[ :elm_app_compile_data_dir_set, [ :string ], :void ],
# EAPI void elm_app_compile_locale_set(const char *dir);
[ :elm_app_compile_locale_set, [ :string ], :void ],
+ # EAPI const char *elm_app_name_get(void);
+ [ :elm_app_name_get, [ ], :string ],
+ # EAPI const char *elm_app_desktop_entry_get(void);
+ [ :elm_app_desktop_entry_get, [ ], :string ],
# EAPI const char *elm_app_prefix_dir_get(void);
[ :elm_app_prefix_dir_get, [ ], :string ],
# EAPI const char *elm_app_bin_dir_get(void);
diff --git a/lib/efl/native/elm/elm_calendar.rb b/lib/efl/native/elm/elm_calendar.rb
index f5b0531..cf9bee2 100644
--- a/lib/efl/native/elm/elm_calendar.rb
+++ b/lib/efl/native/elm/elm_calendar.rb
@@ -31,6 +31,9 @@ module Efl
# typedef enum {...} _Elm_Calendar_Select_Mode;
enum :_elm_calendar_select_mode, [ :elm_calendar_select_mode_default, 0, :elm_calendar_select_mode_always, 1, :elm_calendar_select_mode_none,
2, :elm_calendar_select_mode_ondemand, 3 ]
+ # typedef enum {...} _Elm_Calendar_Selectable;
+ enum :_elm_calendar_selectable, [ :elm_calendar_selectable_none, 0, :elm_calendar_selectable_year, (1<<0), :elm_calendar_selectable_month,
+ (1<<1), :elm_calendar_selectable_day, (1<<2) ]
#
# TYPEDEFS
# typedef _Elm_Calendar_Mark_Repeat_Type Elm_Calendar_Mark_Repeat_Type;
@@ -39,6 +42,8 @@ module Efl
typedef :_elm_calendar_weekday, :elm_calendar_weekday
# typedef _Elm_Calendar_Select_Mode Elm_Calendar_Select_Mode;
typedef :_elm_calendar_select_mode, :elm_calendar_select_mode
+ # typedef _Elm_Calendar_Selectable Elm_Calendar_Selectable;
+ typedef :_elm_calendar_selectable, :elm_calendar_selectable
# typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark;
typedef :pointer, :elm_calendar_mark
#