/*
* Copyright (C) 2005-2013 Team XBMC
- * http://www.xbmc.org
+ * http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
void SetObserver(IBackgroundLoaderObserver* pObserver);
void SetProgressCallback(IProgressCallback* pCallback);
virtual bool LoadItem(CFileItem* pItem) { return false; };
+ virtual bool LoadItemCached(CFileItem* pItem) { return false; };
+ virtual bool LoadItemLookup(CFileItem* pItem) { return false; };
void StopThread(); // will actually stop the loader thread.
void StopAsync(); // will ask loader to stop as soon as possible, but not block
std::vector<CFileItemPtr> m_vecItems; // FileItemList would delete the items and we only want to keep a reference.
CCriticalSection m_lock;
+ volatile bool m_bIsLoading;
volatile bool m_bStop;
CThread *m_thread;