#include "linden_common.h"
#include <windows.h>
#include <wininet.h>
Include dependency graph for updater.cpp:
Go to the source code of this file.
Defines | |
#define | BUFSIZE 8192 |
#define | win_class_name L"FullScreen" |
Functions | |
char * | wchars_to_utf8chars (WCHAR *in_chars) |
int WINAPI | get_url_into_file (WCHAR *uri, char *path, int *cancelled) |
LRESULT CALLBACK | WinProc (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) |
int | parse_args (int argc, char **argv) |
int WINAPI | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) |
Variables | |
int | gTotalBytesRead = 0 |
HWND | gWindow = NULL |
WCHAR | gProgress [256] |
char * | gUpdateURL |
char * | gProgramName |
char * | gProductName |
bool | gIsSilent |
Copyright (c) 2002-2007, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file updater.cpp.
#define BUFSIZE 8192 |
Definition at line 41 of file updater.cpp.
Referenced by get_url_into_file(), LLVolumeParams::importFile(), LLPathParams::importFile(), LLProfileParams::importFile(), LLPermissions::importFile(), LLVolumeParams::importLegacyStream(), LLPathParams::importLegacyStream(), LLProfileParams::importLegacyStream(), LLPermissions::importLegacyStream(), LLXMLNode::parseStream(), and send_crash_report().
#define win_class_name L"FullScreen" |
int WINAPI get_url_into_file | ( | WCHAR * | uri, | |
char * | path, | |||
int * | cancelled | |||
) |
Definition at line 81 of file updater.cpp.
References BUFSIZE, FALSE, gProgress, gTotalBytesRead, gWindow, NULL, TRUE, and wchars_to_utf8chars().
Referenced by WinMain().
int parse_args | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 268 of file updater.cpp.
References gIsSilent, gProductName, gProgramName, gUpdateURL, and j.
char* wchars_to_utf8chars | ( | WCHAR * | in_chars | ) |
int WINAPI WinMain | ( | HINSTANCE | hInstance, | |
HINSTANCE | hPrevInstance, | |||
LPSTR | lpCmdLine, | |||
int | nShowCmd | |||
) |
Definition at line 301 of file updater.cpp.
References get_url_into_file(), gIsSilent, gProductName, gProgramName, gProgress, gTotalBytesRead, gUpdateURL, gWindow, NULL, params, parse_args(), win_class_name, and WinProc().
LRESULT CALLBACK WinProc | ( | HWND | hwnd, | |
UINT | message, | |||
WPARAM | wparam, | |||
LPARAM | lparam | |||
) |
bool gIsSilent |
char* gProductName |
Definition at line 48 of file updater.cpp.
char* gProgramName |
WCHAR gProgress[256] |
Definition at line 45 of file updater.cpp.
Referenced by get_url_into_file(), WinMain(), and WinProc().
int gTotalBytesRead = 0 |
char* gUpdateURL |
Definition at line 46 of file updater.cpp.
HWND gWindow = NULL |
Definition at line 44 of file updater.cpp.