diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llmessage/llxfer_file.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/llxfer_file.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/linden/indra/llmessage/llxfer_file.h b/linden/indra/llmessage/llxfer_file.h index b5294ad..78f77a8 100644 --- a/linden/indra/llmessage/llxfer_file.h +++ b/linden/indra/llmessage/llxfer_file.h | |||
@@ -39,25 +39,25 @@ class LLXfer_File : public LLXfer | |||
39 | { | 39 | { |
40 | protected: | 40 | protected: |
41 | LLFILE *mFp; | 41 | LLFILE *mFp; |
42 | char mLocalFilename[LL_MAX_PATH]; /* Flawfinder : ignore */ | 42 | std::string mLocalFilename; |
43 | char mRemoteFilename[LL_MAX_PATH]; /* Flawfinder : ignore */ | 43 | std::string mRemoteFilename; |
44 | ELLPath mRemotePath; | 44 | ELLPath mRemotePath; |
45 | char mTempFilename[LL_MAX_PATH]; /* Flawfinder : ignore */ | 45 | std::string mTempFilename; |
46 | 46 | ||
47 | BOOL mDeleteLocalOnCompletion; | 47 | BOOL mDeleteLocalOnCompletion; |
48 | BOOL mDeleteRemoteOnCompletion; | 48 | BOOL mDeleteRemoteOnCompletion; |
49 | 49 | ||
50 | public: | 50 | public: |
51 | LLXfer_File (S32 chunk_size); | 51 | LLXfer_File (S32 chunk_size); |
52 | LLXfer_File (const LLString& local_filename, BOOL delete_local_on_completion, S32 chunk_size); | 52 | LLXfer_File (const std::string& local_filename, BOOL delete_local_on_completion, S32 chunk_size); |
53 | virtual ~LLXfer_File(); | 53 | virtual ~LLXfer_File(); |
54 | 54 | ||
55 | virtual void init(const LLString& local_filename, BOOL delete_local_on_completion, S32 chunk_size); | 55 | virtual void init(const std::string& local_filename, BOOL delete_local_on_completion, S32 chunk_size); |
56 | virtual void free(); | 56 | virtual void free(); |
57 | 57 | ||
58 | virtual S32 initializeRequest(U64 xfer_id, | 58 | virtual S32 initializeRequest(U64 xfer_id, |
59 | const LLString& local_filename, | 59 | const std::string& local_filename, |
60 | const LLString& remote_filename, | 60 | const std::string& remote_filename, |
61 | ELLPath remote_path, | 61 | ELLPath remote_path, |
62 | const LLHost& remote_host, | 62 | const LLHost& remote_host, |
63 | BOOL delete_remote_on_completion, | 63 | BOOL delete_remote_on_completion, |
@@ -72,14 +72,14 @@ class LLXfer_File : public LLXfer | |||
72 | virtual S32 suck(S32 start_position); | 72 | virtual S32 suck(S32 start_position); |
73 | virtual S32 flush(); | 73 | virtual S32 flush(); |
74 | 74 | ||
75 | virtual BOOL matchesLocalFilename(const LLString& filename); | 75 | virtual BOOL matchesLocalFilename(const std::string& filename); |
76 | virtual BOOL matchesRemoteFilename(const LLString& filename, ELLPath remote_path); | 76 | virtual BOOL matchesRemoteFilename(const std::string& filename, ELLPath remote_path); |
77 | 77 | ||
78 | virtual S32 getMaxBufferSize(); | 78 | virtual S32 getMaxBufferSize(); |
79 | 79 | ||
80 | virtual U32 getXferTypeTag(); | 80 | virtual U32 getXferTypeTag(); |
81 | 81 | ||
82 | virtual const char *getName(); | 82 | virtual std::string getFileName(); |
83 | }; | 83 | }; |
84 | 84 | ||
85 | #endif | 85 | #endif |