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
5f5be823
Commit
5f5be823
authored
Feb 17, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/RemoteTagScanner: add API documentation
parent
03700ad3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
RemoteTagScanner.hxx
src/input/RemoteTagScanner.hxx
+23
-0
No files found.
src/input/RemoteTagScanner.hxx
View file @
5f5be823
...
...
@@ -24,12 +24,35 @@
struct
Tag
;
/**
* Handler for the #RemoteTagScanner result. It will call one of the
* methods upon completion. Must be thread-safe.
*/
class
RemoteTagHandler
{
public
:
/**
* Called on success.
*/
virtual
void
OnRemoteTag
(
Tag
&&
tag
)
noexcept
=
0
;
/**
* Called on error.
*/
virtual
void
OnRemoteTagError
(
std
::
exception_ptr
e
)
noexcept
=
0
;
};
/**
* This class can load tags of a remote file. It is created by
* InputPlugin::scan_tags(), and the #RemoteTagHandler will be called
* upon completion.
*
* To start the operation, call Start().
*
* You can cancel the operation at any time by destructing this
* object; after successful cancellation, the handler will not be
* invoked, though it cannot be guaranteed that the handler is not
* already being called in another thread.
*/
class
RemoteTagScanner
{
public
:
virtual
~
RemoteTagScanner
()
noexcept
=
default
;
...
...
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