xbmc
Classes | Macros | Typedefs | Enumerations
FileItem.h File Reference
#include "LockType.h"
#include "XBDateTime.h"
#include "guilib/GUIListItem.h"
#include "threads/CriticalSection.h"
#include "utils/IArchivable.h"
#include "utils/ISerializable.h"
#include "utils/ISortable.h"
#include "utils/SortUtils.h"
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for FileItem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CFileItem
 Represents a file on a share. More...
 
class  CFileItemList
 Represents a list of files. More...
 

Macros

#define STARTOFFSET_RESUME   (-1)
 

Typedefs

typedef std::shared_ptr< CCueDocumentCCueDocumentPtr
 
typedef std::shared_ptr< const IEventEventPtr
 
typedef std::shared_ptr< CFileItemCFileItemPtr
 A shared pointer to CFileItem. More...
 
typedef std::vector< CFileItemPtrVECFILEITEMS
 A vector of pointer to CFileItem. More...
 
typedef std::vector< CFileItemPtr >::iterator IVECFILEITEMS
 Iterator for VECFILEITEMS. More...
 
typedef std::map< std::string, CFileItemPtrMAPFILEITEMS
 A map of pointers to CFileItem. More...
 
typedef std::pair< std::string, CFileItemPtrMAPFILEITEMSPAIR
 Pair for MAPFILEITEMS. More...
 
typedef bool(* FILEITEMLISTCOMPARISONFUNC) (const CFileItemPtr &pItem1, const CFileItemPtr &pItem2)
 
typedef void(* FILEITEMFILLFUNC) (CFileItemPtr &item)
 

Enumerations

enum  EFileFolderType {
  EFILEFOLDER_TYPE_ALWAYS = 1<<0, EFILEFOLDER_TYPE_ONCLICK = 1<<1, EFILEFOLDER_TYPE_ONBROWSE = 1<<2, EFILEFOLDER_MASK_ALL = 0xff,
  EFILEFOLDER_MASK_ONCLICK, EFILEFOLDER_MASK_ONBROWSE
}
 

Typedef Documentation

◆ CFileItemPtr

typedef std::shared_ptr<CFileItem> CFileItemPtr

A shared pointer to CFileItem.

See also
CFileItem

◆ IVECFILEITEMS

typedef std::vector< CFileItemPtr >::iterator IVECFILEITEMS

Iterator for VECFILEITEMS.

See also
CFileItemList

◆ MAPFILEITEMS

typedef std::map<std::string, CFileItemPtr > MAPFILEITEMS

A map of pointers to CFileItem.

See also
CFileItem

◆ MAPFILEITEMSPAIR

typedef std::pair<std::string, CFileItemPtr > MAPFILEITEMSPAIR

Pair for MAPFILEITEMS.

See also
MAPFILEITEMS

◆ VECFILEITEMS

typedef std::vector< CFileItemPtr > VECFILEITEMS

A vector of pointer to CFileItem.

See also
CFileItem