Ubuntu TV Media Scanner
A centralized index for removable media content.
|
#include <mediascanner/refreshpolicy.h>
Public Member Functions | |
bool | OnBeginReading (MediaIndex *index) |
This method is called by the MediaIndex before it starts any read operation. More... | |
bool | OnBeginWriting (WritableMediaIndex *index) |
This method is called by the WritableMediaIndex before it starts any write operation. More... | |
![]() | |
virtual | ~RefreshPolicy () |
Additional Inherited Members | |
![]() | |
static RefreshPolicyPtr | default_policy () |
The default policy - currently an instance of InstantRefreshPolicy. More... | |
|
virtual |
This method is called by the MediaIndex before it starts any read operation.
The policy can now check if the media index needs to be reopened, can can do so if needed.
index |
Implements mediascanner::RefreshPolicy.
|
virtual |
This method is called by the WritableMediaIndex before it starts any write operation.
The policy can now check if the media index needs to be reopened, can can do so if needed.
index |
Implements mediascanner::RefreshPolicy.