summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenufile.h
blob: 77861f8c4899da7e6cdaec0f60c338485f493bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/** 
 * @file llviewermenufile.h
 * @brief "File" menu in the main menu bar.
 *
 * Copyright (c) 2002-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LLVIEWERMENUFILE_H
#define LLVIEWERMENUFILE_H

#include "llassettype.h"
#include "llinventorytype.h"

class LLTransactionID;


void init_menu_file();

void upload_new_resource(const LLString& src_filename, std::string name,
						 std::string desc, S32 compression_info,
						 LLAssetType::EType destination_folder_type,
						 LLInventoryType::EType inv_type,
						 U32 next_owner_perm = 0x0,	// PERM_NONE
						 const LLString& display_name = LLString::null,
						 LLAssetStorage::LLStoreAssetCallback callback = NULL,
						 void *userdata = NULL);

void upload_new_resource(const LLTransactionID &tid, LLAssetType::EType type,
						 std::string name,
						 std::string desc, S32 compression_info,
						 LLAssetType::EType destination_folder_type,
						 LLInventoryType::EType inv_type,
						 U32 next_owner_perm = 0x0,	// PERM_NONE
						 const LLString& display_name = LLString::null,
						 LLAssetStorage::LLStoreAssetCallback callback = NULL,
						 void *userdata = NULL);

#endif