P4Connection.h #1

  • //
  • guest/
  • anis_sg/
  • perforce_software/
  • p4connect/
  • src/
  • P4Bridge/
  • p4bridge/
  • P4Connection.h
  • View
  • Commits
  • Open Download .zip Download (944 B)
#pragma once

class ConnectionManager;
class P4BridgeClient;
class P4BridgeServer;

#ifdef _DEBUG_MEMORY
class P4Connection : public ClientApi, public KeepAlive, public DoublyLinkedListItem, p4base
#else
class P4Connection : public ClientApi, public KeepAlive, public DoublyLinkedListItem
#endif
{
private:
	P4Connection(void);

	// KeepAlive status
	int	isAlive;
	
public:
	P4Connection(ConnectionManager* conMgr, P4BridgeServer* pServer, int cmdId);
	virtual ~P4Connection(void);
	
	// has the client been initialized
	int clientNeedsInit;

	void Disconnect( void );

	// KeepAlive functionality
	virtual int	IsAlive();
	void IsAlive(int val) {isAlive = val;}

	void cancel_command();

	P4BridgeClient* ui;

	void SetCharset( CharSetApi::CharSet c, CharSetApi::CharSet filec );

	P4UINT64 ReleaseTime;

#ifdef _DEBUG_MEMORY
	    // Simple type identification for registering objects
	virtual int Type(void) {return tP4Connection;}
#endif
};

# Change User Description Committed
#1 12954 anis_sg Populate -o //guest/perforce_software/p4connect/...
//guest/anis_sg/perforce_software/p4connect/....
//guest/perforce_software/p4connect/src/P4Bridge/p4bridge/P4Connection.h
#2 12135 Norman Morse Integrate dev branch changes into main.

This code is the basiis of the 2.7 BETA release which provides Unity 5 compatibility
#1 10940 Norman Morse Inital Workshop release of P4Connect.
Released under BSD-2 license