added: mount points have parameters now
added: to the database: table 'thread' git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@499 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
41
core/thread.h
Executable file
41
core/thread.h
Executable file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* This file is a part of CMSLU -- Content Management System like Unix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2009, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef headerfilecorethread
|
||||
#define headerfilecorethread
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
class Thread
|
||||
{
|
||||
public:
|
||||
|
||||
long id;
|
||||
long dir_id;
|
||||
std::string subject;
|
||||
bool closed;
|
||||
|
||||
|
||||
|
||||
void Clear()
|
||||
{
|
||||
id = dir_id = -1;
|
||||
closed = false;
|
||||
subject.clear();
|
||||
}
|
||||
|
||||
Thread()
|
||||
{
|
||||
Clear();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user