[RAPPS] Deleted installdlg.cpp as unused
authorAlexander Shaposhnikov <sanchaez@reactos.org>
Sat, 9 Sep 2017 19:12:41 +0000 (19:12 +0000)
committerAlexander Shaposhnikov <sanchaez@reactos.org>
Sat, 9 Sep 2017 19:12:41 +0000 (19:12 +0000)
svn path=/branches/GSoC_2017/rapps/; revision=75811

reactos/base/applications/rapps/CMakeLists.txt
reactos/base/applications/rapps/include/dialogs.h
reactos/base/applications/rapps/installdlg.cpp [deleted file]

index 952cbf8..9a7f7a4 100644 (file)
@@ -10,7 +10,6 @@ list(APPEND SOURCE
     aboutdlg.cpp
     available.cpp
     gui.cpp
-    installdlg.cpp
     installed.cpp
     integrity.cpp
     loaddlg.cpp
index 3d04144..76e5694 100644 (file)
@@ -37,6 +37,3 @@ VOID CreateSettingsDlg(HWND hwnd);
 
 // About dialog (aboutdlg.cpp)
 VOID ShowAboutDialog();
-
-// Installation dialog (installdlg.cpp)
-//BOOL InstallApplication(INT Index);
diff --git a/reactos/base/applications/rapps/installdlg.cpp b/reactos/base/applications/rapps/installdlg.cpp
deleted file mode 100644 (file)
index 72bef84..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * PROJECT:         ReactOS Applications Manager
- * LICENSE:         GPL - See COPYING in the top level directory
- * FILE:            base/applications/rapps/installdlg.cpp
- * PURPOSE:         "Download and Install" Dialog
- * PROGRAMMERS:     Dmitry Chapyshev (dmitry@reactos.org)
- */
-#include "defines.h"
-
-#include "dialogs.h"
-#include "available.h"
-
-static CAvailableApplicationInfo* AppInfo;
-
-static
-INT_PTR CALLBACK
-InstallDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
-{
-    switch (Msg)
-    {
-    case WM_INITDIALOG:
-    {
-    }
-    break;
-
-    case WM_COMMAND:
-    {
-        switch (LOWORD(wParam))
-        {
-        case IDOK:
-        case IDCANCEL:
-            EndDialog(hDlg, LOWORD(wParam));
-            break;
-        }
-    }
-    break;
-    }
-
-    return FALSE;
-}
-
-BOOL
-InstallApplication(INT Index)
-{
-    if (!IsAvailableEnum(SelectedEnumType))
-        return FALSE;
-
-    AppInfo = (CAvailableApplicationInfo*) ListViewGetlParam(Index);
-    if (!AppInfo) return FALSE;
-
-    DialogBoxW(hInst,
-               MAKEINTRESOURCEW(IDD_INSTALL_DIALOG),
-               hMainWnd,
-               InstallDlgProc);
-
-    return TRUE;
-}