linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #08393
[Bug 560573] Re: Wishlist: Possibility to import/export hub favorites
The above patch breaks compatibility as is, so the version number for
that struct would have to change at least, however, the nifty thing
about C structs is that they are open ended so if the function pointer
is added at the tail end of the struct then binary compatibility doesn't
have to be broken for older plugins.
Also worth to note that considering reloading settings can take
significant amount of time the load calls should be queued and ran
outside the API call itseld and then plugins should be notified when the
reload has actually happened. This would need a token to be assigned to
each request so individual plugins can track which response corresponds
their own reload request or have a callback bound when making a request.
Out of the two approaches the one with separate event for when reload
happens is more flexible because then a plugin (that did not necessarily
make the request itself) can react to it if it needs to load some
arbitrary configuration files or otherwise react to this operation.
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/560573
Title:
Wishlist: Possibility to import/export hub favorites
Status in DC++:
Confirmed
Bug description:
Well... I am not sure whether I should post such an idea here, but I
didn't really know where else.
It occured to me that it would be brilliant if you could import/export hub favorites and maybe even user favorites. So that you can easily back-up your favorites.
Due to all my downloading I have to format my computer quite frequently (probably like once a year), I reckon I'm not the only one who has to do that. Evenso, every time I format my computer I have to search for my favorite hubs all over again, while it would be so easy just to have a file backuped with all that information, that could be imported.
I hope you like my idea. Would save a lot of time for (frequent) users
and wouldn't be to hard to implement I think (eventhough I'm not a
hardcore programmer).
If there is another very easy solution to my problem, like copying a
specific file (or part) in the directory structure then please let me
know.
Kind regards,
To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/560573/+subscriptions
References