Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
69c27018
Commit
69c27018
authored
Sep 27, 2016
by
Hugo Beauzée-Luyssen
Browse files
DiscovererWorker: No need to inherit from IDiscoverer
parent
495c8396
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/discoverer/DiscovererWorker.h
View file @
69c27018
...
...
@@ -36,17 +36,17 @@
namespace
medialibrary
{
class
DiscovererWorker
:
public
IDiscoverer
class
DiscovererWorker
{
public:
DiscovererWorker
(
MediaLibraryPtr
ml
);
virtual
~
DiscovererWorker
();
~
DiscovererWorker
();
void
addDiscoverer
(
std
::
unique_ptr
<
IDiscoverer
>
discoverer
);
void
stop
();
virtual
bool
discover
(
const
std
::
string
&
entryPoint
)
override
;
virtual
void
reload
()
override
;
virtual
void
reload
(
const
std
::
string
&
entryPoint
)
override
;
bool
discover
(
const
std
::
string
&
entryPoint
);
void
reload
();
void
reload
(
const
std
::
string
&
entryPoint
);
private:
void
enqueue
(
const
std
::
string
&
entryPoint
,
bool
reload
);
...
...
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