b44f0554bd
This patch adjusts the various users of the 'Child' API to the changes on the account of the new non-blocking parent interface. It also removes the use of the no-longer-available 'Connection::KEEP_OPEN' feature. With the adjustment, we took the opportunity to redesign several components to fit the non-blocking execution model much better, in particular the demo applications. Issue #2120
47 lines
866 B
C++
47 lines
866 B
C++
/*
|
|
* \brief Child entry widget interface
|
|
* \author Christian Prochaska
|
|
* \date 2008-04-06
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2008-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 CHILD_ENTRY_H
|
|
#define CHILD_ENTRY_H
|
|
|
|
#include <launchpad/launchpad.h>
|
|
|
|
#include <QWidget>
|
|
|
|
#include "ui_child_entry.h"
|
|
|
|
class Child_entry : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
private:
|
|
|
|
Ui::Child_entryClass ui;
|
|
|
|
Launchpad &_launchpad;
|
|
Launchpad_child &_launchpad_child;
|
|
|
|
private slots:
|
|
|
|
void on_exitButton_clicked();
|
|
|
|
public:
|
|
|
|
Child_entry(Launchpad_child::Name const &name, int quota_kb,
|
|
int max_quota_kb, Launchpad &launchpad,
|
|
Launchpad_child &launchpad_child,
|
|
QWidget *parent = 0);
|
|
};
|
|
|
|
#endif /* CHILD_ENTRY_H */
|