1 post / 0 new
Last post
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
Utilities - StoreHandler

Saving and reading from stores is simple enough, but often leads to duplicated code and developers spending time thinking about stores when they've got more important things to think about. StoreHandler takes some of the work away, making it easy to save and load data to stores.

MAHandle myData = maCreatePlaceholder();
if(StoreHandler::readFromStore("UserStore", myData))
{
  //Data has loaded correctly.
}
StoreHandler::saveToStore("ScreenData", screens);

AttachmentSize
StoreHandler.zip1014 bytes