/[gentoo-projects]/portage-utils/README
Gentoo

Diff of /portage-utils/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
25- Adding applets is easy using the q framework. 25- Adding applets is easy using the q framework.
26cp template.c qmyapplet.c (all applets use the prefix of the letter 'q') 26cp template.c qmyapplet.c (all applets use the prefix of the letter 'q')
27edit applets.h add your prototype, applet definition to the enum then 27edit applets.h add your prototype, applet definition to the enum then
28incr LAST_APPLET. Scroll down the typedef for applets[] and add your 28incr LAST_APPLET. Scroll down the typedef for applets[] and add your
29applet name following the existing syntax. Please try to keep applet 29applet name following the existing syntax. Please try to keep applet
30names under 8 chars. 30names under 8 chars. Finally, edit main.c, scroll to the bottom, and
31add your applet to the #include list.
31 32
32When and where you can please try to use an existing applet and extend 33When and where you can please try to use an existing applet and extend
33on it's functionality by adding more options vs adding a bunch of new 34on it's functionality by adding more options vs adding a bunch of new
34little applets. 35little applets.

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20