![]() |
![]() |
![]() |
Tracker Indexer Reference Manual | ![]() |
---|---|---|---|---|
Iteratable filesIteratable files — Interface for iteratable files which could contain several individual entities. |
#include <libtracker-module/tracker-module-iteratable.h> typedef TrackerModuleIteratable; gboolean tracker_module_iteratable_iter_contents (TrackerModuleIteratable *iteratable); guint tracker_module_iteratable_get_count (TrackerModuleIteratable *iteratable);
TrackerModuleIteratable is an interface that can be implemented by TrackerModuleFile objects. It's used by Tracker so it can potentially iterate inside the contents of a file.
typedef struct TrackerModuleIteratable TrackerModuleIteratable; /* dummy typedef */
Interface that can be implemented by files.
gboolean tracker_module_iteratable_iter_contents (TrackerModuleIteratable *iteratable);
Iterates to the next element contained in iteratable
.
iteratable : |
A TrackerModuleIteratable |
Returns : | TRUE if there was such next element, FALSE otherwise
|
guint tracker_module_iteratable_get_count (TrackerModuleIteratable *iteratable);
Returns the number of elements contained in iteratable
iteratable : |
A TrackerModuleIteratable |
Returns : | The elements count. |