17 lines
326 B
C++
17 lines
326 B
C++
#pragma once
|
|
|
|
class DatabaseThread
|
|
{
|
|
public:
|
|
// Startup the database threads
|
|
static void Startup();
|
|
|
|
// Add to the queue and notify threads of activity.
|
|
static void AddRequest(Packet * pkt);
|
|
|
|
// Main thread procedure
|
|
static uint32 THREADCALL ThreadProc(void * lpParam);
|
|
|
|
// Shutdown threads.
|
|
static void Shutdown();
|
|
}; |