summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer.h
Commit message (Collapse)AuthorAgeFilesLines
* Port to GtkApplication API'sEduardo Lima (Etrunko)2016-02-181-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of this patch consists in code being shuffled around to fit the expected flow while using the new APIs. I tried my best to make this patch the less intrusive as possible. Main changes are: - Updated build requirements * glib version 2.38 * gtk+ version 3.10 * gio - VirtViewerApp is now a subclass of GtkApplication. Some mainloop calls were replaced: * gtk_main() -> g_application_run() * gtk_quit() -> g_application_quit() - Unified command line option handling. The logic has moved from the main functions and split in common options, and specific ones for each application. With this, the main functions were highly simplified, and now basically responsible for instantiating the App object and running the main loop. - All Window objects must be associated with the Application. With this, there is no need to emit our own 'window-added'/'window- removed' signals, as those will be emited by GtkApplication whenever gtk_application_add_window() and gtk_application_remove_window() are called. Also, 'window-removed' was not being used anywhere. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
* Try to share more GOption code between r-v and v-vMarc-André Lureau2013-08-201-3/+1
|
* Remove the "container" logic used by legacy browser pluginMarc-André Lureau2013-05-161-2/+1
|
* Update copyright headersDaniel P. Berrange2012-02-061-1/+1
|
* Convert TABS to spaces & reindent everywhereDaniel P. Berrange2012-02-061-11/+19
|
* Support for virDomainOpenGraphics APIDaniel P. Berrange2012-01-311-0/+1
| | | | | | Add a new flag --attach, which instructs virt-viewer to attach to the target display using virDomainOpenGraphics, instead of initiating a VNC/SPICE connection directly.
* Inherit from VirtViewerApp for VirtViewerMarc-André Lureau2011-07-221-34/+25
| | | | | | Make it a real GObject. The parts specific to virt should go in virt-viewer.c
* Turn VirtViewer into a VirtViewerApp objectMarc-André Lureau2011-07-221-12/+43
|
* Remove duplicated typedefsDaniel P. Berrange2011-07-121-2/+0
|
* Add support for --fullscreen optionMarc-André Lureau2011-07-111-0/+1
|
* Remove circular dependancy between VirtViewerDisplay and VirtViewerDaniel P. Berrange2011-07-111-0/+4
| | | | | | | Add many signals to VirtViewerDisplay which are emitted when various events occur. This lets us remove all the code in the VirtViewerDisplay subclasses which call back into VirtViewer methods. Instead VirtViewer can simply connect signals to the display
* Introduce standard naming convention to files & methodsDaniel P. Berrange2011-07-011-0/+38
All source files must be named virt-viewer-XXXX All methods named virt_viewer_XXX