/* * Copyright 1999 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ // Cmd_Login.h // #include "P4Command.h" class CCmd_Login : public CP4Command { // Construction public: CCmd_Login(CGuiClient *client=NULL); DECLARE_DYNCREATE(CCmd_Login) BOOL Run(LPCTSTR password); // test a password string for invalid characters, // quote empty string, and return true if valid // static bool PrepPassword( CString &pwd ); protected: CString m_Password; // CP4Command overrides virtual void OnOutputInfo(char level, LPCTSTR data, LPCTSTR msg); virtual BOOL HandledCmdSpecificError(LPCTSTR errBuf, LPCTSTR errMsg); virtual void OnPrompt( const StrPtr &msg, StrBuf &rsp, int noEcho, Error *e ); virtual BOOL PWDRequired() const { return FALSE; } };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9617 | Ben_Key |
Populate //guest/Ben_Key/p4win/trunk/... from //guest/perforce_software/p4win/.... |
||
//guest/perforce_software/p4win/gui/p4api/Cmd_Login.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. |