Marble/FileManagement

    From KDE TechBase
    Revision as of 09:46, 15 August 2009 by Tgridel (talk | contribs) (Created page with 'Here are some various ideas to have some control on the data we want to display on marble from files: The file loading from a user point of view happens in {{class|PlacemarkMana...')
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    Here are some various ideas to have some control on the data we want to display on marble from files:

    The file loading from a user point of view happens in Expression error: Unrecognized word "x". (already described in Placemark)

    My ideas are to separate the file loading within PlacemarkManager from the management of placemarks per se. This means that the filling of the PlacemarkModel will be done in PlacemarkManager, while the current PlacemarkLoader threading would be used for file reading. (The cache binary format could then also be used for other parsings maybe)

    The role of a FileManager would be

    • support the various file formats thanks to Expression error: Unrecognized word "x". and use the parsers quite exclusively from here.
    • use threading support similar to what Expression error: Unrecognized word "x". does.
    • provide the results of those parsing to models through Expression error: Unrecognized word "x". so that plugins can have easy access to data.
    • work on a binding between the Expression error: Unrecognized word "x". and those Expression error: Unrecognized word "x"..