Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Category revamp #131

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/imodrepositorybridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,18 @@ class QDLLEXPORT IModRepositoryBridge : public QObject
*/
void trackingToggled(QString gameName, int modID, QVariant userData, bool tracked);

/**
* @brief sent when the tracking state of a mod was changed (only sent as a result of
* our request)
* @param modID id of the mod for which the request was made
* @param userData the data that was included in the request
* @param tracked new tracking state
* @note in the python interface use the onTrackingToggled call to register a callback
* for this signal. The signature of your callback must match the signature of this
* signal
*/
void gameInfoAvailable(QString gameName, QVariant userData, QVariant resultData);

/**
* @brief sent when a request to nexus failed
* @param modID id of the mod for which the request was made
Expand Down
3 changes: 2 additions & 1 deletion src/iplugininstaller.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ class IPluginInstaller : public IPlugin
RESULT_CANCELED,
RESULT_MANUALREQUESTED,
RESULT_NOTATTEMPTED,
RESULT_SUCCESSCANCEL
RESULT_SUCCESSCANCEL,
RESULT_CATEGORYREQUESTED
};

public:
Expand Down
Loading