blob: 601ee060d2ee199ec00d9793952620090241efd4 [file] [log] [blame] [edit]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.virtualconsole;
using fuchsia.hardware.pty;
/// Manages virtual console sessions.
@discoverable
protocol SessionManager {
/// Create a new virtual console session.
CreateSession(resource struct {
session server_end:fuchsia.hardware.pty.Device;
});
/// Returns true if virtcon currently has a display that it can display something on.
HasPrimaryConnected() -> (struct {
connected bool;
});
};