Commit in reactos/subsys/system/reactos on MAIN
.cvsignore+7added 1.1
De.rc+14added 1.1
En.rc+13added 1.1
Makefile+19added 1.1
reactos.c+71added 1.1
reactos.rc+22added 1.1
resource.h+5added 1.1
+151
7 added files
Add simple first stage GUI setup application.

reactos/subsys/system/reactos
.cvsignore added at 1.1
diff -N .cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .cvsignore	24 Dec 2004 17:16:43 -0000	1.1
@@ -0,0 +1,7 @@
+*.a
+*.o
+*.d
+*.exe
+*.coff
+*.sym
+*.map
\ No newline at end of file

reactos/subsys/system/reactos
De.rc added at 1.1
diff -N De.rc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ De.rc	24 Dec 2004 17:16:43 -0000	1.1
@@ -0,0 +1,14 @@
+/* $Id: De.rc,v 1.1 2004/12/24 17:16:43 ekohl Exp $ */
+
+LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
+
+/* String Tables */
+
+STRINGTABLE DISCARDABLE 
+BEGIN
+    IDS_CAPTION  "ReactOS Setup"
+    IDS_TEXT     "ReactOS kann nicht direct von dieser CD installiert werden!\n\n"\
+                 "Bitte starten Sie Ihren Computer mit dieser CD um ReactOS zu installieren."
+END
+
+/* EOF */

reactos/subsys/system/reactos
En.rc added at 1.1
diff -N En.rc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ En.rc	24 Dec 2004 17:16:43 -0000	1.1
@@ -0,0 +1,13 @@
+/* $Id: En.rc,v 1.1 2004/12/24 17:16:43 ekohl Exp $ */
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+
+/* String Tables */
+STRINGTABLE DISCARDABLE 
+BEGIN
+    IDS_CAPTION  "ReactOS Setup"
+    IDS_TEXT     "You cannot install ReactOS directly from this CD!\n\n"\
+                 "Please restart your computer from this CD in order to install ReactOS."
+END
+
+/* EOF */

reactos/subsys/system/reactos
Makefile added at 1.1
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	24 Dec 2004 17:16:43 -0000	1.1
@@ -0,0 +1,19 @@
+# $Id: Makefile,v 1.1 2004/12/24 17:16:43 ekohl Exp $
+
+PATH_TO_TOP = ../../..
+
+TARGET_TYPE = program
+
+TARGET_APPTYPE = windows
+
+TARGET_NAME = reactos
+
+TARGET_CFLAGS = -Wall -Werror -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501 -D__USE_W32API
+
+TARGET_SDKLIBS = kernel32.a gdi32.a user32.a
+
+TARGET_OBJECTS = reactos.o
+
+include $(PATH_TO_TOP)/rules.mak
+
+include $(TOOLS_PATH)/helper.mk

reactos/subsys/system/reactos
reactos.c added at 1.1
diff -N reactos.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ reactos.c	24 Dec 2004 17:16:43 -0000	1.1
@@ -0,0 +1,71 @@
+/*
+ *  ReactOS applications
+ *  Copyright (C) 2004 ReactOS Team
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+/* $Id: reactos.c,v 1.1 2004/12/24 17:16:43 ekohl Exp $
+ *
+ * COPYRIGHT:   See COPYING in the top level directory
+ * PROJECT:     ReactOS GUI first stage setup application
+ * FILE:        subsys/system/reactos/reactos.c
+ * PROGRAMMERS: Eric Kohl
+ */
+
+#include <windows.h>
+#include <tchar.h>
+
+#include "resource.h"
+
+
+/* GLOBALS ******************************************************************/
+
+TCHAR szCaption[256];
+TCHAR szText[256];
+
+HINSTANCE hInstance;
+
+
+/* FUNCTIONS ****************************************************************/
+
+int WINAPI
+WinMain(HINSTANCE hInst,
+	HINSTANCE hPrevInstance,
+	LPSTR lpszCmdLine,
+	int nCmdShow)
+{
+  hInstance = hInst;
+
+  if (!LoadString(hInstance,
+                  IDS_CAPTION,
+                  szCaption,
+                  256))
+    return 0;
+
+  if (!LoadString(hInstance,
+                  IDS_TEXT,
+                  szText,
+                  256))
+    return 0;
+
+  MessageBox(NULL,
+	     szText,
+	     szCaption,
+	     MB_OK | MB_ICONINFORMATION);
+
+  return 0;
+}
+
+/* EOF */

reactos/subsys/system/reactos
reactos.rc added at 1.1
diff -N reactos.rc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ reactos.rc	24 Dec 2004 17:16:43 -0000	1.1
@@ -0,0 +1,22 @@
+/* $Id: reactos.rc,v 1.1 2004/12/24 17:16:43 ekohl Exp $ */
+
+#include <defines.h>
+#include "resource.h"
+
+#define REACTOS_STR_FILE_DESCRIPTION	"ReactOS Setup\0"
+#define REACTOS_STR_INTERNAL_NAME	"reactos\0"
+#define REACTOS_STR_ORIGINAL_FILENAME	"reactos.exe\0"
+#include <reactos/version.rc>
+
+
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
+
+/* Icons */
+IDI_MAIN ICON "res/reactos.ico"
+
+
+/* Language-specific resources */
+#include "De.rc"
+#include "En.rc"
+
+/* EOF */

reactos/subsys/system/reactos
resource.h added at 1.1
diff -N resource.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ resource.h	24 Dec 2004 17:16:43 -0000	1.1
@@ -0,0 +1,5 @@
+
+#define IDS_CAPTION   1000
+#define IDS_TEXT      1001
+
+#define IDI_MAIN      3000
CVSspam 0.2.8