import efl_types;
import eina_types;
-class Ecore.Event.Message (Efl.Loop.Message)
+class Ecore.Event.Message (Efl.Loop_Message)
{
[[ For Legacy API usage Only. Legacy Ecore Events ]]
methods {
import efl_types;
import eina_types;
-class Ecore.Event.Message.Handler (Efl.Loop.Message.Handler)
+class Ecore.Event.Message.Handler (Efl.Loop_Message_Handler)
{
[[ For Legacy API usage Only
This class is rather hacky/messy as it's really internal glue
implements {
Efl.Object.constructor;
Efl.Object.destructor;
- Efl.Loop.Message.Handler.message_call; [[ Sample - override this ]]
+ Efl.Loop_Message_Handler.message_call; [[ Sample - override this ]]
}
}
-class Efl.Io.Buffered_Stream (Efl.Loop.Consumer, Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer) {
+class Efl.Io.Buffered_Stream (Efl.Loop_Consumer, Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer) {
[[A wrapper object offering easy to use buffered streams over existing I/O class.
The buffered stream encapsulates an actual @Efl.Io.Reader or
import eina_types;
-class Efl.Io.Copier (Efl.Loop.Consumer, Efl.Io.Closer) {
+class Efl.Io.Copier (Efl.Loop_Consumer, Efl.Io.Closer) {
[[Copy from an @Efl.Io.Reader source to @Efl.Io.Writer destination.
During usage it will keep reference to @.source and
-class Efl.Io.File (Efl.Loop.Fd, Efl.File, Efl.Io.Reader_Fd, Efl.Io.Writer_Fd, Efl.Io.Closer_Fd, Efl.Io.Sizer_Fd, Efl.Io.Positioner_Fd) {
+class Efl.Io.File (Efl.Loop_Fd, Efl.File, Efl.Io.Reader_Fd, Efl.Io.Writer_Fd, Efl.Io.Closer_Fd, Efl.Io.Sizer_Fd, Efl.Io.Positioner_Fd) {
[[File access (open, close, read, write, lseek, ftruncate)
@Efl.Io.Closer.close_on_exec and
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Object.finalize;
- Efl.Loop.Fd.fd_file { set; }
+ Efl.Loop_Fd.fd_file { set; }
Efl.File.file { get; set; }
Efl.Io.Reader.read;
Efl.Io.Writer.write;
-class Efl.Io.Stderr (Efl.Loop.Fd, Efl.Io.Writer_Fd) {
+class Efl.Io.Stderr (Efl.Loop_Fd, Efl.Io.Writer_Fd) {
[[Application's standard error (stderr).
@since 1.19
implements {
Efl.Object.finalize;
- Efl.Loop.Fd.fd { set; }
+ Efl.Loop_Fd.fd { set; }
Efl.Io.Writer.write;
Efl.Io.Writer.can_write { set; }
}
-class Efl.Io.Stdin (Efl.Loop.Fd, Efl.Io.Reader_Fd) {
+class Efl.Io.Stdin (Efl.Loop_Fd, Efl.Io.Reader_Fd) {
[[Application's standard input (stdin).
@since 1.19
implements {
Efl.Object.finalize;
- Efl.Loop.Fd.fd { set; }
+ Efl.Loop_Fd.fd { set; }
Efl.Io.Reader.read;
Efl.Io.Reader.can_read { set; }
}
-class Efl.Io.Stdout (Efl.Loop.Fd, Efl.Io.Writer_Fd) {
+class Efl.Io.Stdout (Efl.Loop_Fd, Efl.Io.Writer_Fd) {
[[Application's standard output (stdout).
@since 1.19
implements {
Efl.Object.finalize;
- Efl.Loop.Fd.fd { set; }
+ Efl.Loop_Fd.fd { set; }
Efl.Io.Writer.write;
Efl.Io.Writer.can_write { set; }
}
import efl_types;
import eina_types;
-struct Efl.Loop.Arguments {
+struct Efl.Loop_Arguments {
[[EFL loop arguments data structure]]
argv: const(array<const(stringshare)>); [[Array with loop arguments]]
initialization: bool; [[Set to $true when the program should initialize its internal state. This happen once per process instance.]]
@in loop: Efl.Loop; [[The loop to get the object from.]]
@in klass: const(Efl.Class); [[The class of the message object.]]
}
- return: Efl.Loop.Message.Handler; [[The message handler to use.]]
+ return: Efl.Loop_Message_Handler; [[The message handler to use.]]
}
}
events {
idle,enter @restart; [[Event occurs once the main loop enters the idle state.]]
idle,exit @restart; [[Event occurs once the main loop exits the idle state.]]
idle @restart; [[Event occurs once the main loop is idle. If you keep listening on this event it may increase the burden on your CPU.]]
- arguments: Efl.Loop.Arguments; [[Event happens when args are provided to the loop by args_add().]]
+ arguments: Efl.Loop_Arguments; [[Event happens when args are provided to the loop by args_add().]]
poll,high; [[Event occurs multiple times per second. The exact tick is undefined and can be adjusted system wide.]]
poll,medium; [[Event occurs multiple times per minute. The exact tick is undefined and can be adjusted system wide.]]
poll,low; [[Event occurs multiple times every 15 minutes. The exact tick is undefined and can be adjusted system wide.]]
-class Efl.Loop.Consumer (Efl.Object)
+class Efl.Loop_Consumer (Efl.Object)
{
- [[An Efl.Loop.Consumer is a class which requires one of the parents to provide
+ [[An Efl.Loop_Consumer is a class which requires one of the parents to provide
an Efl.Loop interface when performing provider_find. It will enforce this by
only allowing parents which provide such an interface or NULL.]]
eo_prefix: efl_loop;
import eina_types;
-class Efl.Loop.Fd (Efl.Loop.Consumer)
+class Efl.Loop_Fd (Efl.Loop_Consumer)
{
[[Fds are objects that watch the activity on a given
file descriptor. This file descriptor can be a
error = 4, [[ Error channel input is desired ]]
}
-class Efl.Loop.Handler (Efl.Object)
+class Efl.Loop_Handler (Efl.Object)
{
[[ An object that describes an low-level source of I/O to listen to
for available data to be read or written, depending on the OS and data
import efl_types;
import eina_types;
-class Efl.Loop.Message (Efl.Object)
+class Efl.Loop_Message (Efl.Object)
{
[[Base message payload object class. Inherit this and extend for
specific message types.]]
methods {
}
events {
- message: Efl.Loop.Message; [[The message payload data]]
+ message: Efl.Loop_Message; [[The message payload data]]
}
implements {
Efl.Object.constructor;
import efl_types;
import eina_types;
-class Efl.Loop.Message.Future (Efl.Loop.Message)
+class Efl.Loop_Message_Future (Efl.Loop_Message)
{
[[ Used internally for futures on the loop ]]
methods {
import efl_types;
import eina_types;
-class Efl.Loop.Message.Future.Handler (Efl.Loop.Message.Handler)
+class Efl.Loop_Message_Future_Handler (Efl.Loop_Message_Handler)
{
[[ Internal use for future on an efl loop - replacing legacy ecore events ]]
methods {
message_type_add {
[[ ]]
- return: Efl.Loop.Message.Future; [[ ]]
+ return: Efl.Loop_Message_Future; [[ ]]
}
}
events {
- message,future: Efl.Loop.Message.Future; [[ ]]
+ message,future: Efl.Loop_Message_Future; [[ ]]
}
implements {
Efl.Object.constructor;
Efl.Object.destructor;
- Efl.Loop.Message.Handler.message_call; [[ ]]
+ Efl.Loop_Message_Handler.message_call; [[ ]]
}
}
import efl_types;
import eina_types;
-class Efl.Loop.Message.Handler (Efl.Object)
+class Efl.Loop_Message_Handler (Efl.Object)
{
[[Message handlers represent a single message type on the Efl.Loop
parent object. These message handlers can be used to listen for
message_add {
[[Creates a new message object of the correct type for this
message type.]]
- return: Efl.Loop.Message; [[The new message payload object.]]
+ return: Efl.Loop_Message; [[The new message payload object.]]
}
message_send {
[[Place the message on the queue to be called later when
message_process() is called on the loop object.]]
params {
- @in message: Efl.Loop.Message; [[The message to place on the queue.]]
+ @in message: Efl.Loop_Message; [[The message to place on the queue.]]
}
}
message_call {
[[Overide me (implement) then call super after calling the
right callback type if you specialize the message type.]]
params {
- @in message: Efl.Loop.Message; [[ Generic message event type ]]
+ @in message: Efl.Loop_Message; [[ Generic message event type ]]
}
}
message_clear {
}
}
events {
- message: Efl.Loop.Message; [[The message payload data]]
+ message: Efl.Loop_Message; [[The message payload data]]
}
implements {
Efl.Object.constructor;
-class Efl.Loop.Timer (Efl.Loop.Consumer)
+class Efl.Loop_Timer (Efl.Loop_Consumer)
{
[[Timers are objects that will call a given callback at some point
in the future and repeat that tick at a given interval.
import eina_types;
-class Efl.Promise (Efl.Loop.Consumer)
+class Efl.Promise (Efl.Loop_Consumer)
{
[[Efl promise class]]
methods {
unset, [[Only to be used with @Efl.Net.Control.Access_Point.configuration_proxy.]]
}
-class Efl.Net.Control.Access_Point (Efl.Loop.Consumer) {
+class Efl.Net.Control.Access_Point (Efl.Loop_Consumer) {
[[An access point for network connectivity.
The @Efl.Net.Control.Manager is composed of multiple technologies, each
url: string; [[The URL to point the browser at.]]
}
-class Efl.Net.Control.Manager (Efl.Loop.Consumer) {
+class Efl.Net.Control.Manager (Efl.Loop_Consumer) {
[[Controls network connectivity.
This class and its child objects are only useful to implement
p2p, [[Type: Peer-2-Peer]]
}
-class Efl.Net.Control.Technology (Efl.Loop.Consumer) {
+class Efl.Net.Control.Technology (Efl.Loop_Consumer) {
[[A technology that allows control of network access points.
The @Efl.Net.Control.Manager is composed of multiple technologies, each
upload, [[HTTP upload mode]]
}
-class Efl.Net.Dialer.Http (Efl.Loop.Consumer, Efl.Net.Dialer, Efl.Io.Sizer) {
+class Efl.Net.Dialer.Http (Efl.Loop_Consumer, Efl.Net.Dialer, Efl.Io.Sizer) {
[[HTTP Dialer (Client).
The effective URL in use, if @.allow_redirects is $true will be
message: string; [[Textual closing reason message]]
}
-class Efl.Net.Dialer.Websocket (Efl.Loop.Consumer, Efl.Net.Dialer) {
+class Efl.Net.Dialer.Websocket (Efl.Loop_Consumer, Efl.Net.Dialer) {
[[WebSocket Dialer (Client).
The WebSocket Protocol (https://tools.ietf.org/html/rfc6455) is
-class Efl.Net.Server.Fd (Efl.Loop.Fd, Efl.Net.Server) {
+class Efl.Net.Server.Fd (Efl.Loop_Fd, Efl.Net.Server) {
[[A generic server based on file descriptors.
@since 1.19
It will be one of AF_INET (IPv4), AF_INET6 (IPv6),
AF_UNIX...
- It must be set before the @Efl.Loop.Fd.fd.set is called
+ It must be set before the @Efl.Loop_Fd.fd.set is called
with a valid file descriptor.
]]
get { }
else, such as in SOCK_DGRAM (UDP) there is no accept(),
only recvfrom().
- It is called straight from @Efl.Loop.Fd "read" event
+ It is called straight from @Efl.Loop_Fd "read" event
handler and is provided as a method to allow easy
extending of the class for various purposes.
]]
Efl.Object.finalize;
Efl.Object.constructor;
Efl.Object.destructor;
- Efl.Loop.Fd.fd { set; }
+ Efl.Loop_Fd.fd { set; }
Efl.Net.Server.address { get; set; }
Efl.Net.Server.clients_count { get; set; }
Efl.Net.Server.clients_limit { get; set; }
-class Efl.Net.Server.Simple (Efl.Loop.Consumer, Efl.Net.Server) {
+class Efl.Net.Server.Simple (Efl.Loop_Consumer, Efl.Net.Server) {
[[A network server wrapper that creates clients based on @Efl.Net.Socket.Simple.
This is just a wrapper server. It takes an actual server
-class Efl.Net.Server.Windows (Efl.Loop.Consumer, Efl.Net.Server) {
+class Efl.Net.Server.Windows (Efl.Loop_Consumer, Efl.Net.Server) {
[[A Windows NamedPipe server.
The @Efl.Net.Server.serve method calls CreateNamedPipe()
all = (Efl.Net.Session.Technology.ethernet | Efl.Net.Session.Technology.wifi | Efl.Net.Session.Technology.bluetooth | Efl.Net.Session.Technology.cellular | Efl.Net.Session.Technology.vpn | Efl.Net.Session.Technology.gadget), [[All technology types]]
}
-class Efl.Net.Session (Efl.Loop.Consumer) {
+class Efl.Net.Session (Efl.Loop_Consumer) {
[[Used by application to request network connectivity.
This API is targeted at applications that need access to the
-class Efl.Net.Socket.Fd (Efl.Loop.Fd, Efl.Io.Reader_Fd, Efl.Io.Writer_Fd, Efl.Io.Closer_Fd, Efl.Net.Socket) {
+class Efl.Net.Socket.Fd (Efl.Loop_Fd, Efl.Io.Reader_Fd, Efl.Io.Writer_Fd, Efl.Io.Closer_Fd, Efl.Net.Socket) {
[[A base implementation for sockets over filedescriptors (fd)
This is the common class and takes an existing FD, usually
It will be one of AF_INET (IPv4), AF_INET6 (IPv6),
AF_UNIX...
- It must be set before the @Efl.Loop.Fd.fd.set is called
+ It must be set before the @Efl.Loop_Fd.fd.set is called
with a valid file descriptor.
]]
get { }
Efl.Object.finalize;
Efl.Object.constructor;
Efl.Object.destructor;
- Efl.Loop.Fd.fd { set; }
+ Efl.Loop_Fd.fd { set; }
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Reader.read;
var Efl.Net.Socket.Ssl_Error.HANDSHAKE: Eina.Error; [[Failed SSL handshake]]
var Efl.Net.Socket.Ssl_Error.CERTIFICATE_VERIFY_FAILED: Eina.Error; [[Failed to verify peer's certificate]]
-class Efl.Net.Socket.Ssl (Efl.Loop.Consumer, Efl.Net.Socket) {
+class Efl.Net.Socket.Ssl (Efl.Loop_Consumer, Efl.Net.Socket) {
[[A wrapper socket doing SSL (Secure Sockets Layer).
Use this wrapper around an existing socket for secure
}
implements {
- Efl.Loop.Fd.fd { set; }
+ Efl.Loop_Fd.fd { set; }
}
}
implements {
Efl.Object.constructor;
Efl.Object.destructor;
- Efl.Loop.Fd.fd { set; }
+ Efl.Loop_Fd.fd { set; }
Efl.Io.Reader.read;
Efl.Io.Writer.write;
}
]]
implements {
- Efl.Loop.Fd.fd { set; }
+ Efl.Loop_Fd.fd { set; }
}
}
-class Efl.Net.Socket.Windows (Efl.Loop.Consumer, Efl.Net.Socket) {
+class Efl.Net.Socket.Windows (Efl.Loop_Consumer, Efl.Net.Socket) {
[[A base Windows NamedPipe socket.
This is the common class and takes an existing file HANDLE,
}
};
-class Efl.Io.Manager (Efl.Loop.Consumer)
+class Efl.Io.Manager (Efl.Loop_Consumer)
{
[[Class representing an asynchronous file operation.]]
abstract Efl.Canvas.Object (Efl.Object, Efl.Gfx.Entity, Efl.Gfx.Color, Efl.Gfx.Stack, Efl.Animator,
Efl.Input.Interface, Efl.Gfx.Size_Hint,
- Efl.Gfx.Map, Efl.Loop.Consumer, Efl.Ui.Base, Efl.Canvas.Pointer)
+ Efl.Gfx.Map, Efl.Loop_Consumer, Efl.Ui.Base, Efl.Canvas.Pointer)
{
[[Efl canvas object abstract class]]
legacy_prefix: evas_object;
Efl.Gfx.Size_Hint.hint_weight { get; set; }
Efl.Gfx.Entity.scale { set; get; }
Efl.Input.Interface.seat_event_filter { get; set; }
- Efl.Loop.Consumer.loop { get; }
+ Efl.Loop_Consumer.loop { get; }
Efl.Canvas.Pointer.pointer_inside { get; }
}
events {
import efl_input_types;
class Evas.Canvas (Efl.Object, Efl.Canvas.Scene, Efl.Animator, Efl.Input.Interface,
- Efl.Loop.Consumer, Efl.Canvas.Pointer)
+ Efl.Loop_Consumer, Efl.Canvas.Pointer)
{
[[Evas canvas class]]
legacy_prefix: evas;
Efl.Object.event_thaw;
Efl.Object.event_freeze;
Efl.Object.provider_find;
- Efl.Loop.Consumer.loop { get; }
+ Efl.Loop_Consumer.loop { get; }
//Efl.Canvas.seats;
Efl.Canvas.Pointer.pointer_inside { get; }
Efl.Canvas.Scene.device { get; }