mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 04:42:00 +00:00
36 lines
766 B
C
36 lines
766 B
C
#pragma once
|
|
#include <windef.h>
|
|
|
|
//TODO: Separate main and settings related definitions
|
|
struct SETTINGS_INFO
|
|
{
|
|
BOOL bSaveWndPos;
|
|
BOOL bUpdateAtStart;
|
|
BOOL bLogEnabled;
|
|
WCHAR szDownloadDir[MAX_PATH];
|
|
BOOL bDelInstaller;
|
|
/* Window Pos */
|
|
BOOL Maximized;
|
|
INT Left;
|
|
INT Top;
|
|
INT Width;
|
|
INT Height;
|
|
/* Proxy settings */
|
|
INT Proxy;
|
|
WCHAR szProxyServer[MAX_PATH];
|
|
WCHAR szNoProxyFor[MAX_PATH];
|
|
};
|
|
|
|
typedef SETTINGS_INFO *PSETTINGS_INFO;
|
|
|
|
extern HWND hMainWnd;
|
|
extern HINSTANCE hInst;
|
|
extern INT SelectedEnumType;
|
|
extern SETTINGS_INFO SettingsInfo;
|
|
|
|
VOID SaveSettings(HWND hwnd);
|
|
VOID FillDefaultSettings(PSETTINGS_INFO pSettingsInfo);
|
|
|
|
// integrity.cpp
|
|
BOOL VerifyInteg(LPCWSTR lpSHA1Hash, LPCWSTR lpFileName);
|