This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
[setup PATCH] Comments 1
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Fri, 1 Aug 2003 15:47:45 +0100
- Subject: [setup PATCH] Comments 1
+2003-08-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
+
+ * proppage.h (Copyright): Update copyright dates.
+ (PropertyPage): Document OnNext and OnBack.
Index: proppage.h
===================================================================
RCS file: /home/max/cvsmirror/cygwin-apps-cvs/setup/proppage.h,v
retrieving revision 2.6
diff -u -p -r2.6 proppage.h
--- proppage.h 29 Jul 2003 14:14:06 -0000 2.6
+++ proppage.h 1 Aug 2003 14:44:49 -0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, Gary R. Van Sickle.
+ * Copyright (c) 2001, 2002, 2003 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
@@ -99,6 +99,12 @@ public:
virtual void OnDeactivate ()
{
};
+
+ // Overload these to perform special processing when the user hits
+ // "Next" or "Back". Return:
+ // 0 == Go to next/previous page in sequence.
+ // -1 == Prevent wizard from changing page.
+ // Resource ID == go to a specific page specified by the resource ID.
virtual long OnNext ()
{
return 0;
@@ -107,6 +113,7 @@ public:
{
return 0;
};
+
virtual bool OnFinish ()
{
return true;