summaryrefslogtreecommitdiff
path: root/indra/newview/llmarketplacefunctions.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-04-22 20:57:49 -0700
committerMerov Linden <merov@lindenlab.com>2014-04-22 20:57:49 -0700
commitd22944da00a5ade5eb97aa109bac624967ead94c (patch)
tree48f2cef6f7c25b95912b5a0d4d68d74d9fac9da0 /indra/newview/llmarketplacefunctions.h
parent277539e5624f9a71186568d4a2d506033f76e312 (diff)
DD-58 : Forced listing ID to be an integer throughout. Verify we get an integer when using the associate UI.
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rwxr-xr-xindra/newview/llmarketplacefunctions.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h
index f279c24fb2..a587419323 100755
--- a/indra/newview/llmarketplacefunctions.h
+++ b/indra/newview/llmarketplacefunctions.h
@@ -125,12 +125,12 @@ public:
LLMarketplaceTuple();
LLMarketplaceTuple(const LLUUID& folder_id);
- LLMarketplaceTuple(const LLUUID& folder_id, std::string listing_id, const LLUUID& version_id, bool is_listed = false);
+ LLMarketplaceTuple(const LLUUID& folder_id, S32 listing_id, const LLUUID& version_id, bool is_listed = false);
private:
// Representation of a marketplace item in the Marketplace DB (well, what we know of it...)
LLUUID mListingFolderId;
- std::string mListingId;
+ S32 mListingId;
LLUUID mVersionFolderId;
bool mIsActive;
};
@@ -153,18 +153,18 @@ public:
// Create/Delete Marketplace data set : each method returns true if the function succeeds, false if error
bool addListing(const LLUUID& folder_id);
- bool associateListing(const LLUUID& folder_id, std::string listing_id);
+ bool associateListing(const LLUUID& folder_id, S32 listing_id);
bool deleteListing(const LLUUID& folder_id);
// Access Marketplace data set : each method returns a default value if the folder_id can't be found
bool getActivationState(const LLUUID& folder_id);
- std::string getListingID(const LLUUID& folder_id);
+ S32 getListingID(const LLUUID& folder_id);
LLUUID getVersionFolderID(const LLUUID& folder_id);
std::string getListingURL(const LLUUID& folder_id);
- LLUUID getListingFolder(std::string listing_id);
+ LLUUID getListingFolder(S32 listing_id);
// Modify Marketplace data set : each method returns true if the function succeeds, false if error
- bool setListingID(const LLUUID& folder_id, std::string listing_id);
+ bool setListingID(const LLUUID& folder_id, S32 listing_id);
bool setVersionFolderID(const LLUUID& folder_id, const LLUUID& version_id);
bool setActivation(const LLUUID& folder_id, bool activate);