Cmd_Jobs.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • gui/
  • p4api/
  • Cmd_Jobs.h.
  • View
  • Commits
  • Open Download .zip Download (1 KB)
//
// Copyright 1997 Nicholas J. Irias.  All rights reserved.
//
//

// Cmd_Jobs.h   
//

#include "P4Command.h"

class CCmd_Jobs : public CP4Command
{
    // Construction
public:
    CCmd_Jobs(CGuiClient *client=NULL);
    DECLARE_DYNCREATE(CCmd_Jobs)
				    
    BOOL Run(LPCTSTR jobStatus=NULL,BOOL bFastJobs=TRUE,CStringList *viewSpec=NULL,BOOL bIncIntegs=FALSE);

    void SetFilter( BOOL set ) { m_bFilter = set; }
    CObList *GetList() { return &m_List; }	

    CStringArray & GetFieldNames() { return m_FieldNames; }
    CDWordArray & GetFieldCodes() { return m_FieldCodes; }
    // Attributes	
protected:
    CObList m_List;
    BOOL m_bFilter;

    CStringArray m_FieldNames;
    CDWordArray  m_FieldCodes;

    // P4Command overrides
    virtual void OnOutputInfo(char level, LPCTSTR data, LPCTSTR msg);
    virtual void OnOutputStat( StrDict *varList );
};


class CCmd_JobSpec : public CP4Command
{
    // Construction
public:
    CCmd_JobSpec( CGuiClient *client = NULL );
    virtual ~CCmd_JobSpec( ) { if ( m_pSpec ) delete m_pSpec ; }
    DECLARE_DYNCREATE( CCmd_JobSpec )
				    
    BOOL Run(  );

    void GetSpec( CString &spec );

    // Attributes	
protected:
    CString *m_pSpec;

    // CP4Command overrides
    virtual void OnOutputInfo(char level, LPCTSTR data, LPCTSTR msg );
    virtual void PostProcess();
};








# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/gui/p4api/Cmd_Jobs.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/gui/p4api/Cmd_Jobs.h
#1 8562 Matt Attaway These feet never stop running.

Initial commit of the P4Win source code.  To the best of our knowledge this
compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes
as we refine the build process. Please post any build issues to the forums.