Difference between revisions of "Datagrid Plugin"
Line 3: | Line 3: | ||
== How to create a datagrid generator == | == How to create a datagrid generator == | ||
+ | 1. Add a new record in Datagrid table from pluto_main database. | ||
+ | |||
+ | 2. Then you'll have to use our sql2cpp tool to regenerates our database wrapper projects (pluto_main, pluto_media, etc). To confirm that, go to pluto_main/Define_Database.h and scroll down, searching for the record you've just added. A new constant should be define that. Then commit that header. | ||
+ | Note: It is recommended to add that record on our main server rather that on you local server. If you choose the second solution, you'll need to use sqlCVS in order to synchronize you database with our database. | ||
+ | |||
+ | 3. Once this step is done, you can go ahead and choose the plugin which handles better the type of datagrid you want to create. Let's say you want to display a list with file from the harddrive; in this case you'll might want to choose File_Grids_Plugin. If it's related you some infrared stuff, Infrared_Plugin you'll be you choise. If the datagrid you want to create doesn't seem to match any plugin, General_Info_Plugin is the best choise. | ||
+ | |||
== How to register a datagrid generator == | == How to register a datagrid generator == | ||
== How to use a datagrid in Orbiter == | == How to use a datagrid in Orbiter == |
Revision as of 10:34, 23 June 2006
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto. |
How to create a datagrid generator
1. Add a new record in Datagrid table from pluto_main database.
2. Then you'll have to use our sql2cpp tool to regenerates our database wrapper projects (pluto_main, pluto_media, etc). To confirm that, go to pluto_main/Define_Database.h and scroll down, searching for the record you've just added. A new constant should be define that. Then commit that header. Note: It is recommended to add that record on our main server rather that on you local server. If you choose the second solution, you'll need to use sqlCVS in order to synchronize you database with our database.
3. Once this step is done, you can go ahead and choose the plugin which handles better the type of datagrid you want to create. Let's say you want to display a list with file from the harddrive; in this case you'll might want to choose File_Grids_Plugin. If it's related you some infrared stuff, Infrared_Plugin you'll be you choise. If the datagrid you want to create doesn't seem to match any plugin, General_Info_Plugin is the best choise.