#ifndef CLIENTKITAPI_H #define CLIENTKITAPI_H class MainWindow; #include "p4api.h" #include "systemapi.h" #include "guiapi.h" #include <QObject> #include <QMap> #include <QObjectList> #include <QStringList> #include <QFileDialog> class ClientKitApi : public QObject { Q_OBJECT Q_PROPERTY(QObject* p4 READ p4Api) Q_PROPERTY(QObject* system READ systemApi) Q_PROPERTY(QObject* gui READ guiApi) public: explicit ClientKitApi(QObject *parent = 0, MainWindow* mw = 0); QObject* p4Api() const; QObject* systemApi() const; QObject* guiApi() const; Q_INVOKABLE QString getVersion() {return "v0.2";} Q_INVOKABLE void setWS(int w, int h); signals: public slots: private: P4Api* m_P4Api; SystemApi* m_SystemApi; GuiApi* m_GuiApi; MainWindow* m_MainWindow; }; #endif // CLIENTKITAPI_H
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 8102 | David George | clean up | ||
#4 | 8101 | David George |
beginning of _massive_ re-factoring your current build settings will fail create a new project from newly added .pro file (but change its p4api paths to match your old one) look for updated README as soon as Dave agrees that changes are _indeed_ for the best (Changes by Jaimen) |
||
#3 | 8100 | David George | Added deleteP4, so that mainwindow's deleteClientKitApi is invocable with JavaScript. | ||
#2 | 8086 | David George | A slew of changes initially done on the internal Perforce server, including async and native file/folder launching. | ||
#1 | 8083 | David George |
Merging //guest/james_creasy/ClientKit/... to //guest/david_george/ClientKit/... This merge also includes changes grabbed from the internal Perforce depot. |
||
//guest/james_creasy/ClientKit/ClientKitApi.h | |||||
#1 | 8060 | james_creasy | Client Kit for Perforce |