diff options
author | Pavel Grunt <pgrunt@redhat.com> | 2014-09-26 15:55:52 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-10-10 12:57:08 +0200 |
commit | 7a47a4da08acf17efd95f5afc2aeb220ee31443c (patch) | |
tree | 508d7a98b49d5c561015280cd0f1dc20e91132b0 /src/virt-viewer-vm-connection.h | |
parent | 334169749ef482281e5da11c5cd79d4f196c4780 (diff) | |
download | virt-viewer-7a47a4da08acf17efd95f5afc2aeb220ee31443c.tar.gz virt-viewer-7a47a4da08acf17efd95f5afc2aeb220ee31443c.tar.xz virt-viewer-7a47a4da08acf17efd95f5afc2aeb220ee31443c.zip |
Show VM chooser dialog when oVirt VM name is missing
When a user tries to connect to ovirt without specifying
VM name (remote-viewer ovirt://ovirt.example.com) or with
wrong VM name a list of available virtual machines is shown,
and the user may pick a machine he wants to connect to.
Diffstat (limited to 'src/virt-viewer-vm-connection.h')
-rw-r--r-- | src/virt-viewer-vm-connection.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/virt-viewer-vm-connection.h b/src/virt-viewer-vm-connection.h new file mode 100644 index 0000000..d198c89 --- /dev/null +++ b/src/virt-viewer-vm-connection.h @@ -0,0 +1,36 @@ +/* + * Virt Viewer: A virtual machine console viewer + * + * Copyright (C) 2014 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef VIRT_VIEWER_VM_CONNECTION_H +#define VIRT_VIEWER_VM_CONNECTION_H + +#include <glib.h> +#include <gtk/gtk.h> + +gchar* virt_viewer_vm_connection_choose_name_dialog(GtkTreeModel *model, GError **error); + +#endif +/* + * Local variables: + * c-indent-level: 4 + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ |