add missing CC_DLL for localstorage

This commit is contained in:
joshuastray 2014-10-17 11:52:59 +08:00
parent ec4d83b646
commit eba3642aef
1 changed files with 6 additions and 5 deletions

View File

@ -31,20 +31,21 @@ THE SOFTWARE.
#define __JSB_LOCALSTORAGE_H
#include <string>
#include "CCPlatformMacros.h"
/** Initializes the database. If path is null, it will create an in-memory DB */
void localStorageInit( const std::string& fullpath = "");
void CC_DLL localStorageInit( const std::string& fullpath = "");
/** Frees the allocated resources */
void localStorageFree();
void CC_DLL localStorageFree();
/** sets an item in the LS */
void localStorageSetItem( const std::string& key, const std::string& value);
void CC_DLL localStorageSetItem( const std::string& key, const std::string& value);
/** gets an item from the LS */
std::string localStorageGetItem( const std::string& key );
std::string CC_DLL localStorageGetItem( const std::string& key );
/** removes an item from the LS */
void localStorageRemoveItem( const std::string& key );
void CC_DLL localStorageRemoveItem( const std::string& key );
#endif // __JSB_LOCALSTORAGE_H