diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/lltransfertargetfile.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/llmessage/lltransfertargetfile.h b/linden/indra/llmessage/lltransfertargetfile.h index 50d617f..18b44e2 100644 --- a/linden/indra/llmessage/lltransfertargetfile.h +++ b/linden/indra/llmessage/lltransfertargetfile.h | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file lltransfertargetfile.h | 2 | * @file lltransfertargetfile.h |
3 | * @brief Transfer system for receiving a file. | 3 | * @brief Transfer system for receiving a file. |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2006&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2006-2007, Linden Research, Inc. | 7 | * Copyright (c) 2006-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,6 +26,7 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #ifndef LL_LLTRANSFERTARGETFILE_H | 32 | #ifndef LL_LLTRANSFERTARGETFILE_H |
@@ -31,15 +34,13 @@ | |||
31 | 34 | ||
32 | #include "lltransfermanager.h" | 35 | #include "lltransfermanager.h" |
33 | 36 | ||
34 | #include <stdio.h> | ||
35 | |||
36 | typedef void (*LLTTFCompleteCallback)(const LLTSCode status, void *user_data); | 37 | typedef void (*LLTTFCompleteCallback)(const LLTSCode status, void *user_data); |
37 | 38 | ||
38 | class LLTransferTargetParamsFile : public LLTransferTargetParams | 39 | class LLTransferTargetParamsFile : public LLTransferTargetParams |
39 | { | 40 | { |
40 | public: | 41 | public: |
41 | LLTransferTargetParamsFile() : LLTransferTargetParams(LLTTT_FILE) {} | 42 | LLTransferTargetParamsFile() : LLTransferTargetParams(LLTTT_FILE) {} |
42 | void setFilename(const char *filename) { mFilename = filename; } | 43 | void setFilename(const LLString& filename) { mFilename = filename; } |
43 | void setCallback(LLTTFCompleteCallback cb, void *user_data) { mCompleteCallback = cb; mUserData = user_data; } | 44 | void setCallback(LLTTFCompleteCallback cb, void *user_data) { mCompleteCallback = cb; mUserData = user_data; } |
44 | 45 | ||
45 | friend class LLTransferTargetFile; | 46 | friend class LLTransferTargetFile; |