Zeitgeist – zeitgeist-2.0 Reference Manual

# Zeitgeist

## Description:

Abstracts data sources used by the DataSourceRegistry extension

ZeitgeistDataSource represents a data source used to insert events into Zeitgeist. The data sources are identified using the unique_id property, and when querying the data source registry you get other interesting information like timestamp of the last action of the data source, flag whether it is currently running etc.

## Content:

### Namespaces:

- DataSources
- Events
- NCAL
- NCO
- NFO
- NIE
- NMM
- NMO
- Symbol
- Timestamp - Convenience functions for dealing with timestamps and dates
- Utils - Utility functions. FOR INTERNAL USE ONLY
- ZG

### Interfaces:

- ConnmanManagerDBus
- NetworkManagerDBus
- RemoteLog
- RemoteMonitor
- RemoteRegistry
- RemoteSimpleIndexer
- ResultSet - Cursor-like interface for results sets

### Classes:

- DataSource
- DataSourceRegistry - Query the Zeitgeist Data-Source Registry extension
- Event - Event objects abstract Zeitgeist events
- Index - Query the Zeitgeist Full Text Search Extension
- Log - Primary access point for talking to the Zeitgeist daemon
- Monitor - Listens for updates to the Zeitgeist event log
- QueuedProxyWrapper
- SimpleResultSet
- Subject - Subject objects abstract Zeitgeist subjects
- TimeRange - Immutable representation of an interval in time, marked by a beginning and an end

### Structs:

- VersionStruct - Version struct consisting of the following fields: - major - minor - minus

### Enums:

- RelevantResultType
- ResultType - ZeitgeistResultType
- StorageState - Enumeration class defining the possible values for the storage state of an event subject.

### Error domains:

- DataModelError - Errors which can be thrown when asynchronously querying for Events.
- EngineError

### Functions:

- public unowned string? interpretation_for_mimetype (string? mimetype)
  zeitgeist_interpretation_for_mimetype:
- public unowned string? manifestation_for_uri (string uri)
  zeitgeist_manifestation_for_uri
- public void register_mimetype (string mimetype, string interpretation_uri)
  zeitgeist_register_mimetype:
- public void register_mimetype_regex (string mimetype_regex, string interpretation_uri)
  zeitgeist_register_mimetype_regex:
- public void register_uri_scheme (string uri_scheme, string manifestation_type)
  zeitgeist_register_uri_scheme: