Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
8cd5e79f
Commit
8cd5e79f
authored
Apr 04, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
event/*, ...: make GetEventLoop() const
parent
1de3ac6c
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
17 additions
and
19 deletions
+17
-19
Service.hxx
src/db/update/Service.hxx
+1
-1
DeferEvent.hxx
src/event/DeferEvent.hxx
+1
-1
MaskMonitor.hxx
src/event/MaskMonitor.hxx
+1
-1
SocketMonitor.hxx
src/event/SocketMonitor.hxx
+1
-1
TimerEvent.hxx
src/event/TimerEvent.hxx
+1
-1
AsyncInputStream.hxx
src/input/AsyncInputStream.hxx
+1
-1
TidalSessionManager.hxx
src/input/plugins/TidalSessionManager.hxx
+1
-1
Global.hxx
src/lib/curl/Global.hxx
+1
-1
Glue.hxx
src/lib/dbus/Glue.hxx
+1
-1
Watch.hxx
src/lib/dbus/Watch.hxx
+1
-1
Connection.hxx
src/lib/nfs/Connection.hxx
+1
-3
FileReader.hxx
src/lib/nfs/FileReader.hxx
+1
-1
Discovery.cxx
src/lib/upnp/Discovery.cxx
+1
-1
Discovery.hxx
src/lib/upnp/Discovery.hxx
+1
-1
UdisksNeighborPlugin.cxx
src/neighbor/plugins/UdisksNeighborPlugin.cxx
+1
-1
NfsStorage.cxx
src/storage/plugins/NfsStorage.cxx
+1
-1
UdisksStorage.cxx
src/storage/plugins/UdisksStorage.cxx
+1
-1
No files found.
src/db/update/Service.hxx
View file @
8cd5e79f
...
...
@@ -66,7 +66,7 @@ public:
~
UpdateService
();
EventLoop
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
defer
.
GetEventLoop
();
}
...
...
src/event/DeferEvent.hxx
View file @
8cd5e79f
...
...
@@ -50,7 +50,7 @@ public:
Cancel
();
}
EventLoop
&
GetEventLoop
()
noexcept
{
EventLoop
&
GetEventLoop
()
const
noexcept
{
return
loop
;
}
...
...
src/event/MaskMonitor.hxx
View file @
8cd5e79f
...
...
@@ -44,7 +44,7 @@ public:
:
defer
(
_loop
,
BIND_THIS_METHOD
(
RunDeferred
)),
callback
(
_callback
),
pending_mask
(
0
)
{}
EventLoop
&
GetEventLoop
()
{
auto
&
GetEventLoop
()
const
noexcept
{
return
defer
.
GetEventLoop
();
}
...
...
src/event/SocketMonitor.hxx
View file @
8cd5e79f
...
...
@@ -68,7 +68,7 @@ public:
~
SocketMonitor
()
noexcept
;
EventLoop
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
loop
;
}
...
...
src/event/TimerEvent.hxx
View file @
8cd5e79f
...
...
@@ -62,7 +62,7 @@ public:
Cancel
();
}
EventLoop
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
loop
;
}
...
...
src/input/AsyncInputStream.hxx
View file @
8cd5e79f
...
...
@@ -76,7 +76,7 @@ public:
virtual
~
AsyncInputStream
();
EventLoop
&
GetEventLoop
()
{
auto
&
GetEventLoop
()
const
noexcept
{
return
deferred_resume
.
GetEventLoop
();
}
...
...
src/input/plugins/TidalSessionManager.hxx
View file @
8cd5e79f
...
...
@@ -102,7 +102,7 @@ public:
~
TidalSessionManager
()
noexcept
;
EventLoop
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
defer_invoke_handlers
.
GetEventLoop
();
}
...
...
src/lib/curl/Global.hxx
View file @
8cd5e79f
...
...
@@ -50,7 +50,7 @@ class CurlGlobal final {
public
:
explicit
CurlGlobal
(
EventLoop
&
_loop
);
EventLoop
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
timeout_event
.
GetEventLoop
();
}
...
...
src/lib/dbus/Glue.hxx
View file @
8cd5e79f
...
...
@@ -42,7 +42,7 @@ public:
DisconnectIndirect
();
}
EventLoop
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
watch
.
GetEventLoop
();
}
...
...
src/lib/dbus/Watch.hxx
View file @
8cd5e79f
...
...
@@ -102,7 +102,7 @@ public:
void
Shutdown
()
noexcept
;
EventLoop
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
defer_dispatch
.
GetEventLoop
();
}
...
...
src/lib/nfs/Connection.hxx
View file @
8cd5e79f
...
...
@@ -161,9 +161,7 @@ public:
return
export_name
.
c_str
();
}
EventLoop
&
GetEventLoop
()
noexcept
{
return
SocketMonitor
::
GetEventLoop
();
}
using
SocketMonitor
::
GetEventLoop
;
/**
* Ensure that the connection is established. The connection
...
...
src/lib/nfs/FileReader.hxx
View file @
8cd5e79f
...
...
@@ -69,7 +69,7 @@ public:
NfsFileReader
()
noexcept
;
~
NfsFileReader
()
noexcept
;
EventLoop
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
defer_open
.
GetEventLoop
();
}
...
...
src/lib/upnp/Discovery.cxx
View file @
8cd5e79f
...
...
@@ -272,7 +272,7 @@ UPnPDeviceDirectory::~UPnPDeviceDirectory() noexcept
}
inline
EventLoop
&
UPnPDeviceDirectory
::
GetEventLoop
()
noexcept
UPnPDeviceDirectory
::
GetEventLoop
()
const
noexcept
{
return
curl
->
GetEventLoop
();
}
...
...
src/lib/upnp/Discovery.hxx
View file @
8cd5e79f
...
...
@@ -168,7 +168,7 @@ public:
UPnPDeviceDirectory
(
const
UPnPDeviceDirectory
&
)
=
delete
;
UPnPDeviceDirectory
&
operator
=
(
const
UPnPDeviceDirectory
&
)
=
delete
;
EventLoop
&
GetEventLoop
()
noexcept
;
EventLoop
&
GetEventLoop
()
const
noexcept
;
void
Start
();
...
...
src/neighbor/plugins/UdisksNeighborPlugin.cxx
View file @
8cd5e79f
...
...
@@ -70,7 +70,7 @@ public:
NeighborListener
&
_listener
)
noexcept
:
NeighborExplorer
(
_listener
),
event_loop
(
_event_loop
)
{}
auto
&
GetEventLoop
()
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
event_loop
;
}
...
...
src/storage/plugins/NfsStorage.cxx
View file @
8cd5e79f
...
...
@@ -129,7 +129,7 @@ public:
}
private
:
EventLoop
&
GetEventLoop
()
noexcept
{
EventLoop
&
GetEventLoop
()
const
noexcept
{
return
defer_connect
.
GetEventLoop
();
}
...
...
src/storage/plugins/UdisksStorage.cxx
View file @
8cd5e79f
...
...
@@ -94,7 +94,7 @@ public:
}
}
EventLoop
&
GetEventLoop
()
noexcept
{
EventLoop
&
GetEventLoop
()
const
noexcept
{
return
defer_mount
.
GetEventLoop
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment