#ifndef APPS_THREAD_H
#define APPS_THREAD_H
#include <cppcms/application.h>
#include <string>
#include <apps/master.h>
#include <data/thread.h>
namespace apps {
class thread_shared : public master
{
public:
bool prepare(data::thread_shared &c,int id);
};
class flat_thread : public thread_shared {
public:
void prepare(std::string id);
};
class tree_thread : public thread_shared {
public:
void prepare(std::string id);
};
typedef data::tree_t tree_t;
class reply : public thread_shared {
public:
void prepare(std::string id);
};
}
#endif