#include <string> //#include <p4/clientuser.h> //#include <p4/strdict.h> //#include <p4/strbuf.h> namespace p4node { class BasicUser : public ClientUser { public: BasicUser(); virtual ~BasicUser(); void OutputInfo(char level, const char *data); void OutputError(const char *err); void OutputStat(StrDict *dict); void InputData(StrBuf *strbuf, Error *e); char *GetInfo(); char *GetErr(); void SetInputData(char *iD); private: std::string eresult; std::string result; char *inputData; }; } // namespace p4node
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 16512 | photex |
p4nodeapi build and implementation updates - CMake - Node 5.0.0 - p4 api 15.2 |
||
#1 | 16495 | photex | branched p4nodeapi | ||
//guest/matt_attaway/p4nodeapi/src/cpp/basicuser.h | |||||
#1 | 8517 | Matt Attaway |
Add a node.js language binding for Perforce This is fairly simple extension for node to make it easier to run Perforce commands from your node.js application. We've used this a fair amount internally, but it hasn't seen the same level of love as the other Perforce APIs. This API is not supported by Perforce support, but you are welcome to post on the forums if you have questions. |