Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

licence.cpp

Go to the documentation of this file.
00001 /* 00002 * wxChecksums 00003 * Copyright (C) 2003-2004 Julien Couot 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License 00007 * as published by the Free Software Foundation; either version 2 00008 * of the License, or (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 */ 00019 00020 /** 00021 * \file licence.cpp 00022 * Licence texts. 00023 */ 00024 00025 00026 //--------------------------------------------------------------------------- 00027 // For compilers that support precompilation, includes "wx.h". 00028 #include <wx/wxprec.h> 00029 00030 #ifdef __BORLANDC__ 00031 #pragma hdrstop 00032 #endif 00033 00034 #ifndef WX_PRECOMP 00035 // Include your minimal set of headers here, or wx.h 00036 #include <wx/wx.h> 00037 #endif 00038 00039 #include "licence.hpp" 00040 00041 #include "compat.hpp" 00042 //--------------------------------------------------------------------------- 00043 00044 00045 /// The C++ standard namespace. 00046 using namespace std; 00047 00048 00049 /** 00050 * Gets the GPL's licence text. 00051 * 00052 * @return The GPL's licence text. 00053 */ 00054 wxString getGPLLicenceText() 00055 { 00056 wxString s = wxT(" GNU GENERAL PUBLIC LICENSE\n"); 00057 s += wxT(" Version 2, June 1991\n"); 00058 s += wxT("\n"); 00059 s += wxT(" Copyright (C) 1989, 1991 Free Software Foundation, Inc.\n"); 00060 s += wxT(" 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n"); 00061 s += wxT(" Everyone is permitted to copy and distribute verbatim copies\n"); 00062 s += wxT(" of this license document, but changing it is not allowed.\n"); 00063 s += wxT("\n"); 00064 s += wxT(" Preamble\n"); 00065 s += wxT("\n"); 00066 s += wxT(" The licenses for most software are designed to take away your\n"); 00067 s += wxT("freedom to share and change it. By contrast, the GNU General Public\n"); 00068 s += wxT("License is intended to guarantee your freedom to share and change free\n"); 00069 s += wxT("software--to make sure the software is free for all its users. This\n"); 00070 s += wxT("General Public License applies to most of the Free Software\n"); 00071 s += wxT("Foundation's software and to any other program whose authors commit to\n"); 00072 s += wxT("using it. (Some other Free Software Foundation software is covered by\n"); 00073 s += wxT("the GNU Library General Public License instead.) You can apply it to\n"); 00074 s += wxT("your programs, too.\n"); 00075 s += wxT("\n"); 00076 s += wxT(" When we speak of free software, we are referring to freedom, not\n"); 00077 s += wxT("price. Our General Public Licenses are designed to make sure that you\n"); 00078 s += wxT("have the freedom to distribute copies of free software (and charge for\n"); 00079 s += wxT("this service if you wish), that you receive source code or can get it\n"); 00080 s += wxT("if you want it, that you can change the software or use pieces of it\n"); 00081 s += wxT("in new free programs; and that you know you can do these things.\n"); 00082 s += wxT("\n"); 00083 s += wxT(" To protect your rights, we need to make restrictions that forbid\n"); 00084 s += wxT("anyone to deny you these rights or to ask you to surrender the rights.\n"); 00085 s += wxT("These restrictions translate to certain responsibilities for you if you\n"); 00086 s += wxT("distribute copies of the software, or if you modify it.\n"); 00087 s += wxT("\n"); 00088 s += wxT(" For example, if you distribute copies of such a program, whether\n"); 00089 s += wxT("gratis or for a fee, you must give the recipients all the rights that\n"); 00090 s += wxT("you have. You must make sure that they, too, receive or can get the\n"); 00091 s += wxT("source code. And you must show them these terms so they know their\n"); 00092 s += wxT("rights.\n"); 00093 s += wxT("\n"); 00094 s += wxT(" We protect your rights with two steps: (1) copyright the software, and\n"); 00095 s += wxT("(2) offer you this license which gives you legal permission to copy,\n"); 00096 s += wxT("distribute and/or modify the software.\n"); 00097 s += wxT("\n"); 00098 s += wxT(" Also, for each author's protection and ours, we want to make certain\n"); 00099 s += wxT("that everyone understands that there is no warranty for this free\n"); 00100 s += wxT("software. If the software is modified by someone else and passed on, we\n"); 00101 s += wxT("want its recipients to know that what they have is not the original, so\n"); 00102 s += wxT("that any problems introduced by others will not reflect on the original\n"); 00103 s += wxT("authors' reputations.\n"); 00104 s += wxT("\n"); 00105 s += wxT(" Finally, any free program is threatened constantly by software\n"); 00106 s += wxT("patents. We wish to avoid the danger that redistributors of a free\n"); 00107 s += wxT("program will individually obtain patent licenses, in effect making the\n"); 00108 s += wxT("program proprietary. To prevent this, we have made it clear that any\n"); 00109 s += wxT("patent must be licensed for everyone's free use or not licensed at all.\n"); 00110 s += wxT("\n"); 00111 s += wxT(" The precise terms and conditions for copying, distribution and\n"); 00112 s += wxT("modification follow.\n"); 00113 s += wxT(" \n"); 00114 s += wxT(" GNU GENERAL PUBLIC LICENSE\n"); 00115 s += wxT(" TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n"); 00116 s += wxT("\n"); 00117 s += wxT(" 0. This License applies to any program or other work which contains\n"); 00118 s += wxT("a notice placed by the copyright holder saying it may be distributed\n"); 00119 s += wxT("under the terms of this General Public License. The \"Program\", below,\n"); 00120 s += wxT("refers to any such program or work, and a \"work based on the Program\"\n"); 00121 s += wxT("means either the Program or any derivative work under copyright law:\n"); 00122 s += wxT("that is to say, a work containing the Program or a portion of it,\n"); 00123 s += wxT("either verbatim or with modifications and/or translated into another\n"); 00124 s += wxT("language. (Hereinafter, translation is included without limitation in\n"); 00125 s += wxT("the term \"modification\".) Each licensee is addressed as \"you\".\n"); 00126 s += wxT("\n"); 00127 s += wxT("Activities other than copying, distribution and modification are not\n"); 00128 s += wxT("covered by this License; they are outside its scope. The act of\n"); 00129 s += wxT("running the Program is not restricted, and the output from the Program\n"); 00130 s += wxT("is covered only if its contents constitute a work based on the\n"); 00131 s += wxT("Program (independent of having been made by running the Program).\n"); 00132 s += wxT("Whether that is true depends on what the Program does.\n"); 00133 s += wxT("\n"); 00134 s += wxT(" 1. You may copy and distribute verbatim copies of the Program's\n"); 00135 s += wxT("source code as you receive it, in any medium, provided that you\n"); 00136 s += wxT("conspicuously and appropriately publish on each copy an appropriate\n"); 00137 s += wxT("copyright notice and disclaimer of warranty; keep intact all the\n"); 00138 s += wxT("notices that refer to this License and to the absence of any warranty;\n"); 00139 s += wxT("and give any other recipients of the Program a copy of this License\n"); 00140 s += wxT("along with the Program.\n"); 00141 s += wxT("\n"); 00142 s += wxT("You may charge a fee for the physical act of transferring a copy, and\n"); 00143 s += wxT("you may at your option offer warranty protection in exchange for a fee.\n"); 00144 s += wxT("\n"); 00145 s += wxT(" 2. You may modify your copy or copies of the Program or any portion\n"); 00146 s += wxT("of it, thus forming a work based on the Program, and copy and\n"); 00147 s += wxT("distribute such modifications or work under the terms of Section 1\n"); 00148 s += wxT("above, provided that you also meet all of these conditions:\n"); 00149 s += wxT("\n"); 00150 s += wxT(" a) You must cause the modified files to carry prominent notices\n"); 00151 s += wxT(" stating that you changed the files and the date of any change.\n"); 00152 s += wxT("\n"); 00153 s += wxT(" b) You must cause any work that you distribute or publish, that in\n"); 00154 s += wxT(" whole or in part contains or is derived from the Program or any\n"); 00155 s += wxT(" part thereof, to be licensed as a whole at no charge to all third\n"); 00156 s += wxT(" parties under the terms of this License.\n"); 00157 s += wxT("\n"); 00158 s += wxT(" c) If the modified program normally reads commands interactively\n"); 00159 s += wxT(" when run, you must cause it, when started running for such\n"); 00160 s += wxT(" interactive use in the most ordinary way, to print or display an\n"); 00161 s += wxT(" announcement including an appropriate copyright notice and a\n"); 00162 s += wxT(" notice that there is no warranty (or else, saying that you provide\n"); 00163 s += wxT(" a warranty) and that users may redistribute the program under\n"); 00164 s += wxT(" these conditions, and telling the user how to view a copy of this\n"); 00165 s += wxT(" License. (Exception: if the Program itself is interactive but\n"); 00166 s += wxT(" does not normally print such an announcement, your work based on\n"); 00167 s += wxT(" the Program is not required to print an announcement.)\n"); 00168 s += wxT(" \n"); 00169 s += wxT("These requirements apply to the modified work as a whole. If\n"); 00170 s += wxT("identifiable sections of that work are not derived from the Program,\n"); 00171 s += wxT("and can be reasonably considered independent and separate works in\n"); 00172 s += wxT("themselves, then this License, and its terms, do not apply to those\n"); 00173 s += wxT("sections when you distribute them as separate works. But when you\n"); 00174 s += wxT("distribute the same sections as part of a whole which is a work based\n"); 00175 s += wxT("on the Program, the distribution of the whole must be on the terms of\n"); 00176 s += wxT("this License, whose permissions for other licensees extend to the\n"); 00177 s += wxT("entire whole, and thus to each and every part regardless of who wrote it.\n"); 00178 s += wxT("\n"); 00179 s += wxT("Thus, it is not the intent of this section to claim rights or contest\n"); 00180 s += wxT("your rights to work written entirely by you; rather, the intent is to\n"); 00181 s += wxT("exercise the right to control the distribution of derivative or\n"); 00182 s += wxT("collective works based on the Program.\n"); 00183 s += wxT("\n"); 00184 s += wxT("In addition, mere aggregation of another work not based on the Program\n"); 00185 s += wxT("with the Program (or with a work based on the Program) on a volume of\n"); 00186 s += wxT("a storage or distribution medium does not bring the other work under\n"); 00187 s += wxT("the scope of this License.\n"); 00188 s += wxT("\n"); 00189 s += wxT(" 3. You may copy and distribute the Program (or a work based on it,\n"); 00190 s += wxT("under Section 2) in object code or executable form under the terms of\n"); 00191 s += wxT("Sections 1 and 2 above provided that you also do one of the following:\n"); 00192 s += wxT("\n"); 00193 s += wxT(" a) Accompany it with the complete corresponding machine-readable\n"); 00194 s += wxT(" source code, which must be distributed under the terms of Sections\n"); 00195 s += wxT(" 1 and 2 above on a medium customarily used for software interchange; or,\n"); 00196 s += wxT("\n"); 00197 s += wxT(" b) Accompany it with a written offer, valid for at least three\n"); 00198 s += wxT(" years, to give any third party, for a charge no more than your\n"); 00199 s += wxT(" cost of physically performing source distribution, a complete\n"); 00200 s += wxT(" machine-readable copy of the corresponding source code, to be\n"); 00201 s += wxT(" distributed under the terms of Sections 1 and 2 above on a medium\n"); 00202 s += wxT(" customarily used for software interchange; or,\n"); 00203 s += wxT("\n"); 00204 s += wxT(" c) Accompany it with the information you received as to the offer\n"); 00205 s += wxT(" to distribute corresponding source code. (This alternative is\n"); 00206 s += wxT(" allowed only for noncommercial distribution and only if you\n"); 00207 s += wxT(" received the program in object code or executable form with such\n"); 00208 s += wxT(" an offer, in accord with Subsection b above.)\n"); 00209 s += wxT("\n"); 00210 s += wxT("The source code for a work means the preferred form of the work for\n"); 00211 s += wxT("making modifications to it. For an executable work, complete source\n"); 00212 s += wxT("code means all the source code for all modules it contains, plus any\n"); 00213 s += wxT("associated interface definition files, plus the scripts used to\n"); 00214 s += wxT("control compilation and installation of the executable. However, as a\n"); 00215 s += wxT("special exception, the source code distributed need not include\n"); 00216 s += wxT("anything that is normally distributed (in either source or binary\n"); 00217 s += wxT("form) with the major components (compiler, kernel, and so on) of the\n"); 00218 s += wxT("operating system on which the executable runs, unless that component\n"); 00219 s += wxT("itself accompanies the executable.\n"); 00220 s += wxT("\n"); 00221 s += wxT("If distribution of executable or object code is made by offering\n"); 00222 s += wxT("access to copy from a designated place, then offering equivalent\n"); 00223 s += wxT("access to copy the source code from the same place counts as\n"); 00224 s += wxT("distribution of the source code, even though third parties are not\n"); 00225 s += wxT("compelled to copy the source along with the object code.\n"); 00226 s += wxT(" \n"); 00227 s += wxT(" 4. You may not copy, modify, sublicense, or distribute the Program\n"); 00228 s += wxT("except as expressly provided under this License. Any attempt\n"); 00229 s += wxT("otherwise to copy, modify, sublicense or distribute the Program is\n"); 00230 s += wxT("void, and will automatically terminate your rights under this License.\n"); 00231 s += wxT("However, parties who have received copies, or rights, from you under\n"); 00232 s += wxT("this License will not have their licenses terminated so long as such\n"); 00233 s += wxT("parties remain in full compliance.\n"); 00234 s += wxT("\n"); 00235 s += wxT(" 5. You are not required to accept this License, since you have not\n"); 00236 s += wxT("signed it. However, nothing else grants you permission to modify or\n"); 00237 s += wxT("distribute the Program or its derivative works. These actions are\n"); 00238 s += wxT("prohibited by law if you do not accept this License. Therefore, by\n"); 00239 s += wxT("modifying or distributing the Program (or any work based on the\n"); 00240 s += wxT("Program), you indicate your acceptance of this License to do so, and\n"); 00241 s += wxT("all its terms and conditions for copying, distributing or modifying\n"); 00242 s += wxT("the Program or works based on it.\n"); 00243 s += wxT("\n"); 00244 s += wxT(" 6. Each time you redistribute the Program (or any work based on the\n"); 00245 s += wxT("Program), the recipient automatically receives a license from the\n"); 00246 s += wxT("original licensor to copy, distribute or modify the Program subject to\n"); 00247 s += wxT("these terms and conditions. You may not impose any further\n"); 00248 s += wxT("restrictions on the recipients' exercise of the rights granted herein.\n"); 00249 s += wxT("You are not responsible for enforcing compliance by third parties to\n"); 00250 s += wxT("this License.\n"); 00251 s += wxT("\n"); 00252 s += wxT(" 7. If, as a consequence of a court judgment or allegation of patent\n"); 00253 s += wxT("infringement or for any other reason (not limited to patent issues),\n"); 00254 s += wxT("conditions are imposed on you (whether by court order, agreement or\n"); 00255 s += wxT("otherwise) that contradict the conditions of this License, they do not\n"); 00256 s += wxT("excuse you from the conditions of this License. If you cannot\n"); 00257 s += wxT("distribute so as to satisfy simultaneously your obligations under this\n"); 00258 s += wxT("License and any other pertinent obligations, then as a consequence you\n"); 00259 s += wxT("may not distribute the Program at all. For example, if a patent\n"); 00260 s += wxT("license would not permit royalty-free redistribution of the Program by\n"); 00261 s += wxT("all those who receive copies directly or indirectly through you, then\n"); 00262 s += wxT("the only way you could satisfy both it and this License would be to\n"); 00263 s += wxT("refrain entirely from distribution of the Program.\n"); 00264 s += wxT("\n"); 00265 s += wxT("If any portion of this section is held invalid or unenforceable under\n"); 00266 s += wxT("any particular circumstance, the balance of the section is intended to\n"); 00267 s += wxT("apply and the section as a whole is intended to apply in other\n"); 00268 s += wxT("circumstances.\n"); 00269 s += wxT("\n"); 00270 s += wxT("It is not the purpose of this section to induce you to infringe any\n"); 00271 s += wxT("patents or other property right claims or to contest validity of any\n"); 00272 s += wxT("such claims; this section has the sole purpose of protecting the\n"); 00273 s += wxT("integrity of the free software distribution system, which is\n"); 00274 s += wxT("implemented by public license practices. Many people have made\n"); 00275 s += wxT("generous contributions to the wide range of software distributed\n"); 00276 s += wxT("through that system in reliance on consistent application of that\n"); 00277 s += wxT("system; it is up to the author/donor to decide if he or she is willing\n"); 00278 s += wxT("to distribute software through any other system and a licensee cannot\n"); 00279 s += wxT("impose that choice.\n"); 00280 s += wxT("\n"); 00281 s += wxT("This section is intended to make thoroughly clear what is believed to\n"); 00282 s += wxT("be a consequence of the rest of this License.\n"); 00283 s += wxT(" \n"); 00284 s += wxT(" 8. If the distribution and/or use of the Program is restricted in\n"); 00285 s += wxT("certain countries either by patents or by copyrighted interfaces, the\n"); 00286 s += wxT("original copyright holder who places the Program under this License\n"); 00287 s += wxT("may add an explicit geographical distribution limitation excluding\n"); 00288 s += wxT("those countries, so that distribution is permitted only in or among\n"); 00289 s += wxT("countries not thus excluded. In such case, this License incorporates\n"); 00290 s += wxT("the limitation as if written in the body of this License.\n"); 00291 s += wxT("\n"); 00292 s += wxT(" 9. The Free Software Foundation may publish revised and/or new versions\n"); 00293 s += wxT("of the General Public License from time to time. Such new versions will\n"); 00294 s += wxT("be similar in spirit to the present version, but may differ in detail to\n"); 00295 s += wxT("address new problems or concerns.\n"); 00296 s += wxT("\n"); 00297 s += wxT("Each version is given a distinguishing version number. If the Program\n"); 00298 s += wxT("specifies a version number of this License which applies to it and \"any\n"); 00299 s += wxT("later version\", you have the option of following the terms and conditions\n"); 00300 s += wxT("either of that version or of any later version published by the Free\n"); 00301 s += wxT("Software Foundation. If the Program does not specify a version number of\n"); 00302 s += wxT("this License, you may choose any version ever published by the Free Software\n"); 00303 s += wxT("Foundation.\n"); 00304 s += wxT("\n"); 00305 s += wxT(" 10. If you wish to incorporate parts of the Program into other free\n"); 00306 s += wxT("programs whose distribution conditions are different, write to the author\n"); 00307 s += wxT("to ask for permission. For software which is copyrighted by the Free\n"); 00308 s += wxT("Software Foundation, write to the Free Software Foundation; we sometimes\n"); 00309 s += wxT("make exceptions for this. Our decision will be guided by the two goals\n"); 00310 s += wxT("of preserving the free status of all derivatives of our free software and\n"); 00311 s += wxT("of promoting the sharing and reuse of software generally.\n"); 00312 s += wxT("\n"); 00313 s += wxT(" NO WARRANTY\n"); 00314 s += wxT("\n"); 00315 s += wxT(" 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\n"); 00316 s += wxT("FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\n"); 00317 s += wxT("OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\n"); 00318 s += wxT("PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\n"); 00319 s += wxT("OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n"); 00320 s += wxT("MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\n"); 00321 s += wxT("TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\n"); 00322 s += wxT("PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\n"); 00323 s += wxT("REPAIR OR CORRECTION.\n"); 00324 s += wxT("\n"); 00325 s += wxT(" 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\n"); 00326 s += wxT("WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\n"); 00327 s += wxT("REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\n"); 00328 s += wxT("INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\n"); 00329 s += wxT("OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\n"); 00330 s += wxT("TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\n"); 00331 s += wxT("YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\n"); 00332 s += wxT("PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\n"); 00333 s += wxT("POSSIBILITY OF SUCH DAMAGES.\n"); 00334 s += wxT("\n"); 00335 s += wxT(" END OF TERMS AND CONDITIONS\n"); 00336 s += wxT(" \n"); 00337 s += wxT(" How to Apply These Terms to Your New Programs\n"); 00338 s += wxT("\n"); 00339 s += wxT(" If you develop a new program, and you want it to be of the greatest\n"); 00340 s += wxT("possible use to the public, the best way to achieve this is to make it\n"); 00341 s += wxT("free software which everyone can redistribute and change under these terms.\n"); 00342 s += wxT("\n"); 00343 s += wxT(" To do so, attach the following notices to the program. It is safest\n"); 00344 s += wxT("to attach them to the start of each source file to most effectively\n"); 00345 s += wxT("convey the exclusion of warranty; and each file should have at least\n"); 00346 s += wxT("the \"copyright\" line and a pointer to where the full notice is found.\n"); 00347 s += wxT("\n"); 00348 s += wxT(" <one line to give the program's name and a brief idea of what it does.>\n"); 00349 s += wxT(" Copyright (C) <year> <name of author>\n"); 00350 s += wxT("\n"); 00351 s += wxT(" This program is free software; you can redistribute it and/or modify\n"); 00352 s += wxT(" it under the terms of the GNU General Public License as published by\n"); 00353 s += wxT(" the Free Software Foundation; either version 2 of the License, or\n"); 00354 s += wxT(" (at your option) any later version.\n"); 00355 s += wxT("\n"); 00356 s += wxT(" This program is distributed in the hope that it will be useful,\n"); 00357 s += wxT(" but WITHOUT ANY WARRANTY; without even the implied warranty of\n"); 00358 s += wxT(" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"); 00359 s += wxT(" GNU General Public License for more details.\n"); 00360 s += wxT("\n"); 00361 s += wxT(" You should have received a copy of the GNU General Public License\n"); 00362 s += wxT(" along with this program; if not, write to the Free Software\n"); 00363 s += wxT(" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n"); 00364 s += wxT("\n"); 00365 s += wxT("\n"); 00366 s += wxT("Also add information on how to contact you by electronic and paper mail.\n"); 00367 s += wxT("\n"); 00368 s += wxT("If the program is interactive, make it output a short notice like this\n"); 00369 s += wxT("when it starts in an interactive mode:\n"); 00370 s += wxT("\n"); 00371 s += wxT(" Gnomovision version 69, Copyright (C) year name of author\n"); 00372 s += wxT(" Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n"); 00373 s += wxT(" This is free software, and you are welcome to redistribute it\n"); 00374 s += wxT(" under certain conditions; type `show c' for details.\n"); 00375 s += wxT("\n"); 00376 s += wxT("The hypothetical commands `show w' and `show c' should show the appropriate\n"); 00377 s += wxT("parts of the General Public License. Of course, the commands you use may\n"); 00378 s += wxT("be called something other than `show w' and `show c'; they could even be\n"); 00379 s += wxT("mouse-clicks or menu items--whatever suits your program.\n"); 00380 s += wxT("\n"); 00381 s += wxT("You should also get your employer (if you work as a programmer) or your\n"); 00382 s += wxT("school, if any, to sign a \"copyright disclaimer\" for the program, if\n"); 00383 s += wxT("necessary. Here is a sample; alter the names:\n"); 00384 s += wxT("\n"); 00385 s += wxT(" Yoyodyne, Inc., hereby disclaims all copyright interest in the program\n"); 00386 s += wxT(" `Gnomovision' (which makes passes at compilers) written by James Hacker.\n"); 00387 s += wxT("\n"); 00388 s += wxT(" <signature of Ty Coon>, 1 April 1989\n"); 00389 s += wxT(" Ty Coon, President of Vice\n"); 00390 s += wxT("\n"); 00391 s += wxT("This General Public License does not permit incorporating your program into\n"); 00392 s += wxT("proprietary programs. If your program is a subroutine library, you may\n"); 00393 s += wxT("consider it more useful to permit linking proprietary applications with the\n"); 00394 s += wxT("library. If this is what you want to do, use the GNU Library General\n"); 00395 s += wxT("Public License instead of this License."); 00396 00397 return s; 00398 } 00399 //---------------------------------------------------------------------------

Generated on Sun May 30 13:37:45 2004 for wxChecksums by doxygen 1.3.7