Moo
Moo Class Referenceabstract

#include <moo.h>

Public Types

enum  { kMooMaxStringLength = 80, kMooMaxFriends = 1024, kMooMaxProjects = 1024 }
 

Public Member Functions

virtual MooUsergetUser ()=0
 
virtual MooProjectsgetProjects ()=0
 
virtual MooFriendsgetFriends ()=0
 
virtual const mooChargetMooRootPath ()=0
 
virtual mooBool setMooRootPath (mooChar *path)=0
 
virtual void config (const mooChar *server, int port)=0
 

Detailed Description


Moo Main class for Moo access

Moo mainly serves to provide access to the basic classes

Member Function Documentation

◆ getFriends()

virtual MooFriends* Moo::getFriends ( )
pure virtual

Get access to friends. MooFriends will provide access to MooFriend objects getFriends () is guaranteed to return a valid (yet possibly empty) MooFriends object.

◆ getMooRootPath()

virtual const mooChar* Moo::getMooRootPath ( )
pure virtual

Moo files: it is highly recommended to not manipulate Moo files yourself, use send/get methods provided in the modules instead. e.g. MooUser::getPictureFile (), MooClip::getMediaFile () etc

◆ getProjects()

virtual MooProjects* Moo::getProjects ( )
pure virtual

Get access to projects. MooProjects will provide access to MooProject objects getProjects () is guaranteed to return a valid (yet possibly empty) MooProjects object.

◆ getUser()

virtual MooUser* Moo::getUser ( )
pure virtual

Get the current application user to sign in, log in, and get and set information getUser () is guaranteed to return a valid (yet possibly unconnected) MooUser object.

◆ setMooRootPath()

virtual mooBool Moo::setMooRootPath ( mooChar path)
pure virtual

you can set the root path yourself; by default, this is "Moo" inside the users document folder. But you are highly discouraged to do so, because this will confuse other Moo applications. It will also invalidate all files in the current Moo folder should there be one. also you will have to restart your application, as the newly set path is ignored until Moo is recreated.


The documentation for this class was generated from the following file: