Changeset 784 in kBuild for trunk/VSlickMacros/kdev.e
- Timestamp:
- Jan 24, 2007 10:20:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VSlickMacros/kdev.e
r323 r784 3 3 * Visual SlickEdit Documentation Macros. 4 4 * 5 * Copyright (c) 1999-200 4 knut st. osmundsen <bird@anduin.net>5 * Copyright (c) 1999-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 6 6 * 7 7 * … … 91 91 static _str skUserInitials = "kso"; 92 92 static _str skUserName = "knut st. osmundsen"; 93 static _str skUserEmail = "bird @innotek.de";93 static _str skUserEmail = "bird[email protected]"; 94 94 95 95 … … 168 168 * @param sExt The extension to lookup defaults to the current one. 169 169 * @param sLexer The lexer to lookup defaults to the current one. 170 * @author knut st. osmundsen ([email protected])171 170 * @remark This should be exported from box.e, but unfortunately it isn't. 172 171 */ … … 341 340 * @param fRight If clear left comment string - default. 342 341 * If set right comment string. 343 * @author knut st. osmundsen ([email protected])344 342 */ 345 343 static _str k_comment(boolean fRight = false) … … 1254 1252 1255 1253 k_javadoc_box_start('@file'); 1256 k_javadoc_box_line(); 1257 iCursorLine = p_RLine; 1258 k_javadoc_box_line(); 1259 k_javadoc_box_line(); 1254 if (skLicense == 'VirtualBox') 1255 { 1256 iCursorLine = p_RLine; 1257 k_javadoc_box_line(); 1258 k_javadoc_box_end(); 1259 _insert_text("\n"); 1260 _insert_text(k_comment() "\n"); 1261 } 1262 else 1263 { 1264 k_javadoc_box_line(); 1265 iCursorLine = p_RLine; 1266 k_javadoc_box_line(); 1267 k_javadoc_box_line(); 1268 } 1260 1269 1261 1270 if (skLicense == 'Confidential') … … 1267 1276 if (skCompany != '') 1268 1277 { 1269 k_javadoc_box_line('Copyright (c) ' k_year() ' ' skCompany); 1270 k_javadoc_box_line(); 1271 k_javadoc_box_line('Author: ' skUserName' <' skUserEmail '>'); 1278 if (skLicense == 'VirtualBox') 1279 k_javadoc_box_line('Copyright (c) ' k_year() ' ' skCompany); 1280 else 1281 { 1282 k_javadoc_box_line('Copyright (c) ' k_year() ' ' skCompany); 1283 k_javadoc_box_line(); 1284 k_javadoc_box_line('Author: ' skUserName' <' skUserEmail '>'); 1285 } 1272 1286 } 1273 1287 else … … 1332 1346 case 'Confidential': 1333 1347 k_javadoc_box_line('All Rights Reserved'); 1348 break; 1349 1350 case 'VirtualBox': 1351 k_javadoc_box_line(); 1352 k_javadoc_box_line('This file is part of VirtualBox Open Source Edition (OSE), as'); 1353 k_javadoc_box_line('available from http://www.virtualbox.org. This file is free software;'); 1354 k_javadoc_box_line('you can redistribute it and/or modify it under the terms of the GNU'); 1355 k_javadoc_box_line('General Public License as published by the Free Software Foundation,'); 1356 k_javadoc_box_line('in version 2 as it comes in the "COPYING" file of the VirtualBox OSE'); 1357 k_javadoc_box_line('distribution. VirtualBox OSE is distributed in the hope that it will'); 1358 k_javadoc_box_line('be useful, but WITHOUT ANY WARRANTY of any kind.'); 1359 k_javadoc_box_line(''); 1360 k_javadoc_box_line('If you received this file as part of a commercial VirtualBox'); 1361 k_javadoc_box_line('distribution, then only the terms of your commercial VirtualBox'); 1362 k_javadoc_box_line('license agreement apply instead of the previous paragraph.'); 1334 1363 break; 1335 1364 … … 2873 2902 rc = _menu_insert(mhLic, -1, MF_ENABLED | MF_UNCHECKED, "&GPL", "k_menu_license GPL", "GPL"); 2874 2903 rc = _menu_insert(mhLic, -1, MF_ENABLED | MF_UNCHECKED, "&LGPL", "k_menu_license LGPL", "LGPL"); 2904 rc = _menu_insert(mhLic, -1, MF_ENABLED | MF_UNCHECKED, "&VirtualBox", "k_menu_license VirtualBox", "VirtualBox"); 2875 2905 rc = _menu_insert(mhLic, -1, MF_ENABLED | MF_UNCHECKED, "&Confidential", "k_menu_license Confidential", "Confidential"); 2876 2906 … … 2887 2917 rc = _menu_insert(mhPre, -1, MF_ENABLED, "Linux Kernel","k_menu_preset linux, GPL, Opt1Ind4,,Linux", "linux"); 2888 2918 rc = _menu_insert(mhPre, -1, MF_ENABLED, "The Bird", "k_menu_preset javadoc, GPL, Opt2Ind4", "bird"); 2889 rc = _menu_insert(mhPre, -1, MF_ENABLED, "Win32k", "k_menu_preset javadoc, GPL, Opt2Ind4,, Win32k", "Win32k"); 2890 rc = _menu_insert(mhPre, -1, MF_ENABLED, "kKrnlLib", "k_menu_preset javadoc, GPL, Opt2Ind4,, kKrnlLib", "kKrnlLib"); 2891 rc = _menu_insert(mhPre, -1, MF_ENABLED, "kLib", "k_menu_preset javadoc, GPL, Opt2Ind4,, kLib", "kLib"); 2919 rc = _menu_insert(mhPre, -1, MF_ENABLED, "kLIBC", "k_menu_preset javadoc, GPL, Opt2Ind4,, kLIBC", "kLIBC"); 2892 2920 rc = _menu_insert(mhPre, -1, MF_ENABLED, "kBuild", "k_menu_preset javadoc, GPL, Opt2Ind4,, kBuild", "kBuild"); 2893 rc = _menu_insert(mhPre, -1, MF_ENABLED, "Inno tek", "k_menu_preset javadoc, Confidential, Opt2Ind4, InnoTek Systemberatung GmbH", "Innotek");2894 rc = _menu_insert(mhPre, -1, MF_ENABLED, "V PC/2", "k_menu_preset javadoc, Confidential, Opt2Ind4, InnoTek Systemberatung GmbH, VPC/2", "VPC2");2921 rc = _menu_insert(mhPre, -1, MF_ENABLED, "InnoTek", "k_menu_preset javadoc, Confidential, Opt2Ind4, InnoTek Systemberatung GmbH", "InnoTek"); 2922 rc = _menu_insert(mhPre, -1, MF_ENABLED, "VirtualBox", "k_menu_preset javadoc, VirtualBox, Opt2Ind4, InnoTek Systemberatung GmbH", "InnoTek"); 2895 2923 2896 2924 k_menu_doc_style();
Note:
See TracChangeset
for help on using the changeset viewer.