How to split a project in multiple files

"Mildred Ki'Lya" <[email protected]> Thu, 8 Dec 2011 16:47:27 +0100
Newsgroups gmane.comp.lang.io
Message-ID <CAHU8KxjsXDVGVdmfR5bShQ=3baX8DwDDGfnt5sDXKKgoD1+3aw@mail.gmail.com>
Hi,

I started writing a DBus client library (you can find it on github). This
is also my first project in Io, so I need to grasp a few things first.

I just noticed that all my objects are directly in the Lobby. My dBus
client is called "Lobby Client" instead of "Lobby DBus Client". This is the
same for all the other objects.

Until now, I was using the auto importer feature. That is, if you request
an object name to the lobby, it will import the file containing it. That
is, if I request "Lobby Client", the file Client.io will be imported. The
problem is that if I request "Lobby DBus Client", the file DBus.io will be
imported and not Client.io which now contains the sub-object.

Do you have an idea how I could structure my objects and files so it would
work?

Thank you,

Mildred