/* * \brief Client-side nitpicker view interface * \author Norman Feske * \date 2006-08-23 */ /* * Copyright (C) 2006-2013 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU General Public License version 2. */ #ifndef _INCLUDE__NITPICKER_VIEW__CLIENT_H_ #define _INCLUDE__NITPICKER_VIEW__CLIENT_H_ #include #include namespace Nitpicker { struct View_client : public Genode::Rpc_client { explicit View_client(View_capability view) : Genode::Rpc_client(view) { } int viewport(int x, int y, int w, int h, int buf_x, int buf_y, bool redraw) { return call(x, y, w, h, buf_x, buf_y, redraw); } int stack(View_capability neighbor, bool behind, bool redraw) { return call(neighbor, behind, redraw); } int title(Title const &title) { return call(title); } }; } #endif /* _INCLUDE__NITPICKER_VIEW__CLIENT_H_ */