コード例 #1
0
ファイル: RoomInfo.cpp プロジェクト: arovetto/sems
void ConferenceRoomParticipant::updateStatus(ConferenceRoomParticipant::ParticipantStatus 
					     new_status, 
					     const string& reason,
					     struct timeval& now) {
  status = new_status;
  last_reason = reason;
  updateAccess(now);
}
コード例 #2
0
ファイル: OnlineSession.cpp プロジェクト: baddymaster/se
void OnlineSession::updateWithInsecureAppend(string filename, byte*& file, double& diskTime){
	this->filename = filename;
	fileID fid(filename);
	this->fid = fid;

	byte lowerFid[LOWERFID_SIZE];
	this->fid.getLowerID(lowerFid);

	PRSubset prSubset(SIZE_MIN, filename);
	this->prSubset = prSubset;

	updateAccess(filename, diskTime);
}