Cmd_SendSpec.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • gui/
  • p4api/
  • Cmd_SendSpec.h.
  • View
  • Commits
  • Open Download .zip Download (1 KB)
/*
 * Copyright 1999 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */


// Cmd_SendSpec.h  
//
// Use to send a spec to the server
//

#include "P4Command.h"

	

class CCmd_SendSpec : public CP4Command
{
    // Construction
public:
    CCmd_SendSpec(CGuiClient *client=NULL);
    DECLARE_DYNCREATE(CCmd_SendSpec)

    BOOL Run( int specType, LPCTSTR specText, BOOL submit, BOOL force=FALSE, BOOL reopen=FALSE, int unchangedFlag=0, BOOL uFlag=FALSE );
    LPCTSTR GetNewJobName() const { return m_NewJobName; }
    int GetNewChangeNum() const { return m_NewChangeNum; }
    LPCTSTR GetSpecText() const { return m_SpecText; }

protected:
    // For changes and jobs, a new name may be assigned by server
    int m_NewChangeNum;
    CString m_NewJobName;

    // Attributes
    BOOL m_Submit;
    BOOL m_ForceEdit;
	BOOL m_Reopen;
	int m_UnchangedFlag;
    int m_SpecType;
    CString m_SpecText;
    bool m_SpecTextSent;
		    
    // CP4Command overrides
    virtual void OnOutputInfo(char level, LPCTSTR data, LPCTSTR msg);
    virtual BOOL HandledCmdSpecificError(LPCTSTR errBuf, LPCTSTR errMsg);
    virtual void OnInputData(StrBuf *strBuf, Error *e);
};









# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/gui/p4api/Cmd_SendSpec.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/gui/p4api/Cmd_SendSpec.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.