5 #ifndef __mooprojects__ 6 #define __mooprojects__ 98 kProjectsChanged = 3000,
108 kProjectTrackRemoved,
115 kMooProjectsErrorNotAmember,
116 kMooProjectsErrorProjectNotFound
virtual void setCallback(mooProjectsCallback callback, void *reference)=0
the reference parameter passed to setCallback is passed to the callback for your own use...
virtual mooInt openProject(mooUInt id)=0
open a project. The callback will be notified whenever changes to a successfully opened project are b...
virtual void closeProject()=0
close the currently opened project
virtual void syncProject()=0
sync with cloud
Container and management of MooProject
Definition: mooprojects.h:31
sync completed
Definition: mooprojects.h:106
void(* mooProjectsCallback)(MooProjects *projects, mooInt operation, mooInt result, mooInt id, void *reference)
Definition: mooprojects.h:23
virtual mooUInt createProject(const mooChar *projectName)=0
create a project. The callback will be notified whenever changes to a successfully opened project are...
virtual mooUInt getActiveProjectID()=0
get the currently opened project. if none is open, 0 is returned
error codes passed to callback
Definition: mooprojects.h:114
with project member id, result is message ID, see MooProject getMessage ()
Definition: mooprojects.h:111
A Moo Project
Definition: mooproject.h:18
virtual MooProject ** getProjects(mooInt &count)=0
obtain a list of all projects that the currently logged in user is part of.
virtual MooProject * getProject(mooUInt id)=0
get a specific project by id