From b228b720d9e456eddd89b3ec9ac6bd8880f4ecb7 Mon Sep 17 00:00:00 2001 From: robijn Date: Thu, 27 Dec 2001 23:30:36 +0000 Subject: [PATCH] Added uniform copyright notice to all files of the server core. --- server/client_data.c | 18 ++++++++++++----- server/client_data.h | 12 +++++++++++ server/client_functions.c | 26 +++++++++++++++--------- server/client_functions.h | 12 +++++++++++ server/client_menu.h | 12 +++++++++++ server/clients.c | 27 +++++++++++++++---------- server/clients.h | 12 +++++++++++ server/configfile.c | 10 +++++++--- server/configfile.h | 17 ++++++++++------ server/drivers.c | 12 +++++++++-- server/drivers.h | 33 ++++++++++++++++++++---------- server/input.c | 42 ++++++++++++++++++++++++--------------- server/input.h | 12 +++++++++++ server/main.c | 32 ++++++++++++++++++----------- server/main.h | 12 +++++++++++ server/menu.c | 34 +++++++++++++++++++------------ server/menu.h | 16 +++++++++++++-- server/menus.c | 26 +++++++++++++++--------- server/menus.h | 12 +++++++++++ server/parse.c | 24 ++++++++++++++-------- server/parse.h | 12 +++++++++++ server/render.c | 40 ++++++++++++++++++++++--------------- server/render.h | 12 +++++++++++ server/screen.c | 15 ++++++++++++++ server/screen.h | 12 +++++++++++ server/screenlist.c | 15 ++++++++++++++ server/screenlist.h | 12 +++++++++++ server/serverscreens.c | 15 ++++++++++++++ server/serverscreens.h | 12 +++++++++++ server/sock.c | 22 +++++++++++++++----- server/sock.h | 12 +++++++++++ server/widget.c | 15 ++++++++++++++ server/widget.h | 12 +++++++++++ 33 files changed, 480 insertions(+), 127 deletions(-) diff --git a/server/client_data.c b/server/client_data.c index e7705e9..ce4c8fb 100644 --- a/server/client_data.c +++ b/server/client_data.c @@ -1,9 +1,17 @@ /* - client_data.c - - Creates and destroys a client's data structures. These are mainly - its name, screen list, and menu list. - + * client_data.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Creates and destroys a client's data structures. These are mainly + * its name, screen list, and menu list. + * */ #include diff --git a/server/client_data.h b/server/client_data.h index 4ab2b6f..dd39eee 100644 --- a/server/client_data.h +++ b/server/client_data.h @@ -1,3 +1,15 @@ +/* + * client_data.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef CLIENT_DATA_H #define CLIENT_DATA_H diff --git a/server/client_functions.c b/server/client_functions.c index abf33b9..be7feee 100644 --- a/server/client_functions.c +++ b/server/client_functions.c @@ -1,13 +1,21 @@ /* - client_functions.c - - This contains definitions for all the functions which clients can run. - The functions here are to be called only from parse.c's interpreter. - - The client's available function set is defined here, as is the syntax - for each command. - -*/ + * client_functions.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * This contains definitions for all the functions which clients can run. + * The functions here are to be called only from parse.c's interpreter. + * + * The client's available function set is defined here, as is the syntax + * for each command. + * + */ #include #include diff --git a/server/client_functions.h b/server/client_functions.h index 960a7cf..5912ebb 100644 --- a/server/client_functions.h +++ b/server/client_functions.h @@ -1,3 +1,15 @@ +/* + * client_functions.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef CLIENT_FUNCTION_H #define CLIENT_FUNCTION_H diff --git a/server/client_menu.h b/server/client_menu.h index 4a74f0a..ba588f5 100644 --- a/server/client_menu.h +++ b/server/client_menu.h @@ -1,3 +1,15 @@ +/* + * client_menu.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef CLIENT_MENU_H #define CLIENT_MENU_H diff --git a/server/clients.c b/server/clients.c index b226825..813ccd1 100644 --- a/server/clients.c +++ b/server/clients.c @@ -1,14 +1,21 @@ /* - - clients.c - - Inits/shuts down client system, - creates/destroys individual clients, - enqueues/dequeues messages from clients, - and searches for clients in the list. - - :) - + * clients.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Inits/shuts down client system, + * creates/destroys individual clients, + * enqueues/dequeues messages from clients, + * and searches for clients in the list. + * + * :) + * */ #include diff --git a/server/clients.h b/server/clients.h index 5612e41..d1d9a1f 100644 --- a/server/clients.h +++ b/server/clients.h @@ -1,3 +1,15 @@ +/* + * client.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef CLIENTS_H #define CLIENTS_H diff --git a/server/configfile.c b/server/configfile.c index dc8ca76..7ed32d6 100644 --- a/server/configfile.c +++ b/server/configfile.c @@ -1,10 +1,14 @@ /* - * Defines routines to read ini-file-like files. + * configfile.c + * This file is part of LCDd, the lcdproc server. * * This file is released under the GNU General Public License. Refer to the - * COPYING file distributed with this package + * COPYING file distributed with this package. * - * (c) 2001 Joris Robijn + * Copyright (c) 2001, Joris Robijn + * + * + * Defines routines to read ini-file-like files. */ diff --git a/server/configfile.h b/server/configfile.h index 9fd52f9..194b4cc 100644 --- a/server/configfile.h +++ b/server/configfile.h @@ -1,15 +1,20 @@ -#ifndef CONFIGFILE_H -#define CONFIGFILE_H - /* - * Defines routines to read ini-file-like files. + * configfile.h + * This file is part of LCDd, the lcdproc server. * * This file is released under the GNU General Public License. Refer to the - * COPYING file distributed with this package + * COPYING file distributed with this package. + * + * Copyright (c) 2001, Joris Robijn + * + * + * Defines routines to read ini-file-like files. * - * (c) 2001 Joris Robijn */ +#ifndef CONFIGFILE_H +#define CONFIGFILE_H + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/server/drivers.c b/server/drivers.c index d03565a..0469eaa 100644 --- a/server/drivers.c +++ b/server/drivers.c @@ -1,5 +1,13 @@ -/* - * Driver loader +/* + * driver.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * * * This code does all driver handling, loading, initializing, unloading. * diff --git a/server/drivers.h b/server/drivers.h index aebdffa..c024e50 100644 --- a/server/drivers.h +++ b/server/drivers.h @@ -1,11 +1,22 @@ - -int -load_driver( char * name, char * filename, char * args ); -// returns: -// <0 error -// 0 ok, driver is an input driver only -// 1 ok, driver is an output driver -// 2 ok, driver is an output driver that needs to run in the foreground - -int -unload_all_drivers(); +/* + * drivers.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + +int +load_driver( char * name, char * filename, char * args ); +// returns: +// <0 error +// 0 ok, driver is an input driver only +// 1 ok, driver is an output driver +// 2 ok, driver is an output driver that needs to run in the foreground + +int +unload_all_drivers(); diff --git a/server/input.c b/server/input.c index 3f80a3b..ac6acd3 100644 --- a/server/input.c +++ b/server/input.c @@ -1,8 +1,18 @@ /* + * input.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Handles keypad (and other?) input from the user. + */ - input.c - - Handles keypad (and other?) input from the user. +/* Currently, the keys are as follows: @@ -34,11 +44,11 @@ // #define KEY_ENTER 'H' // These are the keys for my (possibly) broken LK202-25... -#define KEY_UP 'I' -#define KEY_DOWN 'F' -#define KEY_LEFT 'K' -#define KEY_RIGHT 'A' -#define KEY_F1 'N' +// #define KEY_UP 'I' +// #define KEY_DOWN 'F' +// #define KEY_LEFT 'K' +// #define KEY_RIGHT 'A' +// #define KEY_F1 'N' // #define KEY_F2 'M' // #define KEY_ENTER 'H' @@ -51,17 +61,17 @@ // But then, which driver is active and which screen takes which // input and... (sigh). // -#define PAUSE_KEY KEY_F1 -#define BACK_KEY KEY_LEFT -#define FORWARD_KEY KEY_RIGHT -#define MAIN_MENU_KEY KEY_DOWN +// #define PAUSE_KEY KEY_F1 +// #define BACK_KEY KEY_LEFT +// #define FORWARD_KEY KEY_RIGHT +// #define MAIN_MENU_KEY KEY_DOWN // This seems somewhat arbitrary, but it IS the original settings: // -// #define PAUSE_KEY 'A' -// #define BACK_KEY 'B' -// #define FORWARD_KEY 'C' -// #define MAIN_MENU_KEY 'D' +#define PAUSE_KEY 'A' +#define BACK_KEY 'B' +#define FORWARD_KEY 'C' +#define MAIN_MENU_KEY 'D' #include #include diff --git a/server/input.h b/server/input.h index d1f9a29..30bec7a 100644 --- a/server/input.h +++ b/server/input.h @@ -1,3 +1,15 @@ +/* + * input.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef INPUT_H #define INPUT_H diff --git a/server/main.c b/server/main.c index a1dcdbe..109ca08 100644 --- a/server/main.c +++ b/server/main.c @@ -1,16 +1,24 @@ /* - main.c for LCDd - - Contains main(), plus signal callback functions and a help screen. - - Program init, command-line handling, and the main loop are - implemented here. Also, minimal data about the program such as - the revision number. - - Some of this stuff should probably be move elsewhere eventually, - such as command-line handling and the main loop. main() is supposed - to be "dumb". - + * main.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Contains main(), plus signal callback functions and a help screen. + * + * Program init, command-line handling, and the main loop are + * implemented here. Also, minimal data about the program such as + * the revision number. + * + * Some of this stuff should probably be move elsewhere eventually, + * such as command-line handling and the main loop. main() is supposed + * to be "dumb". + * */ #include diff --git a/server/main.h b/server/main.h index bf3959c..04ad6b5 100644 --- a/server/main.h +++ b/server/main.h @@ -1,3 +1,15 @@ +/* + * main.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef MAIN_H #define MAIN_H diff --git a/server/menu.c b/server/menu.c index e749f88..2f48475 100644 --- a/server/menu.c +++ b/server/menu.c @@ -1,17 +1,25 @@ /* - menu.c - - Handles server-supplied menus defined by a table. Read menu.h for - more information. - - Menus are similar to "pull-down" menus, but have some extra features. - They can contain "normal" menu items, checkboxes, sliders, "movers", - etc.. - - I should probably find a more elegant way of doing this in order - to handle dynamically-changing menus such as the client list. Tcl/Tk - has neat ways to do it. Hmm... - + * menu.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Handles server-supplied menus defined by a table. Read menu.h for + * more information. + * + * Menus are similar to "pull-down" menus, but have some extra features. + * They can contain "normal" menu items, checkboxes, sliders, "movers", + * etc.. + * + * I should probably find a more elegant way of doing this in order + * to handle dynamically-changing menus such as the client list. Tcl/Tk + * has neat ways to do it. Hmm... + * */ #include diff --git a/server/menu.h b/server/menu.h index 6ad76ad..628d544 100644 --- a/server/menu.h +++ b/server/menu.h @@ -1,3 +1,15 @@ +/* + * menu.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef MENU_H #define MENU_H @@ -15,7 +27,7 @@ Each item has three values: When an item is picked, do_menu() decides what to do based on type. --"Menus" will recurse into the "data", assuming it is a child menu. ---"Function"-type items will have their function called. +--"Function"-type items will have their function called. --CheckBox-type items will have their function called with a "read" parameter to get an on/off signal, and called with a "set" signal when picked. @@ -73,7 +85,7 @@ int Contrast_func(int input) if(input == MENU_READ) return status; if(input == MENU_PLUS) increment_status(); // does something. if(input == MENU_MINUS) decrement_status();// does something. - return (status | MENU_OK); + return (status | MENU_OK); } ===================================================================== diff --git a/server/menus.c b/server/menus.c index 3ff5ee9..6f5d3a9 100644 --- a/server/menus.c +++ b/server/menus.c @@ -1,13 +1,21 @@ /* - menus.c - - Defines the default menus the server provides. Also includes the - plug-in functions attached to menu items... - - So far, all menus are static, and not dynamically generated. I'll - have to find a way to fix this, since many menu items will be dynamic. - (clients connected, screens available, etc...) - + * menus.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Defines the default menus the server provides. Also includes the + * plug-in functions attached to menu items... + * + * So far, all menus are static, and not dynamically generated. I'll + * have to find a way to fix this, since many menu items will be dynamic. + * (clients connected, screens available, etc...) + * */ #include diff --git a/server/menus.h b/server/menus.h index 820e17e..f55aaab 100644 --- a/server/menus.h +++ b/server/menus.h @@ -1,3 +1,15 @@ +/* + * menus.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef MENUS_H #define MENUS_H diff --git a/server/parse.c b/server/parse.c index 419bd2c..5633309 100644 --- a/server/parse.c +++ b/server/parse.c @@ -1,12 +1,20 @@ /* - parse.c - - Handles input commands from clients, by splitting strings into tokens - and passing arguments to the appropriate handler. - - It works much like a command line. Only the first token is used to - determine what function to call. - + * parse.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Handles input commands from clients, by splitting strings into tokens + * and passing arguments to the appropriate handler. + * + * It works much like a command line. Only the first token is used to + * determine what function to call. + * */ #include diff --git a/server/parse.h b/server/parse.h index df50bf6..ce36c6d 100644 --- a/server/parse.h +++ b/server/parse.h @@ -1,3 +1,15 @@ +/* + * parse.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef PARSE_H #define PARSE_H diff --git a/server/render.c b/server/render.c index b337cdd..504ff23 100644 --- a/server/render.c +++ b/server/render.c @@ -1,20 +1,28 @@ /* - render.c - - Draws screens on the LCD. - - This needs to be greatly expanded and redone for greater flexibility. - For example, it should support multiple screen sizes, more flexible - widgets, and multiple simultaneous screens. - - This will probably take a while to do. :( - - THIS FILE IS MESSY! Anyone care to rewrite it nicely? Please?? :) - - NOTE: (from David Douthitt) Multiple screen sizes? Multiple simultaneous - screens? Horrors of horrors... next thing you know it'll be making coffee... - Better believe it'll take a while to do... - + * render.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Draws screens on the LCD. + * + * This needs to be greatly expanded and redone for greater flexibility. + * For example, it should support multiple screen sizes, more flexible + * widgets, and multiple simultaneous screens. + * + * This will probably take a while to do. :( + * + * THIS FILE IS MESSY! Anyone care to rewrite it nicely? Please?? :) + * + * NOTE: (from David Douthitt) Multiple screen sizes? Multiple simultaneous + * screens? Horrors of horrors... next thing you know it'll be making coffee... + * Better believe it'll take a while to do... + * */ #include diff --git a/server/render.h b/server/render.h index 5e4cafe..f854139 100644 --- a/server/render.h +++ b/server/render.h @@ -1,3 +1,15 @@ +/* + * render.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef RENDER_H #define RENDER_H diff --git a/server/screen.c b/server/screen.c index 07efabe..be08c29 100644 --- a/server/screen.c +++ b/server/screen.c @@ -1,3 +1,18 @@ +/* + * screen.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Does screen management + * + */ + #include #include #include diff --git a/server/screen.h b/server/screen.h index e4eabf1..4713734 100644 --- a/server/screen.h +++ b/server/screen.h @@ -1,3 +1,15 @@ +/* + * screen.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef SCREEN_H #define SCREEN_H diff --git a/server/screenlist.c b/server/screenlist.c index c274af4..1d52657 100644 --- a/server/screenlist.c +++ b/server/screenlist.c @@ -1,3 +1,18 @@ +/* + * screenlist.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * All actions that can be performed on the list of screens + * + */ + #include #include diff --git a/server/screenlist.h b/server/screenlist.h index d38e28a..2541848 100644 --- a/server/screenlist.h +++ b/server/screenlist.h @@ -1,3 +1,15 @@ +/* + * screenlist.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef SCREENLIST_H #define SCREENLIST_H diff --git a/server/serverscreens.c b/server/serverscreens.c index 2fdc5d0..f63f4b1 100644 --- a/server/serverscreens.c +++ b/server/serverscreens.c @@ -1,3 +1,18 @@ +/* + * serverscreens.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Implements the serverscreens + * + */ + #include #include #include diff --git a/server/serverscreens.h b/server/serverscreens.h index 1f39083..0160e2f 100644 --- a/server/serverscreens.h +++ b/server/serverscreens.h @@ -1,3 +1,15 @@ +/* + * serverscreens.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef SRVSTATS_H #define SRVSTATS_H diff --git a/server/sock.c b/server/sock.c index 849cbe3..8745c9e 100644 --- a/server/sock.c +++ b/server/sock.c @@ -1,3 +1,20 @@ +/* + * sock.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * LCDproc sockets code... + * + * This is messy, and needs to be finished. + * + */ + #include #include #include @@ -23,11 +40,6 @@ extern char bind_addr[64]; extern int lcd_port; -/************************************************** - LCDproc sockets code... - - This is messy, and needs to be finished. -**************************************************/ fd_set active_fd_set, read_fd_set; int orig_sock; diff --git a/server/sock.h b/server/sock.h index 260dd86..af36390 100644 --- a/server/sock.h +++ b/server/sock.h @@ -1,3 +1,15 @@ +/* + * sock.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef SOCKETS_H #define SOCKETS_H diff --git a/server/widget.c b/server/widget.c index 1f032ed..60bc83b 100644 --- a/server/widget.c +++ b/server/widget.c @@ -1,3 +1,18 @@ +/* + * widget.c + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + * + * Does widget management + * + */ + #include #include #include diff --git a/server/widget.h b/server/widget.h index d9fdf60..d1f9f36 100644 --- a/server/widget.h +++ b/server/widget.h @@ -1,3 +1,15 @@ +/* + * widget.h + * This file is part of LCDd, the lcdproc server. + * + * This file is released under the GNU General Public License. Refer to the + * COPYING file distributed with this package. + * + * Copyright (c) 1999, William Ferrell, Scott Scriven + * 2001, Joris Robijn + * + */ + #ifndef WIDGET_H #define WIDGET_H