|
Ubuntu TV Media Scanner
A centralized index for removable media content.
|
#include <mediascanner/refreshpolicy.h>
Inheritance diagram for mediascanner::InstantRefreshPolicy: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... | |
Public Member Functions inherited from mediascanner::RefreshPolicy | |
| virtual | ~RefreshPolicy () |
Additional Inherited Members | |
Static Public Member Functions inherited from mediascanner::RefreshPolicy | |
| 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.
1.8.4