#include "common.h"
#include "dictionary.h"
#include "cds_resource.h"
Go to the source code of this file.
Data Structures | |
| class | CdsObject |
| Generic object in the Content Directory. More... | |
| class | CdsItem |
| An Item in the content directory. More... | |
| class | CdsActiveItem |
| An Active Item in the content directory. More... | |
| class | CdsItemExternalURL |
| An item that is accessible via a URL. More... | |
| class | CdsItemInternalURL |
| An item that is pointing to a file located in the "servedir" directory. More... | |
| class | CdsContainer |
| A container in the content directory. More... | |
Defines | |
| #define | OBJECT_TYPE_CONTAINER 0x00000001 |
| #define | OBJECT_TYPE_ITEM 0x00000002 |
| #define | OBJECT_TYPE_ACTIVE_ITEM 0x00000004 |
| #define | OBJECT_TYPE_ITEM_EXTERNAL_URL 0x00000008 |
| #define | OBJECT_TYPE_ITEM_INTERNAL_URL 0x00000010 |
| #define | IS_CDS_CONTAINER(type) (type & OBJECT_TYPE_CONTAINER) |
| #define | IS_CDS_ITEM(type) (type & OBJECT_TYPE_ITEM) |
| #define | IS_CDS_ACTIVE_ITEM(type) (type & OBJECT_TYPE_ACTIVE_ITEM) |
| #define | IS_CDS_ITEM_EXTERNAL_URL(type) (type & OBJECT_TYPE_ITEM_EXTERNAL_URL) |
| #define | IS_CDS_ITEM_INTERNAL_URL(type) (type & OBJECT_TYPE_ITEM_INTERNAL_URL) |
| #define | IS_CDS_PURE_ITEM(type) (type == OBJECT_TYPE_ITEM) |
| #define | OBJECT_FLAG_RESTRICTED 0x00000001 |
| #define | OBJECT_FLAG_SEARCHABLE 0x00000002 |
| #define | OBJECT_FLAG_USE_RESOURCE_REF 0x00000004 |
| #define | OBJECT_FLAG_PERSISTENT_CONTAINER 0x00000008 |
| #define | OBJECT_FLAG_PLAYLIST_REF 0x00000010 |
| #define | OBJECT_AUTOSCAN_NONE 0 |
| #define | OBJECT_AUTOSCAN_UI 1 |
| #define | OBJECT_AUTOSCAN_CFG 2 |
Functions | |
| int | CdsObjectTitleComparator (void *arg1, void *arg2) |
Definition in file cds_objects.h.
| #define IS_CDS_ACTIVE_ITEM | ( | type | ) | (type & OBJECT_TYPE_ACTIVE_ITEM) |
Definition at line 48 of file cds_objects.h.
Referenced by SQLStorage::_addUpdateObject(), CdsActiveItem::copyTo(), CdsObject::createObject(), SQLStorage::createObjectFromRow(), FileRequestHandler::open(), web::edit_load::process(), ContentManager::updateObject(), UpnpXML_DIDLRenderObject(), and UpnpXML_DIDLUpdateObject().
| #define IS_CDS_CONTAINER | ( | type | ) | (type & OBJECT_TYPE_CONTAINER) |
Definition at line 46 of file cds_objects.h.
Referenced by ContentManager::_addFile(), SQLStorage::_addUpdateObject(), ContentManager::_rescanDirectory(), ContentManager::addObject(), ContentManager::addRecursive(), SQLStorage::browse(), CdsContainer::copyTo(), CdsObject::createObject(), SQLStorage::createObjectFromRow(), SQLStorage::removeObject(), ContentManager::removeObject(), SQLStorage::removeObjects(), ContentManager::setAutoscanDirectory(), ContentManager::updateObject(), and UpnpXML_DIDLRenderObject().
| #define IS_CDS_ITEM | ( | type | ) | (type & OBJECT_TYPE_ITEM) |
Definition at line 47 of file cds_objects.h.
Referenced by ContentManager::_addFile(), SQLStorage::_addUpdateObject(), ContentManager::addObject(), ContentManager::addRecursive(), ContentManager::addVirtualItem(), ContentManager::convertObject(), CdsItem::copyTo(), CdsObject::createObject(), SQLStorage::createObjectFromRow(), FileRequestHandler::get_info(), FileRequestHandler::open(), web::edit_load::process(), ContentManager::updateObject(), and UpnpXML_DIDLRenderObject().
| #define IS_CDS_ITEM_EXTERNAL_URL | ( | type | ) | (type & OBJECT_TYPE_ITEM_EXTERNAL_URL) |
Definition at line 49 of file cds_objects.h.
Referenced by ContentManager::addObject(), CdsResourceManager::addResources_getUrlBase(), CdsObject::createObject(), and web::edit_load::process().
| #define IS_CDS_ITEM_INTERNAL_URL | ( | type | ) | (type & OBJECT_TYPE_ITEM_INTERNAL_URL) |
Definition at line 50 of file cds_objects.h.
Referenced by CdsResourceManager::addResources_getUrlBase(), and CdsObject::createObject().
| #define IS_CDS_PURE_ITEM | ( | type | ) | (type == OBJECT_TYPE_ITEM) |
Definition at line 51 of file cds_objects.h.
Referenced by SQLStorage::_addUpdateObject(), SQLStorage::createObjectFromRow(), and web::edit_load::process().
| #define OBJECT_AUTOSCAN_CFG 2 |
| #define OBJECT_AUTOSCAN_NONE 0 |
Definition at line 64 of file cds_objects.h.
Referenced by CdsContainer::CdsContainer(), and SQLStorage::createObjectFromRow().
| #define OBJECT_AUTOSCAN_UI 1 |
| #define OBJECT_FLAG_PERSISTENT_CONTAINER 0x00000008 |
Definition at line 56 of file cds_objects.h.
Referenced by SQLStorage::_autoscanChangePersistentFlag(), and SQLStorage::_purgeEmptyContainers().
| #define OBJECT_FLAG_PLAYLIST_REF 0x00000010 |
| #define OBJECT_FLAG_RESTRICTED 0x00000001 |
Definition at line 53 of file cds_objects.h.
Referenced by CdsObject::CdsObject(), CdsObject::isRestricted(), and CdsObject::setRestricted().
| #define OBJECT_FLAG_SEARCHABLE 0x00000002 |
Definition at line 54 of file cds_objects.h.
Referenced by CdsContainer::isSearchable(), and CdsContainer::setSearchable().
| #define OBJECT_FLAG_USE_RESOURCE_REF 0x00000004 |
Definition at line 55 of file cds_objects.h.
Referenced by SQLStorage::_addUpdateObject(), add(), and web::addObject::addItem().
| #define OBJECT_TYPE_ACTIVE_ITEM 0x00000004 |
Definition at line 42 of file cds_objects.h.
Referenced by CdsActiveItem::CdsActiveItem(), and web::addObject::process().
| #define OBJECT_TYPE_CONTAINER 0x00000001 |
Definition at line 40 of file cds_objects.h.
Referenced by SQLStorage::browse(), CdsContainer::CdsContainer(), SQLStorage::createContainer(), SQLStorage::getChildCount(), SQLStorage::getObjects(), SQLStorage::getTotalFiles(), and web::addObject::process().
| #define OBJECT_TYPE_ITEM 0x00000002 |
Definition at line 41 of file cds_objects.h.
Referenced by SQLStorage::browse(), CdsItem::CdsItem(), SQLStorage::getChildCount(), web::addObject::process(), and FallbackLayout::processCdsObject().
| #define OBJECT_TYPE_ITEM_EXTERNAL_URL 0x00000008 |
Definition at line 43 of file cds_objects.h.
Referenced by CdsItemExternalURL::CdsItemExternalURL(), and web::addObject::process().
| #define OBJECT_TYPE_ITEM_INTERNAL_URL 0x00000010 |
Definition at line 44 of file cds_objects.h.
Referenced by CdsItemInternalURL::CdsItemInternalURL(), and web::addObject::process().
| int CdsObjectTitleComparator | ( | void * | arg1, | |
| void * | arg2 | |||
| ) |
Definition at line 319 of file cds_objects.cc.
References zmm::String::c_str(), and CdsObject::title.
1.5.2