Add revision control callback to dect cli
git-svn-id: https://dedected.org/svn/trunk@97 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624
This commit is contained in:
parent
5cf60f823d
commit
78bcdd4e79
|
@ -18,6 +18,8 @@
|
||||||
#include <kis_panel_windows.h>
|
#include <kis_panel_windows.h>
|
||||||
#include <kis_panel_widgets.h>
|
#include <kis_panel_widgets.h>
|
||||||
|
|
||||||
|
#include <version.h>
|
||||||
|
|
||||||
#define KCLI_DECT_CHANNEL_FIELDS "rfpi,rssi,channel,first_seen,last_seen,count_seen"
|
#define KCLI_DECT_CHANNEL_FIELDS "rfpi,rssi,channel,first_seen,last_seen,count_seen"
|
||||||
|
|
||||||
#define SORT_BY_RFPI 0
|
#define SORT_BY_RFPI 0
|
||||||
|
@ -493,5 +495,14 @@ int panel_plugin_init(GlobalRegistry *globalreg, KisPanelPluginData *pdata) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void kis_revision_info(panel_plugin_revision *prev) {
|
||||||
|
if (prev->version_api_revision >= 1) {
|
||||||
|
prev->version_api_revision = 1;
|
||||||
|
prev->major = string(VERSION_MAJOR);
|
||||||
|
prev->minor = string(VERSION_MINOR);
|
||||||
|
prev->tiny = string(VERSION_TINY);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue