aboutsummaryrefslogtreecommitdiffstats
path: root/README.Plugins
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-06 17:33:45 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-06 17:33:45 +0000
commit89942b18b768f34b7a17cc84b2ba47986784f32f (patch)
tree146acf66f6ed286ab18725662418d1a38c431164 /README.Plugins
parent5b3068696ac2f421878c9edeb9cc5ee3fc18af2a (diff)
downloadlcd4linux-89942b18b768f34b7a17cc84b2ba47986784f32f.tar.gz
[lcd4linux @ 2004-01-06 17:33:45 by reinelt]
Evaluator: functions with variable argument lists Evaluator: plugin_sample.c and README.Plugins added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@288 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'README.Plugins')
-rw-r--r--README.Plugins28
1 files changed, 28 insertions, 0 deletions
diff --git a/README.Plugins b/README.Plugins
new file mode 100644
index 0000000..57e460e
--- /dev/null
+++ b/README.Plugins
@@ -0,0 +1,28 @@
+#
+# $Id: README.Plugins,v 1.1 2004/01/06 17:33:45 reinelt Exp $
+#
+
+
+This file contains instructions for writing plugins to lcd4linux.
+
+- use the file 'plugin_sample.c' as a template
+- copy the file to 'plugin_yourname.c' and edit
+- replace the "$Id..." in the first line with "$Id: README.Plugins,v 1.1 2004/01/06 17:33:45 reinelt Exp $"
+- add a short description what this plugin is for
+- add your copyright notice (important: your name and email)
+- replace the "$Log..." with "$Log: README.Plugins,v $
+- replace the "$Log..." with "Revision 1.1 2004/01/06 17:33:45 reinelt
+- replace the "$Log..." with "
+- replace the "$Log..." with "Evaluator: functions with variable argument lists
+- replace the "$Log..." with "Evaluator: plugin_sample.c and README.Plugins added
+- replace the "$Log..." with ""
+- remove all Log lines until "*/"
+- do some documentation (I know that real programmers write programs, not documentation)
+- use one or more of the example functions as templates for your own functions
+- register your new functions to the init() function, delete the sample ones
+- edit 'plugin.c', add a prototype and the call to your plugin_init_* function
+- edit 'Makefile.am' and add your 'plugin_*.c' to lcd4linux_SOURCES
+- compile and test with interactive mode ('-i')
+- send me a patch (or check in if you have developer CVS access)
+- enjoy
+