|  |  |  | Anjuta Developers Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#include <libanjuta/interfaces/ianjuta-project-backend.h> #define IANJUTA_PROJECT_BACKEND_ERROR struct IAnjutaProjectBackendIface; GQuark ianjuta_project_backend_error_quark (void); IAnjutaProject * ianjuta_project_backend_new_project (IAnjutaProjectBackend *obj,GFile *file,GError **err); gint ianjuta_project_backend_probe (IAnjutaProjectBackend *obj,GFile *directory,GError **err);
#define IANJUTA_PROJECT_BACKEND_ERROR ianjuta_project_backend_error_quark()
struct IAnjutaProjectBackendIface {
	GTypeInterface g_iface;
	
	IAnjutaProject* (*new_project) (IAnjutaProjectBackend *obj, GFile *file, GError **err);
	gint (*probe) (IAnjutaProjectBackend *obj, GFile *directory, GError **err);
};
IAnjutaProject * ianjuta_project_backend_new_project (IAnjutaProjectBackend *obj,GFile *file,GError **err);
Create a new Anjuta project.
| 
 | Self | 
| 
 | Project file or directory. [transfer none] | 
| 
 | Error propagation and reporting | 
| Returns : | An object implementing the IAnjutaProject interface. [transfer full] | 
gint ianjuta_project_backend_probe (IAnjutaProjectBackend *obj,GFile *directory,GError **err);
Check if the directory contains a project supported by this backend.
| 
 | Self | 
| 
 | Error propagation and reporting | 
| Returns : | 0 if the project is invalid and > 0 if the project is valid. |