"Cosmic Flo" <[EMAIL PROTECTED]> writes:

> How to write/integrate a module for Mandrake Control Center ?
> I have some bases on Perl and C.
> I would TRY to make a little experimental module for TV-out support.
> Thanks

you can based your code on one of the mcc module such as scannerdrake or
drakxtv wich are both small.
The main things are (look in on example):
$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/;
and
sub quit {  
    $::isEmbedded ? kill(USR1, $::CCPID) : $in->exit(0);
}       

In fact you have two choices :
- either you write a pure perl-gtk gui.
- either you use our gui API called interactive.

Then, edit mcc to add your module in both $exec_hash and @tree.
in cvs, module gi, you have some docs in docs (!).
if you want further info, just ask me.
-- 
Yves Duret
[EMAIL PROTECTED]
piouk toujours et meme apres !


Reply via email to