Added serverDatabase library

This commit is contained in:
Anonymous
2014-01-17 08:02:53 -07:00
parent 5783bdd0e2
commit ebad6e01af
206 changed files with 14638 additions and 0 deletions
@@ -0,0 +1,42 @@
// ======================================================================
//
// SaveTimestampQuery.h
// copyright (c) 2001 Sony Online Entertainment
//
// ======================================================================
#ifndef INCLUDED_SaveTimestampQuery_H
#define INCLUDED_SaveTimestampQuery_H
// ======================================================================
#include "sharedDatabaseInterface/Bindable.h"
#include "sharedDatabaseInterface/DbQuery.h"
// ======================================================================
namespace DBQuery
{
class SaveTimestampQuery : public DB::Query
{
public:
SaveTimestampQuery(int _timestamp);
virtual void getSQL(std::string &sql);
virtual bool bindParameters();
virtual bool bindColumns();
private:
DB::BindableLong timestamp;
private:
SaveTimestampQuery(const SaveTimestampQuery &); // disable
SaveTimestampQuery & operator=(const SaveTimestampQuery &); //disable
};
}
// ======================================================================
#endif