qmlFrontend/hwengine.h
branchqmlfrontend
changeset 10444 47a6231f1fc1
parent 10442 c58db813240b
child 10448 4cb727e029fa
--- a/qmlFrontend/hwengine.h	Mon Oct 20 22:55:12 2014 +0400
+++ b/qmlFrontend/hwengine.h	Sat Oct 25 00:31:10 2014 +0400
@@ -22,11 +22,18 @@
     Q_INVOKABLE void runQuickGame();
     Q_INVOKABLE QString currentSeed();
     Q_INVOKABLE void getTeamsList();
-    
+
+    Q_INVOKABLE void tryAddTeam(const QString & teamName);
+    Q_INVOKABLE void tryRemoveTeam(const QString & teamName);
+
 signals:
     void previewImageChanged();
     void localTeamAdded(const QString & teamName, int aiLevel);
-    
+    void localTeamRemoved(const QString & teamName);
+
+    void playingTeamAdded(const QString & teamName, int aiLevel, bool isLocal);
+    void playingTeamRemoved(const QString & teamName);
+
 public slots:
 
 private: