diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2011-02-16 14:34:19 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2011-02-16 14:34:19 +0100 |
commit | e7d2eb43f744f340830af131f2b2307b56d5a823 (patch) | |
tree | 973640f125f9680a4b065d8e873faa717de1a4dc /libnm-glib/nm-client.h | |
parent | 11a68133c42da72b7fbd02c0422d700370b269b5 (diff) | |
download | NetworkManager-e7d2eb43f744f340830af131f2b2307b56d5a823.tar.gz |
libnm-glib: add code to get "Version" property
Diffstat (limited to 'libnm-glib/nm-client.h')
-rw-r--r-- | libnm-glib/nm-client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-glib/nm-client.h b/libnm-glib/nm-client.h index 1885f8faba..4cf1644aec 100644 --- a/libnm-glib/nm-client.h +++ b/libnm-glib/nm-client.h @@ -41,6 +41,7 @@ G_BEGIN_DECLS #define NM_IS_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_CLIENT)) #define NM_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_CLIENT, NMClientClass)) +#define NM_CLIENT_VERSION "version" #define NM_CLIENT_STATE "state" #define NM_CLIENT_MANAGER_RUNNING "manager-running" #define NM_CLIENT_NETWORKING_ENABLED "networking-enabled" @@ -150,6 +151,7 @@ gboolean nm_client_wimax_get_enabled (NMClient *client); void nm_client_wimax_set_enabled (NMClient *client, gboolean enabled); gboolean nm_client_wimax_hardware_get_enabled (NMClient *client); +const char *nm_client_get_version (NMClient *client); NMState nm_client_get_state (NMClient *client); gboolean nm_client_get_manager_running (NMClient *client); const GPtrArray *nm_client_get_active_connections (NMClient *client); |