add_definitions(
-DUSE_CERT_PINNING
-D_ATL_NO_EXCEPTIONS)
-
+
file(GLOB_RECURSE rapps_rc_deps res/*.*)
add_rc_deps(rapps.rc ${rapps_rc_deps})
add_executable(rapps ${SOURCE} rapps.rc)
}
return TRUE;
}
-// CAvailableApplicationInfo
+// CAvailableApplicationInfo
// AvailableStrings
AvailableStrings::AvailableStrings()
m_InfoList.AddTail(Info);
skip_if_cached:
- if (EnumType == Info->m_Category
- || EnumType == ENUM_ALL_AVAILABLE
+ if (EnumType == Info->m_Category
+ || EnumType == ENUM_ALL_AVAILABLE
|| (EnumType == ENUM_CAT_SELECTED && Info->m_IsSelected))
{
Info->RefreshAppInfo();
const INT m_Width;
const INT m_Height;
- CSearchBar() : m_Width(200), m_Height(22)
+ CSearchBar() : m_Width(200), m_Height(22)
{
}
m_ListView->DeleteAllItems();
- // Create new ImageList
+ // Create new ImageList
hImageListView = ImageList_Create(LISTVIEW_ICON_SIZE,
LISTVIEW_ICON_SIZE,
GetSystemColorDepth() | ILC_MASK,
#pragma once
#include <windef.h>
-#include <atlstr.h>
+#include <atlstr.h>
#include <atlsimpcoll.h>
#include <atlcoll.h>
if ((dwEffects == CFM_LINK) && !PathIsURLW(lpszText))
{
// if text is not an URL, no styling is used
- SetRangeFormatting(Len, Len + InsertedTextLen, 0);
+ SetRangeFormatting(Len, Len + InsertedTextLen, 0);
}
else
{
#include <ndk/rtlfuncs.h>
#include <atlcoll.h>
#include <atlsimpcoll.h>
-#include <atlstr.h>
+#include <atlstr.h>
#include <rappsmsg.h>
#include "resource.h"
#define IDS_CAT_VIDEO 714
/* App installation status */
-#define IDS_STATUS_INSTALLED 800
+#define IDS_STATUS_INSTALLED 800
#define IDS_STATUS_NOTINSTALLED 801
#define IDS_STATUS_DOWNLOADED 802
#define IDS_STATUS_UPDATE_AVAILABLE 803
VOID SaveSettings(HWND hwnd);
VOID FillDefaultSettings(PSETTINGS_INFO pSettingsInfo);
-// integrity.cpp
+// integrity.cpp
BOOL VerifyInteg(LPCWSTR lpSHA1Hash, LPCWSTR lpFileName);
END
IDD_DOWNLOAD_DIALOG DIALOGEX 0, 0, 220, 220
-STYLE DS_SHELLFONT | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION | WS_VISIBLE
+STYLE DS_SHELLFONT | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION | WS_VISIBLE
CAPTION "Downloading %ls…"
FONT 8, "MS Shell Dlg"
BEGIN
IDS_UNABLE_TO_DOWNLOAD2 "Pachetul nu poate fi descărcat! Verificați conexiunea de Internet!"
IDS_UNABLE_TO_REMOVE "Datele de registru pentru acest program nu au putut fi eliminate!"
IDS_UNABLE_TO_INSTALL "Programul de instalare nu poate fi executat!"
- IDS_CERT_DOES_NOT_MATCH "Verificarea certificatului SSL a eșuat."
+ IDS_CERT_DOES_NOT_MATCH "Verificarea certificatului SSL a eșuat."
IDS_INTEG_CHECK_TITLE "Integritatea pachetului în verificare…"
IDS_INTEG_CHECK_FAIL "Pachetul nu a trecut de verificarea de integritate. Utilizarea programului nu este recomandată."
IDS_INTERRUPTED_DOWNLOAD "Descărcarea a fost întreruptă. Verificați conexiunea la Internet."
if (Item)
{
// initialize the default values for our nifty progress bar
- // and subclass it so that it learns to print a status text
+ // and subclass it so that it learns to print a status text
SendMessageW(Item, PBM_SETRANGE, 0, MAKELPARAM(0, 100));
SendMessageW(Item, PBM_SETPOS, 0, 0);
case 0: // preconfig
hOpen = InternetOpenW(lpszAgent, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
break;
- case 1: // direct (no proxy)
+ case 1: // direct (no proxy)
hOpen = InternetOpenW(lpszAgent, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
break;
case 2: // use proxy
SESSION Dest;
HRESULT Result;
fnExtract pfnExtract;
-
+
hCabinetDll = LoadLibraryW(L"cabinet.dll");
if (hCabinetDll)
{
for (INT i = 1; i < argc; ++i)
{
arrNames.Add(argv[i]);
- }
- }
- else
+ }
+ }
+ else
if (!StrCmpW(argv[0], CMD_KEY_SETUP))
{
HINF InfHandle = SetupOpenInfFileW(argv[1], NULL, INF_STYLE_WIN4, NULL);
CDownloadManager::DownloadListOfApplications(arrAppInfo, TRUE);
return TRUE;
}
-
+
return FALSE;
}