![]() |
![]() |
![]() |
Tracker Miner Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#include <libtracker-miner/tracker-miner-fs.h> typedef TrackerMinerFS; typedef TrackerMinerFSClass; void (*TrackerMinerFSDoneCb) (TrackerMinerFS *fs, GFile *file, TrackerSparqlBuilder *builder, const GError *error, gpointer user_data); void tracker_miner_fs_add_directory (TrackerMinerFS *fs, GFile *file, gboolean recurse); gboolean tracker_miner_fs_remove_directory (TrackerMinerFS *fs, GFile *file); void tracker_miner_fs_set_throttle (TrackerMinerFS *fs, gdouble throttle); gdouble tracker_miner_fs_get_throttle (TrackerMinerFS *fs);
"check-directory" : Run Last "check-directory-contents" : Run Last "check-file" : Run Last "finished" : Run Last "monitor-directory" : Run Last
void (*TrackerMinerFSDoneCb) (TrackerMinerFS *fs, GFile *file, TrackerSparqlBuilder *builder, const GError *error, gpointer user_data);
|
|
|
|
|
|
|
|
|
void tracker_miner_fs_add_directory (TrackerMinerFS *fs, GFile *file, gboolean recurse);
Tells the filesystem miner to inspect a directory.
|
a TrackerMinerFS |
|
GFile for the directory to inspect |
|
whether the directory should be inspected recursively |
gboolean tracker_miner_fs_remove_directory (TrackerMinerFS *fs, GFile *file);
Removes a directory from being inspected by fs
.
|
a TrackerMinerFS |
|
GFile for the directory to be removed |
Returns : |
TRUE if the directory was successfully removed.
|
void tracker_miner_fs_set_throttle (TrackerMinerFS *fs, gdouble throttle);
Tells the filesystem miner to throttle its operations. a value of 0 means no throttling at all, so the miner will perform operations at full speed, 1 is the slowest value.
|
a TrackerMinerFS |
|
throttle value, between 0 and 1 |
gdouble tracker_miner_fs_get_throttle (TrackerMinerFS *fs);
Gets the current throttle value. see tracker_miner_fs_set_throttle()
.
|
a TrackerMinerFS |
Returns : |
current throttle value. |
"throttle"
property"throttle" gdouble : Read / Write
Modifier for the indexing speed, 0 is max speed.
Allowed values: [0,1]
Default value: 0
"check-directory"
signalgboolean user_function (TrackerMinerFS *trackerminerfs, GFile *arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
Returns : |
"check-directory-contents"
signalgboolean user_function (TrackerMinerFS *trackerminerfs, GFile *arg1, gpointer arg2, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
Returns : |
"check-file"
signalgboolean user_function (TrackerMinerFS *trackerminerfs, GFile *arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
Returns : |
"finished"
signalvoid user_function (TrackerMinerFS *trackerminerfs, gdouble arg1, guint arg2, guint arg3, guint arg4, guint arg5, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
|
|
|
|
|
|
|
|
user data set when the signal handler was connected. |
"monitor-directory"
signalgboolean user_function (TrackerMinerFS *trackerminerfs, GFile *arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
Returns : |