Skip to content

Commit

Permalink
Fix cases of people not updating the documentation when refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
irydacea committed Feb 20, 2016
1 parent 1e167aa commit c04bb94
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/addon/client.hpp
Expand Up @@ -39,7 +39,7 @@ class addons_client : private boost::noncopyable
/**
* Constructor.
*
* @param disp Display object on which to display a status dialog.
* @param v Target for UI rendering for the progress dialog.
* @param address Add-ons server host address (i.e. localhost:15999).
*/
addons_client(CVideo& v, const std::string& address);
Expand Down
2 changes: 1 addition & 1 deletion src/addon/manager_ui.cpp
Expand Up @@ -1226,7 +1226,7 @@ bool manage_addons(CVideo& v)
}
}

bool ad_hoc_addon_fetch_session(CVideo & v, const std::vector<std::string> & addon_ids)
bool ad_hoc_addon_fetch_session(CVideo& v, const std::vector<std::string>& addon_ids)
{
std::string remote_address = preferences::campaign_server();

Expand Down
6 changes: 3 additions & 3 deletions src/addon/manager_ui.hpp
Expand Up @@ -25,7 +25,7 @@ class CVideo;
/**
* Shows the add-ons server connection dialog, for access to the various management front-ends.
*
* @param disp Display object on which to render UI elements.
* @param v Target for UI rendering.
*
* @return @a true when one or more add-ons have been successfully installed or
* removed, thus requiring a local WML cache refresh. @a false otherwise.
Expand All @@ -36,11 +36,11 @@ bool manage_addons(CVideo& v);
* Conducts an ad-hoc add-ons server connection to download an add-on with a particular id and all
* it's dependencies. Launches gui dialogs when issues arise.
*
* @param disp Display object on which to render UI elements.
* @param v Target for UI rendering.
* @param addon_ids The ids of the target add-on.
*
* @return @a true when we successfully installed the target (possibly the user chose to ignore failures)
*/
bool ad_hoc_addon_fetch_session(CVideo & v, const std::vector<std::string> & addon_ids);
bool ad_hoc_addon_fetch_session(CVideo& v, const std::vector<std::string>& addon_ids);

#endif
5 changes: 3 additions & 2 deletions src/wml_exception.hpp
Expand Up @@ -130,9 +130,10 @@ struct twml_exception

/**
* Shows the error in a dialog.
* @param disp The display object to show the message on.
*
* @param video Target for rendering the UI message.
*/
void show(CVideo &video);
void show(CVideo& video);
private:
IMPLEMENT_LUA_JAILBREAK_EXCEPTION(twml_exception)
};
Expand Down

0 comments on commit c04bb94

Please sign in to comment.