//------------------------------------------------------------------------ // Copyright 2006 Kyle Turner. // // License is hereby granted to use this software and distribute it // freely, as long as this copyright notice is retained and modifications // are clearly marked. // // ALL WARRANTIES ARE HEREBY DISCLAIMED. // // $Id: //guest/kyle_turner/perforce/resolve/p4api.h#1 $ //------------------------------------------------------------------------ #ifndef P4API_H #define P4API_H #include "clientapi.h" #include "enviro.h" #include "i18napi.h" #include "msgclient.h" #include "runcmd.h" #include "strops.h" #include "strtable.h" //------------------------------------------------------------------------ // Class: Session // // Rename ClientApi object so it's from the perspective of the application // and not the server. //------------------------------------------------------------------------ class P4Session : public ClientApi { public: P4Session (); virtual ~P4Session (); bool ConnectToServer (); void DisconnectFromServer (); void Run (const char *cmd, int argc = 0, char **argv = 0, ClientUser *callbacks = 0); }; #endif
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5435 | Kyle Turner |
Initial version of "p4 resolve" extensions using C++ P4API. Extensions allow users to give more weight to the external merge program specified by the environment variable $P4MERGE. See README.txt for more information. |