mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-01 02:15:54 -04:00
33 lines
759 B
C++
Executable File
33 lines
759 B
C++
Executable File
// ======================================================================
|
|
//
|
|
// TaskLoadClock.h
|
|
// copyright (c) 2001 Sony Online Entertainment
|
|
//
|
|
// ======================================================================
|
|
|
|
#ifndef INCLUDED_TaskLoadClock_H
|
|
#define INCLUDED_TaskLoadClock_H
|
|
|
|
// ======================================================================
|
|
|
|
#include "sharedDatabaseInterface/DbTaskRequest.h"
|
|
|
|
// ======================================================================
|
|
|
|
/**
|
|
* Sets the clock based on the last timestamp saved in the database.
|
|
*/
|
|
class TaskLoadClock : public DB::TaskRequest
|
|
{
|
|
public:
|
|
TaskLoadClock();
|
|
|
|
virtual bool process(DB::Session *session);
|
|
virtual void onComplete();
|
|
|
|
private:
|
|
int m_timestamp;
|
|
};
|
|
|
|
#endif
|