client library has no documentation or even header comments

Bug #1278784 reported by Mike McCracken
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-download-manager
Fix Released
High
Manuel de la Peña
ubuntu-download-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

While working with the header library I had to look at the code for UDM occasionally to figure out how to use the client.
Even though I didn't mind reading the source and have already looked at it for code reviews, there were still some things that tripped me up.

Obviously the library needs API documentation.

Some particular questions that should be answered:

- Where do I start (A: get a u::dm::Manager)
- There are several overloaded createDownload() funcs in Manager. which should I use and when?

- Do I need to do anything else to start a download after I created it?
(A: yes, you need to call start() on the download. No, this wasn't obvious.)

Related branches

Changed in ubuntu-download-manager:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-download-manager - 0.3+14.04.20140321-0ubuntu1

---------------
ubuntu-download-manager (0.3+14.04.20140321-0ubuntu1) trusty; urgency=low

  [ Manuel de la Peña ]
  * Improved the documentation of the project. The registerMetaType
    function was removed because it is not needed and not used in any
    part of the code. const have been added in those methods that simply
    are used as getters. The descturtors that can be trusted to the
    compiler have been removed to reduce clutter in the code. (LP:
    #1278784)

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Diego Sarmentero ]
  * Add QML Plugin to manage downloads from applications without C++
    backend needed. .
 -- Ubuntu daily release <email address hidden> Fri, 21 Mar 2014 05:25:34 +0000

Changed in ubuntu-download-manager (Ubuntu):
status: New → Fix Released
Changed in ubuntu-download-manager:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.