2017-10-27 17:15:14 -07:00
|
|
|
#ifndef _ECORE_EO_H
|
|
|
|
#define _ECORE_EO_H
|
|
|
|
|
2013-04-03 07:46:59 -07:00
|
|
|
/* This include has been added to support Eo in Ecore */
|
|
|
|
#include <Eo.h>
|
|
|
|
|
|
|
|
/**
|
2020-04-14 07:11:04 -07:00
|
|
|
* @addtogroup Ecore_Timer_Group
|
2013-04-03 07:46:59 -07:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2016-06-03 16:01:08 -07:00
|
|
|
#include "efl_loop_timer.eo.h"
|
2013-04-03 07:46:59 -07:00
|
|
|
|
2014-08-07 06:57:50 -07:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2017-12-27 08:19:52 -08:00
|
|
|
#include "efl_loop_message_future.eo.h"
|
|
|
|
#include "efl_loop_message_future_handler.eo.h"
|
|
|
|
|
2014-06-16 06:24:45 -07:00
|
|
|
/**
|
2020-06-08 21:56:30 -07:00
|
|
|
* @addtogroup Ecore_Main_Loop_Group
|
2014-06-16 06:24:45 -07:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2019-02-12 12:34:27 -08:00
|
|
|
#include "efl_core_env.eo.h"
|
|
|
|
#include "efl_core_proc_env.eo.h"
|
Revert "Revert command line array object because it's broken by design"
This reverts commit a57c7f751023fe1d1edeabbf8683574ac7497e5e.
I pretty much hate to just revert your revert, but you failed to read my
replies, and failed to understand what i was talking about.
And YES we talked at fosdem about the platform issue, and do you
remember my answer, that back in time this might be the case, today is
different freebsd suppoerts setenv, and for windows we have a setenv
implementation in evil. And yes, vtorri also created a issue how bad and
evil this commit is, however, i still fail to see the issue since setenv
unsetenv and clearenv usages are taken as needed. (T7693)
The ownership question is answered in
https://phab.enlightenment.org/D7516#137367.
Can we please get into a state of technical discussions, and not *oh
shit, i am going to revert this* this has been in review for a long
time, a lots of people have tested it, we discussed things on it, and
there was 3 weeks of no reply from you.
The issues that exist will be dealed with. Feel free to create tasks if
you want :)
2019-02-12 12:34:30 -08:00
|
|
|
#include "efl_core_command_line.eo.h"
|
2019-02-12 12:34:27 -08:00
|
|
|
|
2017-11-08 22:59:04 -08:00
|
|
|
#include "efl_loop_message.eo.h"
|
|
|
|
#include "efl_loop_message_handler.eo.h"
|
|
|
|
|
2018-02-20 22:44:11 -08:00
|
|
|
#include "efl_task.eo.h"
|
2018-02-27 04:19:17 -08:00
|
|
|
#include "efl_thread.eo.h"
|
2018-03-06 03:49:51 -08:00
|
|
|
#include "efl_threadio.eo.h"
|
2018-02-20 22:44:11 -08:00
|
|
|
#include "efl_exe.eo.h"
|
|
|
|
|
2016-04-21 15:11:32 -07:00
|
|
|
#include "efl_loop.eo.h"
|
2018-02-27 04:19:17 -08:00
|
|
|
#include "efl_app.eo.h"
|
|
|
|
#include "efl_appthread.eo.h"
|
2014-06-16 06:24:45 -07:00
|
|
|
|
2019-07-11 15:34:31 -07:00
|
|
|
/* To be deprecated at some point */
|
|
|
|
|
|
|
|
/** Please use efl_provider_register instead. */
|
2021-05-26 07:44:41 -07:00
|
|
|
EAPI Eina_Bool efl_loop_register(Efl_Loop *obj, const Efl_Class *klass, const Efl_Object *provider);
|
2019-07-11 15:34:31 -07:00
|
|
|
/** Please use efl_provider_unregister instead. */
|
2021-05-26 07:44:41 -07:00
|
|
|
EAPI Eina_Bool efl_loop_unregister(Efl_Loop *obj, const Efl_Class *klass, const Efl_Object *provider);
|
2019-07-11 15:34:31 -07:00
|
|
|
|
2017-10-27 16:37:58 -07:00
|
|
|
/**
|
|
|
|
* @brief Quits the main loop once all the events currently on the queue have
|
|
|
|
* been processed.
|
|
|
|
*
|
|
|
|
* @param[in] exit_code Returned value by begin()
|
|
|
|
*
|
|
|
|
* @note This function can only be called from the main loop.
|
|
|
|
*
|
|
|
|
* @ingroup Efl_Loop
|
|
|
|
*/
|
2021-05-26 07:44:41 -07:00
|
|
|
EAPI void efl_exit(int exit_code);
|
2017-10-27 16:37:58 -07:00
|
|
|
|
2021-05-26 07:44:41 -07:00
|
|
|
EAPI int efl_loop_exit_code_process(Eina_Value *value);
|
2017-10-27 15:34:50 -07:00
|
|
|
|
2017-12-13 14:49:57 -08:00
|
|
|
#include "efl_loop_consumer.eo.h"
|
2016-05-05 16:18:18 -07:00
|
|
|
|
2018-01-03 11:37:38 -08:00
|
|
|
/**
|
|
|
|
* @brief Get the future scheduler for the current loop.
|
|
|
|
*
|
2020-04-20 03:22:44 -07:00
|
|
|
* @param[in] obj An object which is either a loop or a loop consumer
|
2018-01-03 11:37:38 -08:00
|
|
|
* @return The current loop's future scheduler.
|
|
|
|
*/
|
2021-05-26 07:44:41 -07:00
|
|
|
EAPI Eina_Future_Scheduler *efl_loop_future_scheduler_get(const Eo *obj);
|
2017-09-18 13:33:34 -07:00
|
|
|
|
2016-05-06 15:33:36 -07:00
|
|
|
#include "efl_loop_fd.eo.h"
|
2017-11-08 22:59:04 -08:00
|
|
|
#include "efl_loop_handler.eo.h"
|
2016-05-06 15:33:36 -07:00
|
|
|
|
2018-11-23 04:26:00 -08:00
|
|
|
#include "efl_linear_interpolator.eo.h"
|
|
|
|
#include "efl_accelerate_interpolator.eo.h"
|
|
|
|
#include "efl_decelerate_interpolator.eo.h"
|
|
|
|
#include "efl_sinusoidal_interpolator.eo.h"
|
|
|
|
#include "efl_divisor_interpolator.eo.h"
|
|
|
|
#include "efl_bounce_interpolator.eo.h"
|
|
|
|
#include "efl_spring_interpolator.eo.h"
|
|
|
|
#include "efl_cubic_bezier_interpolator.eo.h"
|
2017-09-12 01:49:40 -07:00
|
|
|
|
2016-06-30 16:51:06 -07:00
|
|
|
/* We ue the factory pattern here, so you shouldn't call eo_add directly. */
|
2021-05-26 07:44:41 -07:00
|
|
|
EAPI Eo *efl_main_loop_get(void);
|
2014-06-16 06:24:45 -07:00
|
|
|
|
2013-04-03 07:46:59 -07:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2016-08-13 00:50:29 -07:00
|
|
|
/**
|
2020-06-08 21:56:30 -07:00
|
|
|
* @ingroup Ecore
|
2020-04-14 07:11:04 -07:00
|
|
|
* @addtogroup Ecore_Fd_Io_Group
|
2016-08-13 00:50:29 -07:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "efl_io_closer_fd.eo.h"
|
|
|
|
#include "efl_io_positioner_fd.eo.h"
|
|
|
|
#include "efl_io_reader_fd.eo.h"
|
|
|
|
#include "efl_io_sizer_fd.eo.h"
|
|
|
|
#include "efl_io_writer_fd.eo.h"
|
|
|
|
#include "efl_io_stdin.eo.h"
|
|
|
|
#include "efl_io_stdout.eo.h"
|
|
|
|
#include "efl_io_stderr.eo.h"
|
|
|
|
#include "efl_io_file.eo.h"
|
|
|
|
#include "efl_io_copier.eo.h"
|
2016-11-24 19:27:33 -08:00
|
|
|
#include "efl_io_buffered_stream.eo.h"
|
2016-08-13 00:50:29 -07:00
|
|
|
|
2017-01-31 12:17:58 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2020-06-08 21:56:30 -07:00
|
|
|
* @ingroup Ecore
|
2020-04-14 07:11:04 -07:00
|
|
|
* @addtogroup Ecore_Model_Group
|
2017-01-31 12:17:58 -08:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
efl_model : rename all efl_model based classes.
Summary:
As the result of discussion in T7458,
we need to rename all efl_model based classes with efl_XXX_Model sequence.
I've run few vote for this, see V42, V43
few classes are totally renamed as our consideration of misnaming.
| Efl.Model_Loop | Efl.Loop_Model |
| Efl.Model_Item | Efl.Generic_Model |
| Efl.Model_Container | Efl.Container_Model |
| Efl.Model_Container_Item | Efl.Container_Model_Item |
| Efl.Model_Composite | Efl.Composite_Model |
| Efl.Model_Composite_Boolean | Efl.Boolean_Model |
| Efl.Model_Composite_Boolean_Chlidren | Efl.Boolean_Model_Item |
| Efl.Model_Composite_Selection | Efl.Select_Model |
| Efl.Model_Composite_Selection_Chlidren | Efl.Select_Model_Item |
| Efl.Model_View | Efl.View_Model |
| Eio.Model | Efl.Io.Model |
| Efl.Ui.Model_State | Efl.Ui.State_Model |
| Efl.Ui.Model_Size | Efl.Ui.Size_Model |
| Efl.Ui.Model_Exact | Efl.Ui.Exact_Model |
| Efl.Ui.Model_Average | Efl.Ui.Average_Model |
| Efl.Ui.Model_Homogeneous | Efl.Ui.Homogeneous_Model |
I worried about Efl.Io.Model changes, cause it is widely used,
but as I tested, there is no issue found yet.
Eldbus.Model also may can changed Efl.Dbus.Model,
but I cannot found any class who using Efl.Dbus namespace,
so I left it future work.
Test Plan:
Run the Make Test,
it works well except Efl test about selection.
there are class inheritance problem exist in select_model,
I reported it and will fix it in another patch.
Reviewers: cedric, felipealmeida, woohyun, Hermet
Reviewed By: cedric
Subscribers: lauromoura
Tags: #efl, #do_not_merge
Differential Revision: https://phab.enlightenment.org/D7533
2019-01-30 20:35:34 -08:00
|
|
|
#include "efl_loop_model.eo.h"
|
|
|
|
#include "efl_generic_model.eo.h"
|
|
|
|
#include "efl_container_model.eo.h"
|
|
|
|
#include "efl_composite_model.eo.h"
|
|
|
|
#include "efl_boolean_model.eo.h"
|
2019-04-03 17:25:06 -07:00
|
|
|
#include "efl_filter_model.eo.h"
|
2017-01-31 12:17:58 -08:00
|
|
|
|
2016-08-13 00:50:29 -07:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
2013-04-03 07:46:59 -07:00
|
|
|
#endif
|