llviewerassetstorage.h

Go to the documentation of this file.
00001 
00032 #ifndef LLVIEWERASSETSTORAGE_H
00033 #define LLVIEWERASSETSTORAGE_H
00034 
00035 #include "llassetstorage.h"
00036 //#include "curl/curl.h"
00037 
00038 class LLVFile;
00039 
00040 class LLViewerAssetStorage : public LLAssetStorage
00041 {
00042 public:
00043         LLViewerAssetStorage(LLMessageSystem *msg, LLXferManager *xfer,
00044                                    LLVFS *vfs, const LLHost &upstream_host);
00045 
00046         LLViewerAssetStorage(LLMessageSystem *msg, LLXferManager *xfer,
00047                                    LLVFS *vfs);
00048 
00049         virtual void storeAssetData(
00050                 const LLTransactionID& tid,
00051                 LLAssetType::EType atype,
00052                 LLStoreAssetCallback callback,
00053                 void* user_data,
00054                 bool temp_file = false,
00055                 bool is_priority = false,
00056                 bool store_local = false,
00057                 bool user_waiting=FALSE,
00058                 F64 timeout=LL_ASSET_STORAGE_TIMEOUT);
00059         
00060         virtual void storeAssetData(
00061                 const char* filename,
00062                 const LLTransactionID& tid,
00063                 LLAssetType::EType type,
00064                 LLStoreAssetCallback callback,
00065                 void* user_data,
00066                 bool temp_file = false,
00067                 bool is_priority = false,
00068                 bool user_waiting=FALSE,
00069                 F64 timeout=LL_ASSET_STORAGE_TIMEOUT);
00070 };
00071 
00072 #endif

Generated on Thu Jul 1 06:09:26 2010 for Second Life Viewer by  doxygen 1.4.7