[mnet-devel] Re: [mnet-cvs]This is the beginning of a simple gtk-based applet that in...

Arno Waschk hamamatsu at gmx.de
Fri Jan 16 20:57:51 GMT 2004


hm, that is nice to see, but is there a particular reason not to try to 
use parts of what we have as a wxwindows gui in 0.6?

Cheers,
Arno

On Fri, 16 Jan 2004 11:35:18 -0800, Nefarious CodeMonkey 
<nejucomo at users.sourceforge.net> wrote:

> Update of /cvsroot/mnet/mnet_new/mnetlib/webui
> In directory sc8-pr-cvs1:/tmp/cvs-serv18526/mnetlib/webui
>
> Modified Files:
> 	cp2pc.py
> Log Message:
>
> This is the beginning of a simple gtk-based applet that initiates and
> monitors download progress using the cp2pc interface.  I haven't tested
> an actual download yet; caveat emptor.
>
>
>
>
> Index: cp2pc.py
> ===================================================================
> RCS file: /cvsroot/mnet/mnet_new/mnetlib/webui/cp2pc.py,v
> retrieving revision 1.24
> retrieving revision 1.25
> diff -u -d -r1.24 -r1.25
> --- cp2pc.py	1 Oct 2003 04:47:31 -0000	1.24
> +++ cp2pc.py	16 Jan 2004 19:35:15 -0000	1.25
> @@ -23,6 +23,9 @@
>
>  from mnetlib import underboss
>  from mnetlib.filesystem import publish, download
> +from mnetlib.version import versionstr
> +
> +from base32 import base32id
>
>  True = 1 == 1
>  False = not True
> @@ -217,6 +220,29 @@
>
>          pass
>
> +    # Neju's Extensions to the cp2pc standard.  If these work well
> +    # on my system, I'll commit them to Mnet.  If Mnet folks like them,
> +    # we should suggest adding the extensions to the cp2pc standard.
> +
> +    def xmlrpc_cp2pc__mnetext__getNodeInfo(self):
> +        """
> +        struct {
> +            string name;
> +            string version;
> +            string protocol;
> +            string about;
> +        } getNodeInfo();
> +
> +        getNodeInfo() returns a structure containing strings which
> +        describe the P2P Component.  This gives the user an idea of 
> which
> +        component(s) are being used by the cp2pc application component.
> +        """
> +        return {'name': 'Mnet',
> +                'version': versionstr,
> +                'protocol': 'Mnet',
> +                'about': "Node ID: %r\n" % 
> (base32id.abbrev(self.node.mtm.get_id()),),
> +                }
> +
>      # tristero interface
>      def xmlrpc_tristero__Add__add(self, database, statement):
>          if database != 'cp2pc:lad':
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> mnet-cvs mailing list
> mnet-cvs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mnet-cvs
>



-- 
www.arnowaschk.de


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list