コード例 #1
0
            public P4Resource(PerforceChangeList list, string localName, string perforceName, string perforceAction)
            {
                mList           = list;
                mLocalName      = localName;
                mPerforceName   = perforceName;
                mPerforceAction = (ePerforceAction)Enum.Parse(typeof(ePerforceAction), perforceAction, true);

                mStatus = CoreGlobals.getPerforce().getConnection().P4GetFileStatus(mPerforceName);
            }
コード例 #2
0
        public PerforceChangeList GetExistingChangeList(int id)
        {
            PerforceChangeList newChangeList = null;

            if (id != -1)
            {
                newChangeList = new PerforceChangeList(id);
                newChangeList.UpdateChangeListInfo();
            }

            return(newChangeList);
        }
コード例 #3
0
        public PerforceChangeList GetNewChangeList(string description)
        {
            PerforceChangeList newChangeList = null;
            int id = mConnection.CreateChangeList(description);

            if (id != -1)
            {
                newChangeList = new PerforceChangeList(id);
            }

            return(newChangeList);
        }