VirtualBox

Changeset 784 in kBuild for trunk/VSlickMacros/kdev.e


Ignore:
Timestamp:
Jan 24, 2007 10:20:31 PM (18 years ago)
Author:
bird
Message:

Added VirtualBox license. Removed some obsolete presets and added a few new ones.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VSlickMacros/kdev.e

    r323 r784  
    33 * Visual SlickEdit Documentation Macros.
    44 *
    5  * Copyright (c) 1999-2004 knut st. osmundsen <bird@anduin.net>
     5 * Copyright (c) 1999-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net>
    66 *
    77 *
     
    9191static _str skUserInitials  = "kso";
    9292static _str skUserName      = "knut st. osmundsen";
    93 static _str skUserEmail     = "bird@innotek.de";
     93static _str skUserEmail     = "bird[email protected]";
    9494
    9595
     
    168168 * @param   sExt        The extension to lookup defaults to the current one.
    169169 * @param   sLexer      The lexer to lookup defaults to the current one.
    170  * @author  knut st. osmundsen ([email protected])
    171170 * @remark  This should be exported from box.e, but unfortunately it isn't.
    172171 */
     
    341340 * @param   fRight  If clear left comment string - default.
    342341 *                  If set right comment string.
    343  * @author  knut st. osmundsen ([email protected])
    344342 */
    345343static _str k_comment(boolean fRight = false)
     
    12541252
    12551253    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    }
    12601269
    12611270    if (skLicense == 'Confidential')
     
    12671276    if (skCompany != '')
    12681277    {
    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        }
    12721286    }
    12731287    else
     
    13321346        case 'Confidential':
    13331347            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.');
    13341363            break;
    13351364
     
    28732902    rc   = _menu_insert(mhLic,   -1, MF_ENABLED | MF_UNCHECKED, "&GPL",                 "k_menu_license GPL",           "GPL");
    28742903    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");
    28752905    rc   = _menu_insert(mhLic,   -1, MF_ENABLED | MF_UNCHECKED, "&Confidential",        "k_menu_license Confidential",  "Confidential");
    28762906
     
    28872917    rc   = _menu_insert(mhPre,   -1, MF_ENABLED, "Linux Kernel","k_menu_preset linux, GPL, Opt1Ind4,,Linux",            "linux");
    28882918    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");
    28922920    rc   = _menu_insert(mhPre,   -1, MF_ENABLED, "kBuild",      "k_menu_preset javadoc, GPL, Opt2Ind4,, kBuild",        "kBuild");
    2893     rc   = _menu_insert(mhPre,   -1, MF_ENABLED, "Innotek",     "k_menu_preset javadoc, Confidential, Opt2Ind4, InnoTek Systemberatung GmbH",           "Innotek");
    2894     rc   = _menu_insert(mhPre,   -1, MF_ENABLED, "VPC/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");
    28952923
    28962924    k_menu_doc_style();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette