Skip to content

Commit a67db9b

Browse files
authored
Merge pull request #131 from ModOrganizer2/qt6-category
WIP: Category revamp
2 parents 7ef18eb + 6b9054b commit a67db9b

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/imodrepositorybridge.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,18 @@ class QDLLEXPORT IModRepositoryBridge : public QObject
187187
*/
188188
void trackingToggled(QString gameName, int modID, QVariant userData, bool tracked);
189189

190+
/**
191+
* @brief sent when the tracking state of a mod was changed (only sent as a result of
192+
* our request)
193+
* @param modID id of the mod for which the request was made
194+
* @param userData the data that was included in the request
195+
* @param tracked new tracking state
196+
* @note in the python interface use the onTrackingToggled call to register a callback
197+
* for this signal. The signature of your callback must match the signature of this
198+
* signal
199+
*/
200+
void gameInfoAvailable(QString gameName, QVariant userData, QVariant resultData);
201+
190202
/**
191203
* @brief sent when a request to nexus failed
192204
* @param modID id of the mod for which the request was made

src/iplugininstaller.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class IPluginInstaller : public IPlugin
4545
RESULT_CANCELED,
4646
RESULT_MANUALREQUESTED,
4747
RESULT_NOTATTEMPTED,
48-
RESULT_SUCCESSCANCEL
48+
RESULT_SUCCESSCANCEL,
49+
RESULT_CATEGORYREQUESTED
4950
};
5051

5152
public:

0 commit comments

Comments
 (0)