And horribly break everything. Need to rewrite a bunch of stuff dealing with inheritance.
This commit is contained in:
@@ -1,43 +1,6 @@
|
||||
/* vim: set sw=3 ts=3 sts=3 expandtab: */
|
||||
#include "ecdb.h"
|
||||
|
||||
Ecdb_Project *
|
||||
ecdb_project_new(void)
|
||||
{
|
||||
Ecdb_Project *proj;
|
||||
|
||||
proj = calloc(1, sizeof(Ecdb_Project));
|
||||
if (!proj)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
if (!ecdb_project_init(proj))
|
||||
{
|
||||
FREE(proj);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return proj;
|
||||
}
|
||||
|
||||
int
|
||||
ecdb_project_init(Ecdb_Project *proj)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
ecdb_project_destroy(Ecdb_Project *proj)
|
||||
{
|
||||
printf("Destroying base project\n");
|
||||
}
|
||||
|
||||
void
|
||||
ecdb_project_type_set(Ecdb_Project *proj, unsigned int t)
|
||||
{
|
||||
proj->type = t;
|
||||
}
|
||||
|
||||
int
|
||||
ecdb_shutdown(void *data, int type, void *event)
|
||||
{
|
||||
|
Reference in New Issue
Block a user