#include <mediascanner/property.h>
Functions of this kind are used to register custom metadata keys.
mediascanner::Property::MetadataKey::MetadataKey |
( |
GrlKeyID |
id) | |
|
|
inline |
mediascanner::Property::MetadataKey::MetadataKey |
( |
const SpecFunction & |
make_spec) | |
|
|
inlineexplicit |
std::string mediascanner::Property::MetadataKey::description |
( |
) | |
const |
A human-readable description of this property. This is used only to generate documentation.
GType mediascanner::Property::MetadataKey::gtype |
( |
) | |
const |
The type of the data stored in this property, such as G_TYPE_STRING, G_TYPE_UINT, etc. This is used only to generate documentation.
GrlKeyID mediascanner::Property::MetadataKey::id |
( |
) | |
const |
|
inline |
bool mediascanner::Property::MetadataKey::is_custom |
( |
) | |
const |
|
inline |
std::string mediascanner::Property::MetadataKey::name |
( |
) | |
const |
bool mediascanner::Property::MetadataKey::RegisterCustomKey |
( |
) | |
|
const GList* mediascanner::Property::MetadataKey::relation |
( |
) | |
const |
const GrlKeyID mediascanner::Property::MetadataKey::kInvalid |
|
static |
Invalid Grilo metadata key.
const GrlKeyID mediascanner::Property::MetadataKey::kPending |
|
static |
Grilo metadata key for properties with pending custom metadata keys.
Custom metadata keys need lazy initialization since they rely on the GObject type system which must be initialized with g_type_init(), or any other function such as grl_init() that implicitly calls this function.