joincheck.h #1

  • //
  • guest/
  • benjamin_ma/
  • join_check/
  • joincheck.h
  • View
  • Commits
  • Open Download .zip Download (624 B)
class JoinCheck : public ClientUser
{
    public:

	JoinCheck( ClientApi* api, Error* e );
	~JoinCheck();

	void LoadProtect( StrPtr* user = 0 );
	void LoadBranch( StrPtr* branch = 0 );
	void LoadClient( StrPtr* client = 0 );
	void LoadPath( char* path = 0 );

	void DoJoins();

	MapApi *Join() { return join; }

	int MaxWild( MapApi* view );

	void OutputStat( StrDict *varList );

	void DumpViews();
	void DumpView( MapApi *view );

    private:

	ClientApi* api;
	Error* e;

	char state; // 'p', 'b', or 'c'
		
	MapApi protect;
	MapApi branch;
	MapApi client;
	MapApi* depotPath;
	MapApi* clientPath;
	
	MapApi *join;
};
# Change User Description Committed
#1 8217 benjamin_ma Initial Branch from samwise's works
//guest/sam_stafford/joincheck/joincheck.h
#2 7728 Sam Stafford Add an option for a file path, and another join of
the protect table after the branch map.
#1 7727 Sam Stafford MapApi-based tool for displaying joins of protects, client,
and optionally a branch view.