Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / rosapps / applications / fraginator / DefragDialog.cpp
diff --git a/rosapps/applications/fraginator/DefragDialog.cpp b/rosapps/applications/fraginator/DefragDialog.cpp
deleted file mode 100644 (file)
index fd103f2..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#include "DefragDialog.h"\r
-#include "Defragment.h"\r
-#include "resource.h"\r
-\r
-\r
-void UpdateDefragInfo (HWND Dlg)\r
-{\r
-    Defragment *Defrag;\r
-    HWND PercentItem;\r
-    char PercentText[100];\r
-\r
-    Defrag = (Defragment *) GetWindowLongPtr (Dlg, GWLP_USERDATA);\r
-\r
-    sprintf (PercentText, "%6.2f%%", Defrag->GetStatusPercent());\r
-    PercentItem = GetDlgItem (Dlg, IDC_PERCENT);\r
-    SendMessage (GetDlgItem (Dlg, IDC_PERCENT), WM_SETTEXT, 0, (LPARAM) PercentText);\r
-    SendMessage (GetDlgItem (Dlg, IDC_STATUS_TEXT), WM_SETTEXT, 0, (LPARAM) Defrag->GetStatusString().c_str());\r
-\r
-    return;\r
-}\r
-\r
-\r
-INT_PTR CALLBACK DefragDialogProc (HWND Dlg, UINT Msg, WPARAM WParam, LPARAM LParam)\r
-{\r
-    switch (Msg)\r
-    {\r
-        case WM_INITDIALOG:\r
-            SetWindowLongPtr (Dlg, GWLP_USERDATA, (LONG_PTR)LParam);\r
-            UpdateDefragInfo (Dlg);\r
-            return (1);\r
-\r
-        case WM_UPDATEINFO:\r
-            UpdateDefragInfo (Dlg);\r
-            return (1);\r
-    }\r
-\r
-    return (0);\r
-}\r