AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Eure Datei Header

Ein Thema von Luckie · begonnen am 26. Mai 2006 · letzter Beitrag vom 30. Mai 2006
 
Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#1

Eure Datei Header

  Alt 26. Mai 2006, 04:09
Ich wüßte mal gerne, wie eure Datei-Header aussehen. Also meiner ist eigentlich ständigen Änderungen unterworfen:

Diesen habe ich lange Zeit verwendet:
Delphi-Quellcode:
(*======================================================================*
| Project  :                                                          |
| Unit    : MpuTools.pas                                              |
|                                                                      |
| Notes    : Contains helper functions for programming without the VCL |
|                                                                      |
|                                                                      |
| Copyright (c) 2005, 2006 Michael Puff (MPu)                          |
| Url      : [url]http://www.michael-puff.de[/url]                                |
| Mail    : [email]mpuff@michael-puff.de[/email]                                    |
|                                                                      |
| Authors:                                                            |
| Manuel Pöter (MPö)                                                  |
| Url      : [url]http://www.manuel-poeter.de[/url]                              |
| Mail    : [email]motzi@manuel-poeter.de[/email]                                    |
| Nico Bendlin (NBe)                                                  |
| Url      : [url]http://www.bendlins.de/nico[/url]                              |
| Mail    : -                                                        |
|                                                                      |
| Version  Date        By    Description                              |
| -------  ----------  ----  ------------------------------------------|
| 1.0      2005-07-08  MPu  First release                            |
| 1.1      2005-12-09  NBe  LinkerTimeStamp                          |
| 1.2      2006-03-09  MPö  Added some Unicode functions              |
|                                                                      |
*======================================================================*)
Oder ein ganz alter:
Delphi-Quellcode:
{************************************************************}
{                                                            }
{                   ExifReader - Version 1.1                 }
{                                                            }
{               Copyright (c) 2004 Michael Puff              }
{                                                            }
{  When I die I want 'Hello, world' carved on my headstone.  }
{                                                            }
{************************************************************}
Zuir Zeit finde ich den oberen aber etwas lang und die History wurde auch nicht immer gepflegt, so dass sie eigentlich nutzlos wurde.
Ich habe mich gerade für einen etwas schlankeren Header entschieden, den Microsoft so ähnlich auch in seinen Includedateien nutzt:

Delphi-Quellcode:
(******************************************************************************
*                                                                            *
*  NetAPI -- NetAPI function declarations                                    *
*                                                                            *
*  Copyright (c) 2006 Michael Puff  [url]http://www.michael-puff.de[/url]              *
*                                                                            *
******************************************************************************)
Alternativ mit der Copyrigth Notic da drunter:
Delphi-Quellcode:
 (*****************************************************************************
*                                                                            *
*                        COPYRIGHT NOTICE                                  *
*                                                                            *
*  Copyright (c) 2001-2006, Michael Puff ["copyright holder(s)"]            *
*  All rights reserved.                                                      *
*                                                                            *
*  Redistribution and use in source and binary forms, with or without        *
*  modification, are permitted provided that the following conditions        *
*  are met:                                                                  *
*                                                                            *
*  1. Redistributions of source code must retain the above copyright        *
*    notice, this list of conditions and the following disclaimer.          *
*  2. Redistributions in binary form must reproduce the above copyright      *
*    notice, this list of conditions and the following disclaimer in        *
*    the documentation and/or other materials provided with the            *
*    distribution.                                                          *
*  3. The name(s) of the copyright holder(s) may not be used to endorse      *
*    or promote products derived from this software without specific        *
*    prior written permission.                                              *
*                                                                            *
*  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS      *
*  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT        *
*  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS        *
*  FORA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE            *
*  REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,              *
*  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,      *
*  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;          *
*  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER          *
*  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT        *
*  LIABILITY, OR TORT INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY      *
*  WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE              *
*  POSSIBILITY OF SUCH DAMAGE.                                              *
*                                                                            *
******************************************************************************)
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:04 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz