migrate to c++, all layers done except for data access
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#ifndef HANDLER_H
|
||||
#define HANDLER_H
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "dao.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int handle_create(Dao *dao, string title, string description);
|
||||
int handle_list(Dao *dao);
|
||||
int handle_list(Dao *dao, string status);
|
||||
int handle_detail(Dao *dao, unsigned long id);
|
||||
|
||||
#endif // HANDLER_H
|
||||
Reference in New Issue
Block a user