crazyvilla.blogg.se

Idatabase base clas undefined
Idatabase base clas undefined




idatabase base clas undefined
  1. Idatabase base clas undefined password#
  2. Idatabase base clas undefined free#
idatabase base clas undefined

When creating a subclass, each functions (except GetName() and Changed()) must be implemented by the subclass! Subclasses (as described below) or implement your own to map the data type of your choice the one of the base data types using a subclass of ConfigItem. choice (which is a combination of an integer as index and a array with available choices).ĭon't use ConfigItem direktly (however, because of the pure virutal functions the compiler don't let you do so).Instead an empty string for that items will be send). Passwords can only be received from the JSON APIĪnd only in an encrypted way.

Idatabase base clas undefined password#

password (which is a string with a flag given on initialization to define it as password.64bit integers (singed and unsigned - but take care with 64bit integers because of the not-that-good support of them on JavaScript).

idatabase base clas undefined

Types supported by the ConfigContext are: Handling that item on the JSON API side is undefined. If an app whants to create an own config item class, it needs to provide one of the default data types to ConfigContext anyway. Also, because of the internals, ConfigContext mustīe a friend class for the new config item as well (the other classes don't need to, that's only used internally for the ConfigItem base class). But if there is need, an own config item must be derived from ConfigItem. Generally there is no need to create an own config item, because the config library provides config itemsįor the most use cases. This is the base class for each config item. The JavaScript config library are handling all of the communication, so there is no need for an app to worry about that.Ĭlasses ConfigContext class ConfigContext : public UTask, public UJsonApiContext, public UConfigContextApi Now the appliction service and the JavaScript app only need to access the items or changed and save them (especially from the JavaScript side). Add ConfigItem members to your class and initialize them passing the ConfigContext instance (see the description of the ConfigItems classes.

Idatabase base clas undefined free#

  • Create the database table used by the config lib by calling CreateInitTask(databaseObject) and exetuting the returned task (don't forget to free it,.
  • Register the config library to the JSON API framework by passing the created instance to RegisterJsonApi(configContextInstance).
  • The usage of the config library is straight forward and only needs a couple of steps: JS config library documentation for more informations. To access the config optionsįrom within a JavaScript App, the C++ config library communicates with the JavaScript config library using JSON messages. The config library supports Apps to store configuration options in a config database table. Innovaphone SDK - config implementation Config






    Idatabase base clas undefined