Showing the changes to interface/src/scripting/AccountScriptingInterface.h (1 of 7 files). Show all
Unified · Split
| @@ -16,17 +16,11 @@ · 15 unmodified lines | |||
| 16 | 16 | ||
| 17 | class AccountScriptingInterface : public QObject { | 17 | class AccountScriptingInterface : public QObject { |
| 18 | Q_OBJECT | 18 | Q_OBJECT |
| 19 | AccountScriptingInterface(); | ||
| 20 | 19 | ||
| 21 | signals: | ||
| 22 | void balanceChanged(float newBalance); | ||
| 23 | |||
| 24 | public slots: | 20 | public slots: |
| 25 | static AccountScriptingInterface* getInstance(); | 21 | static AccountScriptingInterface* getInstance(); |
| 26 | float getBalance(); | ||
| 27 | QString getUsername(); | 22 | QString getUsername(); |
| 28 | bool isLoggedIn(); | 23 | bool isLoggedIn(); |
| 29 | void updateBalance(); | ||
| 30 | }; | 24 | }; |
| 31 | 25 | ||
| 32 | #endif // hifi_AccountScriptingInterface_h | 26 | #endif // hifi_AccountScriptingInterface_h |