1 #pragma once
2 #include <windef.h>
3 
4 //TODO: Separate main and settings related definitions
5 struct SETTINGS_INFO
6 {
7     BOOL bSaveWndPos;
8     BOOL bUpdateAtStart;
9     BOOL bLogEnabled;
10     WCHAR szDownloadDir[MAX_PATH];
11     BOOL bDelInstaller;
12     /* Window Pos */
13     BOOL Maximized;
14     INT Left;
15     INT Top;
16     INT Width;
17     INT Height;
18     /* Proxy settings */
19     INT Proxy;
20     WCHAR szProxyServer[MAX_PATH];
21     WCHAR szNoProxyFor[MAX_PATH];
22 };
23 
24 typedef SETTINGS_INFO *PSETTINGS_INFO;
25 
26 extern HWND hMainWnd;
27 extern HINSTANCE hInst;
28 extern INT SelectedEnumType;
29 extern SETTINGS_INFO SettingsInfo;
30 
31 VOID SaveSettings(HWND hwnd);
32 VOID FillDefaultSettings(PSETTINGS_INFO pSettingsInfo);
33 
34 // integrity.cpp
35 BOOL VerifyInteg(LPCWSTR lpSHA1Hash, LPCWSTR lpFileName);
36