Move drivers to an own package.
This commit is contained in:
parent
be99b48216
commit
b92be4a29d
|
@ -2,8 +2,8 @@ module eventcore.core;
|
||||||
|
|
||||||
public import eventcore.driver;
|
public import eventcore.driver;
|
||||||
|
|
||||||
import eventcore.epoll;
|
import eventcore.drivers.epoll;
|
||||||
import eventcore.select;
|
import eventcore.drivers.select;
|
||||||
|
|
||||||
alias NativeEventDriver = SelectEventDriver;
|
alias NativeEventDriver = SelectEventDriver;
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
module eventcore.epoll;
|
module eventcore.drivers.epoll;
|
||||||
@safe: /*@nogc:*/ nothrow:
|
@safe: /*@nogc:*/ nothrow:
|
||||||
|
|
||||||
version (linux):
|
version (linux):
|
||||||
|
|
||||||
public import eventcore.posix;
|
public import eventcore.drivers.posix;
|
||||||
import eventcore.internal.utils;
|
import eventcore.internal.utils;
|
||||||
|
|
||||||
import core.time : Duration;
|
import core.time : Duration;
|
|
@ -1,8 +1,8 @@
|
||||||
module eventcore.posix;
|
module eventcore.drivers.posix;
|
||||||
@safe: /*@nogc:*/ nothrow:
|
@safe: /*@nogc:*/ nothrow:
|
||||||
|
|
||||||
public import eventcore.driver;
|
public import eventcore.driver;
|
||||||
import eventcore.timer;
|
import eventcore.drivers.timer;
|
||||||
import eventcore.internal.utils;
|
import eventcore.internal.utils;
|
||||||
|
|
||||||
import std.socket : Address, AddressFamily, UnknownAddress;
|
import std.socket : Address, AddressFamily, UnknownAddress;
|
|
@ -1,7 +1,7 @@
|
||||||
module eventcore.select;
|
module eventcore.drivers.select;
|
||||||
@safe: /*@nogc:*/ nothrow:
|
@safe: /*@nogc:*/ nothrow:
|
||||||
|
|
||||||
public import eventcore.posix;
|
public import eventcore.drivers.posix;
|
||||||
import eventcore.internal.utils;
|
import eventcore.internal.utils;
|
||||||
|
|
||||||
import core.time : Duration;
|
import core.time : Duration;
|
|
@ -1,4 +1,4 @@
|
||||||
module eventcore.timer;
|
module eventcore.drivers.timer;
|
||||||
|
|
||||||
import eventcore.driver;
|
import eventcore.driver;
|
||||||
|
|
Loading…
Reference in a new issue