- //
- // Copyright 1997 Nicholas J. Irias. All rights reserved.
- //
- //
- // Cmd_Add.h
- //
- // Use to get a spec and then edit it w/ dialog
- //
- #include "P4Command.h"
- class CCmd_Add : public CP4Command
- {
- // Construction
- public:
- CCmd_Add(CGuiClient *client=NULL);
- DECLARE_DYNCREATE(CCmd_Add)
- BOOL Run(int changeNum, CStringList *files, CStringList *files2edit=NULL);
- void MergeOpenInfo(CObList *pOpenList);
- int GetAddedFileCount() const { return m_StrListOut.GetCount(); }
- CObList const *GetList() const { return &m_List; }
- int GetChangeNum() const { return m_ChangeNum; }
- CStringList const & GetStr2Edit() const { return m_Str2Edit; }
- int GetOpenAction() const {return m_OpenAction; }
- void SetOpenAction(int action) { m_OpenAction = action; }
- protected:
- // Attributes
- CObList m_List;
- int m_ChangeNum;
- CStringList m_Str2Edit;
- int m_OpenAction;
- // 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/..... |
8 years ago | |
//guest/perforce_software/p4win/main/gui/p4api/Cmd_Add.h | |||||
#1 | 16169 | perforce_software | Move files to follow new path scheme for branches. | 9 years ago | |
//guest/perforce_software/p4win/gui/p4api/Cmd_Add.h | |||||
#1 | 8562 | Matt Attaway | These feet never stop running. Initial commit of the P4Win source code. To the be...st 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. « |
11 years ago |