Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #include "NativeFeatureIncludes.h"
00009 #if _RAKNET_SUPPORT_LightweightDatabaseClient==1
00010
00011 #ifndef __LIGHTWEIGHT_DATABASE_CLIENT_H
00012 #define __LIGHTWEIGHT_DATABASE_CLIENT_H
00013
00014 #include "Export.h"
00015 #include "PluginInterface2.h"
00016 #include "LightweightDatabaseCommon.h"
00017
00018 class RakPeerInterface;
00019 struct Packet;
00020
00025
00029 class RAK_DLL_EXPORT LightweightDatabaseClient : public PluginInterface2
00030 {
00031 public:
00032
00033
00034 LightweightDatabaseClient();
00035
00036
00037 virtual ~LightweightDatabaseClient();
00038
00052 void QueryTable(const char *tableName, const char *queryPassword, const char **columnNamesSubset, unsigned char numColumnSubset, DatabaseFilter *filter, unsigned char numFilters, unsigned *rowIds, unsigned char numRowIDs, SystemAddress systemAddress, bool broadcast);
00053
00065 void UpdateRow(const char *tableName, const char *updatePassword, RowUpdateMode updateMode, bool hasRowId, unsigned rowId, DatabaseCellUpdate *cellUpdates, unsigned char numCellUpdates, SystemAddress systemAddress, bool broadcast);
00066
00074 void RemoveRow(const char *tableName, const char *removePassword, unsigned rowId, SystemAddress systemAddress, bool broadcast);
00075
00076 protected:
00077 };
00078
00079 #endif
00080
00081 #endif // _RAKNET_SUPPORT_*