Commit 0cc16cd4 authored by Ahmed Baïzid's avatar Ahmed Baïzid Committed by Andrew Miloradovsky
parent e603cfc6
......@@ -34,8 +34,6 @@
/**
* MrpApplication:
* @parent:
* @priv:
*
* Object representing the application using libmrproject. You need to
* create an #MrpApplication object to create projects and use
......@@ -43,12 +41,6 @@
*/
typedef struct _MrpApplication MrpApplication;
typedef struct _MrpApplicationClass MrpApplicationClass;
/**
* MrpApplicationPriv:
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
*/
typedef struct _MrpApplicationPriv MrpApplicationPriv;
struct _MrpApplication {
......
......@@ -35,12 +35,6 @@
#define MRP_ASSIGNMENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MRP_TYPE_ASSIGNMENT, MrpAssignmentClass))
typedef struct _MrpAssignmentClass MrpAssignmentClass;
/**
* MrpAssignmentPriv:
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
*/
typedef struct _MrpAssignmentPriv MrpAssignmentPriv;
struct _MrpAssignment {
......
......@@ -46,12 +46,6 @@
*/
typedef struct _MrpCalendar MrpCalendar;
typedef struct _MrpCalendarClass MrpCalendarClass;
/**
* MrpCalendarPriv:
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
*/
typedef struct _MrpCalendarPriv MrpCalendarPriv;
/**
* MrpInterval:
......@@ -63,11 +57,30 @@ typedef struct _MrpInterval MrpInterval;
#include <libplanner/mrp-day.h>
/* Used for saving calendar data. */
/**
* MrpDayWithIntervals:
* @day: a day type.
* @intervals: a list of time intervals.
*
* Used for saving calendar data.
*
* Associate a @day type and time @intervals.
* A day type is composed of working periods.
*/
typedef struct {
MrpDay *day;
GList *intervals;
} MrpDayWithIntervals;
/**
* MrpDateWithDay:
* @date: a date.
* @day: a day type.
*
* Associate a @date and a @day type.
* Certain dates can have a peculiar day type.
*/
typedef struct {
mrptime date;
MrpDay *day;
......
......@@ -34,12 +34,6 @@
#define MRP_GROUP_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MRP_TYPE_GROUP, MrpGroupClass))
typedef struct _MrpGroupClass MrpGroupClass;
/**
* MrpGroupPriv:
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
*/
typedef struct _MrpGroupPriv MrpGroupPriv;
struct _MrpGroup {
......
......@@ -40,12 +40,6 @@
*/
typedef struct _MrpObject MrpObject;
typedef struct _MrpObjectClass MrpObjectClass;
/**
* MrpObjectPriv:
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
*/
typedef struct _MrpObjectPriv MrpObjectPriv;
struct _MrpObject {
......
......@@ -43,12 +43,6 @@
* Object representing a project.
*/
typedef struct _MrpProject MrpProject;
/**
* MrpProjectPriv:
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
*/
typedef struct _MrpProjectPriv MrpProjectPriv;
#include <libplanner/mrp-resource.h>
......
......@@ -34,18 +34,10 @@
/**
* MrpRelation:
* @parent:
* @priv:
*
* Object representing a predecessor relation between two tasks.
*/
typedef struct _MrpRelation MrpRelation;
/**
* MrpRelationPriv:
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
*/
typedef struct _MrpRelationPriv MrpRelationPriv;
#include <libplanner/mrp-task.h>
......
......@@ -36,12 +36,6 @@
#define MRP_RESOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MRP_TYPE_RESOURCE, MrpResourceClass))
typedef struct _MrpResourceClass MrpResourceClass;
/**
* MrpResourcePriv:
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
*/
typedef struct _MrpResourcePriv MrpResourcePriv;
#include <libplanner/mrp-calendar.h>
......
......@@ -40,25 +40,25 @@
#define MRP_TYPE_RELATION (mrp_relation_get_type ())
typedef struct _MrpTaskClass MrpTaskClass;
typedef struct _MrpTaskPriv MrpTaskPriv;
/**
* MrpTaskPriv:
* MrpUnitsInterval:
* @is_start: is start.
* @start: start time.
* @end: end time.
* @units: worked units in the interval.
* @units_full: expected worked units in the interval
* all resources that are working in the
* interval in the right percentage.
* @res_n: number of expected resources working
* at the task in the interval.
*
* A private struct for internal use only. The definition of this
* structure is not publically available.
* [2006-04-11T12:42:44Z]
* NOTE: moved from libplanner/mrp-task-manager.c to use
* the structure in the src/planner-gantt-row.c
* new fields are: units, units_full, res_n.
*/
typedef struct _MrpTaskPriv MrpTaskPriv;
/*
NOTE: moved from libplanner/mrp-task-manager.c to use
the structure in the src/planner-gantt-row.c
new fields are:
units . worked units in the interval
units_full . expected worked units in the interval
all resources that are working in the
interval in the right percentage
res_n . number of expected resources working
at the task in the interval
*/
typedef struct {
gboolean is_start;
mrptime start;
......
......@@ -126,6 +126,12 @@ mrptime mrp_time_from_tm (struct tm *tm);
* New API here.
*/
/**
* MrpTime:
*
* Broken-down time.
* A kind of standard C <type>struct tm</type>.
*/
typedef struct _MrpTime MrpTime;
......
......@@ -123,8 +123,8 @@ typedef struct _MrpGroup MrpGroup;
typedef struct _MrpAssignment MrpAssignment;
/**
* MrpConstraint:
* @type:
* @time:
* @type: a constraint type.
* @time: a time.
*
* A struct representing a scheduling constraint on a task.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment