Ticket #204 (new enhancement)

Opened 8 years ago

Last modified 7 years ago

Add function to get the library version

Reported by: erik johansson <erik@…> Owned by:
Priority: trivial Milestone: Some future release / Patches welcome
Component: telldus-core Version: 2.1.1
Keywords: Cc:
Blocked By: Blocking:
Platform: All Sensitive: no
Verified by Telldus: no

Description

When writing a wrapper for telldus core it might be valuable to be able to get the library version to know if a specific feature is supported or not.

The branch td-version on  git://github.com/erijo/telldus.git contains a basic implementation of a tdVersion() function.

Change History

comment:1 Changed 7 years ago by micke prag <micke.prag@…>

  • Priority changed from major to trivial
  • Milestone set to 2.1.2

Maybe there should be a flag sent to the function for what version you are querying?
tdVersion(TELLSTICK_VERSION_CLIENT) vs tdVersion(TELLSTICK_VERSION_SERVICE)

comment:2 Changed 7 years ago by micke prag <micke.prag@…>

  • Milestone changed from 2.1.2 to Some future release / Patches welcome
Note: See TracTickets for help on using tickets.