Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
resident_panel.h
Go to the documentation of this file.
1// Copyright 2026 The Symbian SDK Authors.
2// Licensed under the Apache License, Version 2.0.
3
4#ifndef SYMBIAN_API_DISPLAY_RESIDENT_PANEL_H_
5#define SYMBIAN_API_DISPLAY_RESIDENT_PANEL_H_
6
7#include <atomic>
8#include <cstdint>
9
10#include "absl/status/status.h"
11
12namespace symbian::api::display {
13
27 std::uint32_t app_uid = 0;
28 std::int32_t property_category = 0;
29 std::uint32_t foreground_key = 0;
30 const char* caption = "Resident service";
31 const char* heading = "SERVICE";
32 const char* state = "RUNNING";
33 const char* back_label = "BACK";
34 const char* stop_label = "STOP";
35 const char* (*heading_provider)() = nullptr;
36};
37
39absl::Status RunResidentPanel(const ResidentPanelOptions& options,
40 std::atomic<bool>& stop_requested);
41
43absl::Status RequestResidentPanelForeground(std::int32_t category,
44 std::uint32_t key);
45
46} // namespace symbian::api::display
47
48#endif // SYMBIAN_API_DISPLAY_RESIDENT_PANEL_H_
Definition display.cc:9
absl::Status RunResidentPanel(const ResidentPanelOptions &options, std::atomic< bool > &stop_requested)
Run a resident panel until STOP or an external stop request.
Definition resident_panel.cc:11
absl::Status RequestResidentPanelForeground(std::int32_t category, std::uint32_t key)
Raise the window group owned by an existing panel instance.
Definition resident_panel.cc:28
Minimal Window Server panel for a manually started resident service.
Definition resident_panel.h:26
const char * state
Definition resident_panel.h:32
const char * back_label
Definition resident_panel.h:33
const char * heading
Definition resident_panel.h:31
std::uint32_t foreground_key
Definition resident_panel.h:29
std::int32_t property_category
Definition resident_panel.h:28
const char * caption
Definition resident_panel.h:30
const char * stop_label
Definition resident_panel.h:34
std::uint32_t app_uid
Definition resident_panel.h:27