]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - propsheet.h
2001-01-04 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
[cygwin-apps/setup.git] / propsheet.h
index 044a5cc89532be766129acfc18ba12f746ef9c56..d97ba053d170bd710af5fd8c0174ccc3ed33b9f3 100644 (file)
@@ -1,59 +1,59 @@
-#ifndef CINSTALL_PROPSHEET_H\r
-#define CINSTALL_PROPSHEET_H\r
-\r
-/*\r
- * Copyright (c) 2001, Gary R. Van Sickle.\r
- *\r
- *     This program is free software; you can redistribute it and/or modify\r
- *     it under the terms of the GNU General Public License as published by\r
- *     the Free Software Foundation; either version 2 of the License, or\r
- *     (at your option) any later version.\r
- *\r
- *     A copy of the GNU General Public License can be found at\r
- *     http://www.gnu.org/\r
- *\r
- * Written by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>\r
- *\r
- */\r
-\r
-// This is the header for the PropSheet class.  This class encapsulates\r
-// a Windows property sheet / wizard and interfaces with the PropertyPage class.\r
-// It's named PropSheet instead of PropertySheet because the latter conflicts with\r
-// the Windows function of the same name.\r
-\r
-\r
-#include <windows.h>\r
-#include <prsht.h>\r
-\r
-#include "window.h"\r
-\r
-class PropertyPage;\r
-\r
-class PropSheet:public Window\r
-{\r
-  PropertyPage *PropertyPages[MAXPROPPAGES];\r
-  int NumPropPages;\r
-\r
-  HPROPSHEETPAGE *PageHandles;\r
-  HPROPSHEETPAGE *CreatePages ();\r
-\r
-public:\r
-  PropSheet ();\r
-  virtual ~ PropSheet ();\r
-\r
-  // Should be private and friended to PropertyPage\r
-  void SetHWNDFromPage (HWND h);\r
-\r
-  virtual bool Create (const Window * Parent = NULL,\r
-                      DWORD Style =\r
-                      WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_CLIPCHILDREN);\r
-\r
-  void AddPage (PropertyPage * p);\r
-\r
-  bool SetActivePage (int i);\r
-  bool SetActivePageByID (int resource_id);\r
-  void SetButtons (DWORD flags);\r
-  void PressButton (int button);\r
-};\r
-\r
-#endif // CINSTALL_PROPSHEET_H\r
+#ifndef CINSTALL_PROPSHEET_H
+#define CINSTALL_PROPSHEET_H
+
+/*
+ * Copyright (c) 2001, Gary R. Van Sickle.
+ *
+ *     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.
+ *
+ *     A copy of the GNU General Public License can be found at
+ *     http://www.gnu.org/
+ *
+ * Written by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
+ *
+ */
+
+// This is the header for the PropSheet class.  This class encapsulates
+// a Windows property sheet / wizard and interfaces with the PropertyPage class.
+// It's named PropSheet instead of PropertySheet because the latter conflicts with
+// the Windows function of the same name.
+
+
+#include <windows.h>
+#include <prsht.h>
+
+#include "window.h"
+
+class PropertyPage;
+
+class PropSheet:public Window
+{
+  PropertyPage *PropertyPages[MAXPROPPAGES];
+  int NumPropPages;
+
+  HPROPSHEETPAGE *PageHandles;
+  HPROPSHEETPAGE *CreatePages ();
+
+public:
+    PropSheet ();
+    virtual ~ PropSheet ();
+
+  // Should be private and friended to PropertyPage
+  void SetHWNDFromPage (HWND h);
+
+  virtual bool Create (const Window * Parent = NULL,
+                      DWORD Style =
+                      WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_CLIPCHILDREN);
+
+  void AddPage (PropertyPage * p);
+
+  bool SetActivePage (int i);
+  bool SetActivePageByID (int resource_id);
+  void SetButtons (DWORD flags);
+  void PressButton (int button);
+};
+
+#endif // CINSTALL_PROPSHEET_H
This page took 0.028807 seconds and 5 git commands to generate.