platform/shared/db/DBAttrManager.h in rhodes-1.5.5 vs platform/shared/db/DBAttrManager.h in rhodes-2.0.0.beta1
- old
+ new
@@ -10,18 +10,24 @@
class CDBAttrManager
{
common::CMutex m_mxSrcAttrs;
HashtablePtr< int, Hashtable<String,int>* > m_mapSrcAttrs;
+ HashtablePtr< int, Hashtable<String,int>* > m_mapBlobAttrs;
+
+ static void loadAttrs(CDBAdapter& db, HashtablePtr< int, Hashtable<String,int>* >& mapAttrs, String strDBAttr);
public:
void add( int nSrcID, const char* szAttr );
void remove( int nSrcID, const char* szAttr );
void save(CDBAdapter& db);
void load(CDBAdapter& db);
void reset(CDBAdapter& db);
unsigned long getAttrsBySrc(int nSrcID);
+ boolean isBlobAttr(int nSrcID, const char* szAttr);
+ boolean isOverwriteBlobFromServer(int nSrcID, const String& strAttr);
+ void loadBlobAttrs(CDBAdapter& db);
};
}
}