summaryrefslogtreecommitdiff
path: root/hardinfo2/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/devices.c')
-rw-r--r--hardinfo2/devices.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/hardinfo2/devices.c b/hardinfo2/devices.c
index 0e76a50a..26dd3c0f 100644
--- a/hardinfo2/devices.c
+++ b/hardinfo2/devices.c
@@ -201,12 +201,19 @@ gchar *get_pci_device_description(gchar *pci_id)
return NULL;
}
+gchar *get_memory_total(void)
+{
+ /* FIXME */
+ return g_strdup("0.0");
+}
+
ShellModuleMethod *hi_exported_methods(void)
{
static ShellModuleMethod m[] = {
{"getProcessorCount", get_processor_count},
{"getProcessorName", get_processor_name},
{"getProcessorFrequency", get_processor_frequency},
+ {"getMemoryTotal", get_memory_total},
{"getStorageDevices", get_storage_devices},
{"getPrinters", get_printers},
{"getInputDevices", get_input_devices},